Understanding your Prometheus server output - Amazon Managed Service for Prometheus

Understanding your Prometheus server output

Amazon Managed Service for Prometheus has service quotas for the amount of data that a workspace can receive from Prometheus servers. To find the amount of data that your Prometheus server is sending to Amazon Managed Service for Prometheus, you can run the following queries on your Prometheus server. If you find that your Prometheus output is exceeding a Amazon Managed Service for Prometheus limit, you can request an increase of the corresponding service quota. For more information, see Amazon Managed Service for Prometheus service quotas.

Type of data Query to use Default Amazon Managed Service for Prometheus quota

Current active series

prometheus_tsdb_head_series

1,000,000

Current ingestion rate

rate(prometheus_tsdb_head_samples_appended_total[5m])

70,000 samples/second

Most-to-least list of active series per metric name

sort_desc(count by(__name__) ({__name__!=""}))

200,000

Number of labels per metric series

group by(mylabelname) ({__name__!=""})

70