Repository navigation
Commit 8aa3502
committed
fix: enable Caddy HTTP metrics at server level in init config
Move metrics from per-route handler (which broke the reverse proxy)
to server-level config (metrics: {} in srv0), which correctly emits
caddy_http_requests_total and caddy_http_request_duration_seconds
without intercepting requests.1 parent e3fe996 commit 8aa3502
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
0 commit comments