PCA (Prometheus Certified Associate) sample exam question with answer 68
Question:
Which of the following is NOT a recommended way to handle metric naming when instrumenting an application for Prometheus monitoring?
- Using snake_case for metric names
- Using camelCase for metric names
- Using kebab-case for metric names
- Using abbreviations for metric names
Answer:
D - When instrumenting an application for Prometheus monitoring, it is recommended to use snake_case, kebab-case or camelCase for metric names.
Some metrics are using PascalCase, but in general it should be avoided.
Additionally, metric names should be descriptive and avoid the use of abbreviations that may not be immediately clear to other users