Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
helm: Add tetragon_pod label to metrics in ServiceMonitor
Prometheus Operator by default adds "pod" label, representing the metrics exporter pod, to all scraped metrics. However, Tetragon exposes events metrics with "pod" label, which represents the process that generated events, not Tetragon pod. This label is not overridden if using the default ServiceMonitor (with "honorLabels: true") - that's good. However, it still can be useful to know which Tetragon pod exported the metric. Let's add "tetragon_pod" label to metrics scraped via default ServiceMonitor. Signed-off-by: Anna Kapuscinska <[email protected]>
- Loading branch information