Slackbot
06/26/2023, 6:05 AMSumanth Balaji
06/26/2023, 6:09 AMSELECT
count() as value,
toStartOfInterval(timestamp, toIntervalMinute(1)) AS interval,
serviceName
FROM signoz_traces.distributed_signoz_error_index_v2
WHERE timestamp BETWEEN {{.start_datetime}} AND {{.end_datetime}}
GROUP BY serviceName, interval;
-- available variables:
-- {{.start_datetime}}
-- {{.end_datetime}}
-- required column alias:
-- value
-- interval
The example error alert is as follows:
Signoz-Alerts
APP 12:06 PM
[FIRING:1] General Error Catch for (serviceName="Dev-L1Enricher", severity="error")
Alert: General Error Catch - error
Summary: The rule threshold is set to 2, and the observed metric value is 4
Description: This alert is fired when the error count (current value: 4) crosses the threshold (2)
Details:
• alertname: General Error Catch
• ruleId: 1
• ruleSource: <http://ec2-3-250-218-3.eu-west-1.compute.amazonaws.com:3301/alerts/edit?ruleId=1>
Show more
Signoz-Alerts
APP 12:16 PM
[RESOLVED] General Error Catch for (serviceName="Dev-L1Enricher", severity="error")
Alert: General Error Catch - error
Summary: The rule threshold is set to 2, and the observed metric value is 4
Description: This alert is fired when the error count (current value: 4) crosses the threshold (2)
Details:
• alertname: General Error Catch
• ruleId: 1
• ruleSource: <http://ec2-3-250-218-3.eu-west-1.compute.amazonaws.com:3301/alerts/edit?ruleId=1>
• serviceName: Dev-L1Enricher
• severity: error
Show less
I am unable to see what the error is. Also the message says the error was resolved without any action from my part.Pranay
Amol Umbark
06/26/2023, 8:06 AMAmol Umbark
06/26/2023, 8:09 AM