PCA (Prometheus Certified Associate) sample exam question with answer 596
Question:
Which of the following is a recommended best practice for defining metric names in Prometheus?
- Use short, cryptic names to save space
- Use descriptive names that are easy to understand
- Use names that include special characters like underscores and hyphens
- Use names that are identical to the names of the functions
Answer:
B - is the correct answer. Metric names should be descriptive and easy to understand, as this makes it easier for users to interpret and analyze the metrics. Short, cryptic names should be avoided because they can be confusing and difficult to understand