Question 7 of 10Pro Only

What are the different metric types in Prometheus, and when would you use each one? Provide examples of each type.

Sample answer preview

Prometheus supports four core metric types, each designed for different use cases. Choosing the right type ensures accurate measurements and efficient querying. A counter is a cumulative metric that only increases over time or resets to zero on restart.

countergaugehistogramsummaryratehistogram_quantile

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more DevOps Engineer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime