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?

  1. Using snake_case for metric names
  2. Using camelCase for metric names
  3. Using kebab-case for metric names
  4. 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