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

Feature request: Expose HTTP request metrics #79

Open
juliusv opened this issue Dec 8, 2024 · 2 comments
Open

Feature request: Expose HTTP request metrics #79

juliusv opened this issue Dec 8, 2024 · 2 comments

Comments

@juliusv
Copy link

juliusv commented Dec 8, 2024

As far as I can see, kamal-proxy does not yet expose metrics about the requests it serves. It would be really nice if it tracked e.g. Prometheus metrics for things like:

  • Request counts (including status code label dimension)
  • Request duration histogram
  • Request size histogram
  • Response size histogram
  • Current number of in-flight requests
  • Etc.
@northeastprince
Copy link

Request metrics seen more like a responsibility for the apps themselves.

@juliusv
Copy link
Author

juliusv commented Dec 13, 2024

That's ok, though it's pretty common to have them in both places. Usually apps are instrumented, and proxies / LBs like nginx, HAProxy, etc. also track metrics about requests going to their services and backends.

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