caddy/modules/caddyhttp
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
..
caddyauth
encode
fileserver
headers
intercept
logging
map
proxyprotocol
push
requestbody
reverseproxy
rewrite
standard
templates
tracing
app.go
autohttps.go
caddyhttp.go
caddyhttp_test.go
celmatcher.go
celmatcher_test.go
errors.go
http2listener.go
httpredirectlistener.go
invoke.go
ip_matchers.go
ip_range.go
logging.go
marshalers.go
matchers.go
matchers_test.go
metrics.go
metrics_test.go
replacer.go
replacer_test.go
responsematchers.go
responsematchers_test.go
responsewriter.go
responsewriter_test.go
routes.go
server.go
server_test.go
staticerror.go
staticresp.go
staticresp_test.go
subroute.go
vars.go