Feature request: Expose HTTP request metrics #101
-
|
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:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
Request metrics seen more like a responsibility for the apps themselves. |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
-
|
Can I request that this be reopened? Lets say the application is crashing and kamal-proxy is returning Further, there can be cases where the |
Beta Was this translation helpful? Give feedback.
-
|
Metrics via HTTP are now available, added in: #126 available in v0.9.1 kamal-proxy/internal/cmd/run.go Line 30 in 950b252 You can add e.g. Whats not there yet is metrics via HTTPS port. I was wondering about adding an additional flag |
Beta Was this translation helpful? Give feedback.
Metrics via HTTP are now available, added in: #126 available in v0.9.1
kamal-proxy/internal/cmd/run.go
Line 30 in 950b252
You can add e.g.
--metrics-port=9001to enable it.Whats not there yet is metrics via HTTPS port.
I was wondering about adding an additional flag
--metrics-https=trueto toggle setting the TLS config on the metrics server too.