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

headerLabels does not exist for metrics.prometheus #1292

Open
2 tasks done
tusharraichand opened this issue Jan 3, 2025 · 1 comment
Open
2 tasks done

headerLabels does not exist for metrics.prometheus #1292

tusharraichand opened this issue Jan 3, 2025 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed kind/enhancement New feature or request

Comments

@tusharraichand
Copy link

tusharraichand commented Jan 3, 2025

Welcome!

  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?

According to this documentation traefik accepts below

metrics:
  prometheus:
    headerLabels:
      label: headerKey

but I couldn't find it in helm charts.

@mloiseleur mloiseleur added kind/enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers and removed status/0-needs-triage labels Jan 6, 2025
@mloiseleur
Copy link
Contributor

mloiseleur commented Jan 6, 2025

That's right, it's currently missing in this Chart. Thanks for this report.
Feel free to open a PR if you know to implement it.

As a workaround, you can use the additionalArguments to set it directly with CLI. Something like this in values:

additionalArguments: 
  - "--metrics.prometheus.headerlabels.label=headerKey"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants