PCA (Prometheus Certified Associate) sample exam question with answer 173
Question:
What is the purpose of the le label in a histogram metric?
- To specify the upper bounds of the histogram buckets
- To specify the lower bounds of the histogram buckets
- To specify the count of observations in each bucket
- To specify the sum of observations in each bucket
Answer:
A - In a histogram metric, the le label is used to define the upper bounds of the histogram buckets. For example, if the le label is set to 10 for a given bucket, that bucket will contain all observations that are less than or equal to 10