Skip to content

Commit

Permalink
Add allowedLabels to all metrics instead of just _labels metric
Browse files Browse the repository at this point in the history
KSM allows providing a list of labels that should be added to the prometheus metric for the resource.
These labels currently are only added to the `kube_<resource>_labels` metric. However, there are several
use cases where having these labels on all of the metrics would be helpful. This change adds the allowed
labels to all metrics of the resource instead of just the `_labels` metric.
  • Loading branch information
ronaknnathani committed Jun 19, 2024
1 parent 086af0c commit 56fedf2
Show file tree
Hide file tree
Showing 3 changed files with 218 additions and 164 deletions.
Loading

0 comments on commit 56fedf2

Please sign in to comment.