Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POI Healthcheck alert #54

Open
sriquen opened this issue Jun 9, 2021 · 0 comments
Open

POI Healthcheck alert #54

sriquen opened this issue Jun 9, 2021 · 0 comments

Comments

@sriquen
Copy link
Contributor

sriquen commented Jun 9, 2021

{"schemaId":"azureMonitorCommonAlertSchema","data":{"essentials":{"alertId":"/subscriptions/03a6d591-1096-4413-9cf4-ae9bb9a8f348/providers/Microsoft.AlertsManagement/alerts/957d39b0-1186-9942-7b73-39df3f48c6fd","alertRule":"POI Healthcheck alert","severity":"Sev0","signalType":"Log","monitorCondition":"Fired","monitoringService":"Application Insights","alertTargetIDs":["/subscriptions/03a6d591-1096-4413-9cf4-ae9bb9a8f348/resourcegroups/openhackkkg4t772rg/providers/microsoft.insights/components/openhackkkg4t772monitoring"],"configurationItems":[],"originAlertId":"fffc930c-5eec-46f9-b361-c26b7146f910","firedDateTime":"2021-06-09T09:25:28.9612414Z","description":"","essentialsVersion":"1.0","alertContextVersion":"1.1"},"alertContext":{"SearchQuery":"availabilityResults\n| where true\n| where name == "POI Healthcheck" and true\n| extend percentage = toint(success) * 100\n| where percentage < 100\n","SearchIntervalStartTimeUtc":"2021-06-09T09:19:55Z","SearchIntervalEndtimeUtc":"2021-06-09T09:24:55Z","ResultCount":2,"LinkToSearchResults":"https://portal.azure.com#@933f8ea1-2b97-4f9b-9798-eed767bc5a5b/blade/Microsoft_Azure_Monitoring_Logs/LogsBlade/source/Alerts.EmailLinks/scope/%7B%22resources%22%3A%5B%7B%22resourceId%22%3A%22%2Fsubscriptions%2F03a6d591-1096-4413-9cf4-ae9bb9a8f348%2FresourceGroups%2Fopenhackkkg4t772rg%2Fproviders%2FMicrosoft.Insights%2Fcomponents%2Fopenhackkkg4t772monitoring%22%7D%5D%7D/q/eJxNjLsOwjAQBHu%2BYpUKqEKf9FCB%2BIPLZYUtjEG%2BMw%2BJjydCIqIc7czKXWKSIaboryOtJrfFG4%2FAQnipnCHLheh7NIf9DltK8qCBem4gefypfDonurEos8tpKuDXmH1pVZVmK6yxadv59c%2FsvsMH/prettify/1/timespan/2021-06-09T09%3a19%3a55.0000000Z%2f2021-06-09T09%3a24%3a55.0000000Z","LinkToFilteredSearchResultsUI":"https://portal.azure.com#@933f8ea1-2b97-4f9b-9798-eed767bc5a5b/blade/Microsoft_Azure_Monitoring_Logs/LogsBlade/source/Alerts.EmailLinks/scope/%7B%22resources%22%3A%5B%7B%22resourceId%22%3A%22%2Fsubscriptions%2F03a6d591-1096-4413-9cf4-ae9bb9a8f348%2FresourceGroups%2Fopenhackkkg4t772rg%2Fproviders%2FMicrosoft.Insights%2Fcomponents%2Fopenhackkkg4t772monitoring%22%7D%5D%7D/q/eJxNjLsOwjAQBHu%2BYpUKqEKf9FCB%2BIPLZYUtjEG%2BMw%2BJjydCIqIc7czKXWKSIaboryOtJrfFG4%2FAQnipnCHLheh7NIf9DltK8qCBem4gefypfDonurEos8tpKuDXmH1pVZVmK6yxadv59c%2FsvsMH/prettify/1/timespan/2021-06-09T09%3a19%3a55.0000000Z%2f2021-06-09T09%3a24%3a55.0000000Z","LinkToSearchResultsAPI":"https://api.applicationinsights.io/v1/apps/d18bd189-afc7-4fe0-b053-fd67ecc60f4e/query?query=availabilityResults%0A%7C%20where%20true%0A%7C%20where%20name%20%3D%3D%20%22POI%20Healthcheck%22%20and%20true%0A%7C%20extend%20percentage%20%3D%20toint%28success%29%20%2A%20100%0A%7C%20where%20percentage%20%3C%20100%0A&timespan=2021-06-09T09%3a19%3a55.0000000Z%2f2021-06-09T09%3a24%3a55.0000000Z","LinkToFilteredSearchResultsAPI":"https://api.applicationinsights.io/v1/apps/d18bd189-afc7-4fe0-b053-fd67ecc60f4e/query?query=availabilityResults%0A%7C%20where%20true%0A%7C%20where%20name%20%3D%3D%20%22POI%20Healthcheck%22%20and%20true%0A%7C%20extend%20percentage%20%3D%20toint%28success%29%20%2A%20100%0A%7C%20where%20percentage%20%3C%20100%0A&timespan=2021-06-09T09%3a19%3a55.0000000Z%2f2021-06-09T09%3a24%3a55.0000000Z","SearchIntervalDurationMin":"5","AlertType":"Number of results","IncludeSearchResults":true,"SearchIntervalInMinutes":"5","SearchResults":{"tables":[{"name":"PrimaryResult","columns":[{"name":"timestamp","type":"datetime"},{"name":"id","type":"string"},{"name":"name","type":"string"},{"name":"location","type":"string"},{"name":"success","type":"string"},{"name":"message","type":"string"},{"name":"size","type":"real"},{"name":"duration","type":"real"},{"name":"performanceBucket","type":"string"},{"name":"itemType","type":"string"},{"name":"customDimensions","type":"dynamic"},{"name":"customMeasurements","type":"dynamic"},{"name":"operation_Name","type":"string"},{"name":"operation_Id","type":"string"},{"name":"operation_ParentId","type":"string"},{"name":"operation_SyntheticSource","type":"string"},{"name":"session_Id","type":"string"},{"name":"user_Id","type":"string"},{"name":"user_AuthenticatedId","type":"string"},{"name":"user_AccountId","type":"string"},{"name":"application_Version","type":"string"},{"name":"client_Type","type":"string"},{"name":"client_Model","type":"string"},{"name":"client_OS","type":"string"},{"name":"client_IP","type":"string"},{"name":"client_City","type":"string"},{"name":"client_StateOrProvince","type":"string"},{"name":"client_CountryOrRegion","type":"string"},{"name":"client_Browser","type":"string"},{"name":"cloud_RoleName","type":"string"},{"name":"cloud_RoleInstance","type":"string"},{"name":"appId","type":"string"},{"name":"appName","type":"string"},{"name":"iKey","type":"string"},{"name":"sdkVersion","type":"string"},{"name":"itemId","type":"string"},{"name":"itemCount","type":"int"},{"name":"percentage","type":"long"}],"rows":[["2021-06-09T09:21:04.822771Z","379b6520213e4e72b7e0a7174dc572d7","POI Healthcheck","UK West","0","'403 - Site Disabled' does not match the expected status '200 - OK'.",null,73,"","availabilityResult","{"FullTestResultAvailable":"true","WebtestArmResourceName":"poi healthcheck-openhackkkg4t772monitoring","SyntheticMonitorId":"default_poi healthcheck-openhackkkg4t772monitoring_emea-se-sto-edge","WebtestLocationId":"emea-se-sto-edge","SourceId":"sid://d18bd189-afc7-4fe0-b053-fd67ecc60f4e.visualstudio.com/applications/openhackkkg4t772monitoring/features/poi healthcheck-openhackkkg4t772monitoring/locations/emea-se-sto-edge"}",null,"","379b6520213e4e72b7e0a7174dc572d7","379b6520213e4e72b7e0a7174dc572d7","","","","","","","PC","","","0.0.0.0","Cardiff","Cardiff","United Kingdom","","","","d18bd189-afc7-4fe0-b053-fd67ecc60f4e","openhackkkg4t772monitoring","a822fbb9-418b-4eec-8b16-7b653d2aa7bf","","060adf3b-c904-11eb-a884-bb2114541f59",1,0],["2021-06-09T09:21:06.7406764Z","c071a5753d6140de941ddfba99d8549c","POI Healthcheck","Brazil South","0","'403 - Site Disabled' does not match the expected status '200 - OK'.",null,792,"","availabilityResult","{"FullTestResultAvailable":"true","WebtestArmResourceName":"poi healthcheck-openhackkkg4t772monitoring","SyntheticMonitorId":"default_poi healthcheck-openhackkkg4t772monitoring_latam-br-gru-edge","WebtestLocationId":"latam-br-gru-edge","SourceId":"sid://d18bd189-afc7-4fe0-b053-fd67ecc60f4e.visualstudio.com/applications/openhackkkg4t772monitoring/features/poi healthcheck-openhackkkg4t772monitoring/locations/latam-br-gru-edge"}",null,"","c071a5753d6140de941ddfba99d8549c","c071a5753d6140de941ddfba99d8549c","","","","","","","PC","","","0.0.0.0","Campinas","Sao Paulo","Brazil","","","","d18bd189-afc7-4fe0-b053-fd67ecc60f4e","openhackkkg4t772monitoring","a822fbb9-418b-4eec-8b16-7b653d2aa7bf","","1315f3b4-c904-11eb-9267-ef6dd3d3a4a5",1,0]]}],"statistics":{"query":{"executionTime":0.0311163,"resourceUsage":{"cache":{"memory":{"hits":142,"misses":0,"total":142},"disk":{"hits":0,"misses":0,"total":0},"shards":{"hot":{"hitbytes":0,"missbytes":0,"retrievebytes":0},"cold":{"hitbytes":0,"missbytes":0,"retrievebytes":0},"bypassbytes":0}},"cpu":{"user":"00:00:00.0156250","kernel":"00:00:00.0156250","totalCpu":"00:00:00.0312500"},"memory":{"peakPerNode":1048768}},"inputDatasetStatistics":{"extents":{"total":138,"scanned":2,"scannedMinDatetime":"2021-06-09T09:21:35.6051363Z","scannedMaxDatetime":"2021-06-09T09:23:40.7227826Z"},"rows":{"total":57017131,"scanned":1860},"rowstores":{"scannedRows":0,"scannedValuesSize":0},"shards":{"queriesGeneric":0,"queriesSpecialized":0}},"datasetStatistics":[{"tableRowCount":2,"tableSize":1739}]}},"dataSources":[{"resourceId":"/subscriptions/03a6d591-1096-4413-9cf4-ae9bb9a8f348/resourcegroups/openhackkkg4t772rg/providers/microsoft.insights/components/openhackkkg4t772monitoring","region":"northeurope","tables":["availabilityResults"]}]},"Threshold":0,"Operator":"Greater Than","ApplicationId":"d18bd189-afc7-4fe0-b053-fd67ecc60f4e","IncludedSearchResults":"True"}}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant