diff --git a/src/docs/markdown/metrics.md b/src/docs/markdown/metrics.md index 7a14283..faab5a0 100644 --- a/src/docs/markdown/metrics.md +++ b/src/docs/markdown/metrics.md @@ -25,6 +25,18 @@ If using a Caddyfile, enable metrics [in global options](/docs/caddyfile/options If using JSON, add `"metrics": {}` to your [`apps > http > servers` configuration](/docs/json/apps/http/servers/). +To add per host metrics you can insert the per_host option. Host specific metrics will now have a Host tag. + +```caddy +{ + servers { + metrics { + per_host + } + } +} +``` + ## Prometheus [Prometheus](https://prometheus.io) is a monitoring platform that collects