I have this data coming in every minute to monitor application performance: { "events": [
{ "appId": "mock-app",
"eventType": "WorkflowRequestFailedCount",
"failureType": "wf.execution.error",
"metricType": "COUNTER",
"requestType": "WORKFLOW",
"throughput": 15,
"workflowId": "create"
},
{ "appId": "mock-app",
"eventType": "WorkflowRequestProcessedCount",
"metricType": "COUNTER",
"requestType": "WORKFLOW",
"throughput": 0
},
{ "appId": "mock-app",
"eventType": "WorkflowRequestReceivedCount",
"metricType": "COUNTER",
"requestType": "WORKFLOW",
"throughput": 20,
"workflowId": "create"
}
]
} I need a query (to set up an alert) that identifies when throughput is GREATER than 0 for throughput nested with eventType = WorkflowRequestFailedCount. I can't figure out how to isolate the throughput count between different eventType items when they are both nested within the same events object as shown above. For the JSON shown above, the correct query should trigger an alert because the throughput for WorkflowRequestFailedCount is 15 (greater than 0). Appreciate the help.
... View more