google / google/cadvisor

Inconsistency in description of perf metric naming between docs and Prometheus export

Open
#3,742 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
19.4k
Forks
2.5k
Avg merge
9h 7m
Merged PRs (30d)
1

Description

In https://github.com/google/cadvisor/blob/5adb1c3bb38b4c5d50b31f39faf3214a44ae479b/docs/runtime_options.md#perf-events, it says:

> Event name should be a human readable string that will become a metric name.

As far as I can see, when exported to Prometheus all these metrics have the name `container_perf_events_total`, and the string becomes the value of a label `event`.

Maybe the context refers to a different kind of metric name?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.