Commit 4852e5dc authored by Vibhuti Sharma [Microsoft]'s avatar Vibhuti Sharma [Microsoft]
Browse files

updating query

parent 6d1d6b0b
......@@ -69,7 +69,7 @@ log-alerts = {
time-window = 5,
action-group-name = ["DevActionGroup"],
# Since it is alert based on number of results, the query must end with "| count"
query = "requests\n| where cloud_RoleName == \"storage\"\n| where name == \"GET /api/storage/v2/swagger-ui.html\"\n| where duration > 0\n| count",
query = "requests\n| where cloud_RoleName == \"storage\"\n| where name == \"PUT RecordApi/createOrUpdateRecords\"\n| where duration > 30000\n| count",
# Number of results > 1 => alert is triggered.
trigger-threshold = 0,
trigger-operator = "GreaterThan",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment