Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support collecting pod labels #423

Open
mtparet opened this issue Nov 20, 2024 · 1 comment
Open

Support collecting pod labels #423

mtparet opened this issue Nov 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mtparet
Copy link

mtparet commented Nov 20, 2024

Is this a new feature, an improvement, or a change to existing functionality?

New Feature

Please provide a clear description of the problem this feature solves

We only can collect DGCM metrics containing pod name / container name / namespace name, it is not possible to collect any labels.

Feature Description

Hello,

We dig into dgcm exporter code base but there are no capability to collect pod labels and add these into metrics.

Do you have any plans supporting this ?

Best,

Describe your ideal solution

Just adding an option to collect the labels from the pods and perhaps also specify which label like in kube state metrics https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-state-metrics/values.yaml#L342

Additional context

No response

@etiennecoutaud
Copy link

Happy to contribute on this if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants