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

Can prometeus-proxy be used to proxy metrics from an external source? #102

Open
joedborg opened this issue Jun 28, 2024 · 1 comment
Open

Comments

@joedborg
Copy link

Here's an example. I'm trying to use Flagger within my K8s cluster to get progressive rollouts. It can integrate with Istio to grab metrics from it via Prometheus. However, unless defining a bunch of custom metrics (instead of the built in ones) it seems to not be able to handle a source needing a secret access (fluxcd/flagger#1671).

I'd like to have a proxy inside the cluster, without needing auth, that proxies to my external Prometheus, using a secret. Thus, Flagger can just talk to the proxy, without needing the secret.

Is this possible with prometheus-proxy?

@pambrose
Copy link
Owner

Hey Joe,
I do not understand exactly what you want to do, but it sounds like something that should work. Have you tried it, and if so, what was the roadblock?

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

No branches or pull requests

2 participants