PCA (Prometheus Certified Associate) sample exam question with answer 173

Question:
What is the purpose of the le label in a histogram metric?

  1. To specify the upper bounds of the histogram buckets
  2. To specify the lower bounds of the histogram buckets
  3. To specify the count of observations in each bucket
  4. 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