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

Question:
What is the best practice for structuring metric names in Prometheus?

  1. Use hyphens to separate words
  2. Use underscores to separate words
  3. Use camelCase to concatenate words
  4. Use no separators between words
Answer:
B - The best practice for structuring metric names in Prometheus is to use underscores to separate words