cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to trigger alert for the status of SQS message count every on hour?

fadilck
Participant

Hi, I have a requirement to trigger an alert on AWS SQS message count every one hour. We already has integrated the AWS.

I have created a metric event to get the SQS count. But I need to trigger alert for every 1 hour to get the live count. Please let me know, how to configure this. Currently if one alert is triggered, if it is open, it will not trigger another alert.

 

2 REPLIES 2

GosiaMurawska
Community Team
Community Team

Hi @fadilck, did you manage to solve this one? It would be great if you share it with the Community 🙂

Peter_Youssef
Champion

Hi @fadilck 

Since you've already integrated AWS and created a metric event to track the SQS message count, let's ensure it's set up correctly for monitoring.

  • Step 1: Go to Metrics in Dynatrace and ensure you have selected the correct metric for SQS message count (Ex: aws.sqs.MessageCount).
  • Step 2: Create a metric event by selecting the metric, and configure it to capture the message count at the granularity you need (for example, every 1 hour).

Configuring Metric Threshold:

  • You'll need to define the threshold for triggering the alert.
  • This could be based on the number of messages in the queue over the last hour or another condition specific to your environment.
  • Under the metric event, configure the threshold condition (e.g., number of messages > X in the last 1 hour).

Hoping it helps.
BR,

Peter

Featured Posts