BillingS3MetricNotCorrect#
This alert is used to be notified when S3 metrics used for billing are not correct (e.g. not nul nor positive)
These are S3 bucket usage metrics calculated in the cloud zones and reported in the infra zones thanks to the federation.
Troubleshooting hints#
- Check the metric
s3_bucket_sizein Grafana Infra in datasourcethanos-consumption. It should be positive or nul. - As usual, check the alert expression
- the s3usage-exporter is coded in a way that if it cannot retrieve some metrics from the Cloud Provider, it will render
-1as the value. In this case, check why the exporter fails to retrieve the metrics from the Cloud Provider (check the logs of the exporter...). - See BillingS3MetricAbsent for more troubleshooting hints or solution.