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

Missing metrics #195

Closed
Azbesciak opened this issue Sep 24, 2020 · 4 comments
Closed

Missing metrics #195

Azbesciak opened this issue Sep 24, 2020 · 4 comments

Comments

@Azbesciak
Copy link

Hello, I think it is not the issue of this configuration, but many people use this config and might face the same issue.
I wanted to monitor the average request response time, quintiles, errors count, request count, most often IPs, etc.
I found that it is possible with for example http_request_total - but it is not available in the Prometheus.
I read somewhere that there is promhttp_metric_handler_requests_total, and indeed - there is something like this, but returns something different.

How to solve this problem? I see that http_request_total is not something unique and commonly used, for example, https://blog.softwaremill.com/practical-monitoring-with-prometheus-ee09a1dd5527.

Thanks!

@nightah
Copy link
Collaborator

nightah commented Oct 1, 2020

@Azbesciak can you clarify you want to see those metrics from what specific service, Prometheus itself or?

@Azbesciak
Copy link
Author

@nightah from all containers

@nightah
Copy link
Collaborator

nightah commented Oct 1, 2020

So the only thing that exists within the stack is prometheus_http_requests_total which returns the values against a specific URI/path and the associated http status code.

I'd suggest you look into a prometheus exporter specifically for your reverse proxy (nginx, Traefik, HAProxy) and utilise that to get the information you seek.

@nightah
Copy link
Collaborator

nightah commented Oct 28, 2020

@Azbesciak I'm going to close off this issue, if you have any other questions please don't hesitate to open another issue.

@nightah nightah closed this as completed Oct 28, 2020
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