PromEx.Plug's internal path check doesn't match when forwarded under /metrics (conn.path_info is [] after the forward strips the prefix), so it silently returned without sending a response. Call PromEx.get_metrics/1 directly and send the text body ourselves — tested, returns 200 with all 23 registered event handlers producing proper Prometheus histogram output. |
||
|---|---|---|
| .. | ||
| microwaveprop | ||
| microwaveprop_web | ||
| mix/tasks | ||
| microwaveprop.ex | ||
| microwaveprop_web.ex | ||