Constantly shifting data sources like NewRelic have no Uniquely Identifiable attributes.
example NRQL
select average(runtime) from myMetric since 1 day ago TIMESERIES 5 minute
has result data like:
{ "results": [ { "average": 0.2327708216880936 } ], "beginTimeSeconds": 1509491911, "endTimeSeconds": 1509492151, "inspectedCount": 3578 }
metric config in fox:
"metrics": {"MYTAB:MYTHING": { "description": "MyMetrics average Response Time (All) - 5min/24hrs", "tab": "MYTAB", "dataSource": "NewRelicInsights", "dataSourceQueries": [ "select average(runtime) from myMetric since 1 day ago TIMESERIES 5 minute" ], "detection": "EmaBasedDetection.isPointOutsideEnvelopeStrategy", "detectionParams": { "emaInterval": 5, "envelopKoeff": 0.33, "ignoreHours": [ "23:50", "00:10" ] }, "updateInterval": 5000, "style": { "width": "50%" } }
update interval of 5 seconds as configured here resulted in a notification every 5 seconds.
I am assuming that due to there being no identifiable unique attributes in the new relic response, the message triggers every 5 seconds as it could not determine that it has already sent it before.
beginTimeSeconds/endTimeSeconds constantly shift depending on exactly when the NRQL is executed on new relic servers thus can never be the same.
Constantly shifting data sources like NewRelic have no Uniquely Identifiable attributes.
example NRQL
has result data like:
{ "results": [ { "average": 0.2327708216880936 } ], "beginTimeSeconds": 1509491911, "endTimeSeconds": 1509492151, "inspectedCount": 3578 }metric config in fox:
"metrics": {"MYTAB:MYTHING": { "description": "MyMetrics average Response Time (All) - 5min/24hrs", "tab": "MYTAB", "dataSource": "NewRelicInsights", "dataSourceQueries": [ "select average(runtime) from myMetric since 1 day ago TIMESERIES 5 minute" ], "detection": "EmaBasedDetection.isPointOutsideEnvelopeStrategy", "detectionParams": { "emaInterval": 5, "envelopKoeff": 0.33, "ignoreHours": [ "23:50", "00:10" ] }, "updateInterval": 5000, "style": { "width": "50%" } }update interval of 5 seconds as configured here resulted in a notification every 5 seconds.
I am assuming that due to there being no identifiable unique attributes in the new relic response, the message triggers every 5 seconds as it could not determine that it has already sent it before.
beginTimeSeconds/endTimeSeconds constantly shift depending on exactly when the NRQL is executed on new relic servers thus can never be the same.