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

kube-prometheus-stack Can we have redirect set for /metrics endpoint #5269

Open
PRYeswanthReddy opened this issue Feb 4, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@PRYeswanthReddy
Copy link

Is your feature request related to a problem ?

i have a root url grafana.mynet.com and when i hit the url it iwll got to /login page and ask the user to login. and when i do hit this endpoint grafan.mynet.com/metrics its showing data in browser.

can we set the redirect when we hit this "grafan.mynet.com/metrics" it should go to "grafan.mynet.com/login"

is there any option in helm chart where we can set these attributes?

Describe the solution you'd like.

whenever i hit grafan.mynet.com/metrics it should go to grafan.mynet.com/login

Describe alternatives you've considered.

NA

Additional context.

No response

@PRYeswanthReddy PRYeswanthReddy added the enhancement New feature or request label Feb 4, 2025
@dlidstrom
Copy link

Here’s the documentation: https://grafana.com/docs/grafana/latest/setup-grafana/set-up-grafana-monitoring/

So you can secure it easily. Doesn’t say how to add redirect so guessing it isn’t supported.

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