caddy/modules
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
..
caddyevents chore: Use slices package where possible (#6585) 2024-09-25 14:30:56 -06:00
caddyfs fix a typo (#6333) 2024-05-21 18:41:41 -04:00
caddyhttp metrics: move `metrics` up, outside `servers` (#6606) 2024-10-18 09:54:21 -06:00
caddypki perf: use zap's Check() to prevent useless allocs (#6560) 2024-09-13 11:16:37 -06:00
caddytls caddytls: Drop `rate_limit` and `burst`, has been deprecated (#6611) 2024-10-07 17:39:47 -04:00
filestorage caddyfile: Normalize & flatten all unmarshalers (#6037) 2024-01-23 19:36:59 -05:00
logging logging: set file mode when the file already exist (#6391) 2024-06-12 15:17:46 -06:00
metrics metrics: scope metrics to active config, add optional per-host metrics (#6531) 2024-10-02 08:23:26 -06:00
standard filesystem: Globally declared filesystems, `fs` directive (#5833) 2024-01-13 20:12:43 +00:00