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

Add option to expose metrics via prometheus endpoint #138

Open
artur-fijalkowski opened this issue May 18, 2023 · 3 comments
Open

Add option to expose metrics via prometheus endpoint #138

artur-fijalkowski opened this issue May 18, 2023 · 3 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@artur-fijalkowski
Copy link

Right now prometheus endpoint is not very useful for actual monitoring because it just responds with

# HELP unleash_proxy_up Indication that the service is up. 
# TYPE unleash_proxy_up counter
unleash_proxy_up 1

But if clients send metrics, then this endpoint could expose those metrics.
This would be useful for users using feature flag providers that do not support metrics direclty (eg. gitlab feature flags).

@robmonct
Copy link

@artur-fijalkowski How you can get that metric?

@evsasha
Copy link

evsasha commented Oct 2, 2023

@robmonct The path is not very intuitive:
http://unleash-proxy/proxy/internal-backstage/prometheus

"/proxy/internal-backstage/prometheus": Object {

@robmonct
Copy link

robmonct commented Oct 2, 2023

Thank you @evsasha

@ivarconr ivarconr added good first issue Good for newcomers help wanted Extra attention is needed labels Sep 18, 2024
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
Projects
Status: Support rotation
Development

No branches or pull requests

5 participants