New Relic Alert on CosmosDb Collection

AZ_Musuluri Deepika 1 Reputation point
2022-08-08T09:07:38.587+00:00

{
"id": "b5cf3d77-a299-47b5-8a94-ceddcba45fcf",
"orderId": "XXXXX",
"versionId": "6",
"eventName": "ORDERED_UNIT_SHIPPED",
"status": "SUCCESS",
"_rid": "xxxxxxxxxxxxx==",
"_self": "xxxxxxxxxxx",
"_etag": "xxxxxxxxxxxxxxxxxx",
"_attachments": "xxxxxx/",
"_ts": xxxxxxxxxx
}

Above is the JSON sample on which I want to create an alert

The alert has to be triggered with the following condition

select count(*) from c where c.status!= SUCCESS and c.Eventname ="ORDERED_UNIT_SHIPPED"

reached a threshold limit.

please let me know whether it is possible or not. if YES please tell me the procedure of it.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,662 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Maxim Sergeev 6,586 Reputation points Microsoft Employee
    2022-08-09T01:13:19.09+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.