Open rajualap opened 7 months ago
What does aws_vpn_tunnel_state_average
look like in the /metrics
endpoint? What does it look like in the Prometheus graph and table views?
It seems that you are using the default delay_seconds
and set_timestamp
. This means the metrics are not visible to an instant query in Prometheus "now", as your rules are using – see the documentation for details.
Try min_over_time(aws_vpn_tunnel_state_average[15m]) < 1
and changes(aws_vpn_tunnel_state_average[30m]) > 1
to look back further.
Hi ,
I have created a 'cloudwatch-exporter.yml' file to fetch metrics from CloudWatch for RDS, Lambda, VPN-tunnel, ALB, CLB, and NLB. We are successfully obtaining metrics for RDS and Lambda, and on Prometheus, we can see RDS and Lambda metrics. However, when there is an issue with RDS and Lambda, alert rules go into a firing state and generate alerts. Unfortunately, we are not receiving alerts for VPN-tunnel and ALB, CLB, & NLB. Can you please help with identifying the reason? Below, you'll find the 'cloudwatch-exporter.yml' file and alert rules.
Please assist in resolving this issue
cloudwatch-exporter.yml file here :-
####################################
Prometheus VPNtunnel alerts file here 👎
Cloudwatch Metrics here