1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/caddyconfig
Mohammed Al Sahaf 388c7e898c
metrics: move metrics up, outside servers (#6606)
* metrics: move `metrics`  up, outside `servers`

This change moves the metrics configuration from per-server level to a single config knob within the `http` app. Enabling `metrics` in any of the configured servers inside `http` enables metrics for all servers.

Fix #6604

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>

* normalize domain name

---------

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
2024-10-18 09:54:21 -06:00
..
caddyfile caddyfile: Fix comma edgecase in address parsing (#6616) 2024-10-10 20:26:59 +00:00
httpcaddyfile metrics: move metrics up, outside servers (#6606) 2024-10-18 09:54:21 -06:00
configadapters.go chore: Bump up to Go 1.19, minimum 1.18 (#4925) 2022-08-02 16:39:09 -04:00
httploader.go Quell linter (false positive) 2024-04-23 11:55:37 -06:00
load.go Replace strings.Index usages with strings.Cut (#4930) 2022-08-04 11:17:35 -06:00