Update src/docs/markdown/metrics.md

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
This commit is contained in:
Jared Forsyth 2022-10-10 09:19:54 -06:00 committed by GitHub
parent 304556ac03
commit ee51d71919
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ In other words, you're going to want to be able to _monitor_ Caddy.
You'll need to turn metrics on. If using a Caddyfile, enable metrics [in global options](/docs/caddyfile/options#metrics):
> **Note**
> Prior to Caddy 2.6, metrics were on by default, so this global configutaion is unnecessary. In 2.6+, they are opt-in for performance reasons.
> Caddy 2.6 made metrics opt-in. To enable them, use either [Caddyfile global options](https://caddyserver.com/docs/caddyfile/options#metrics) or [the `metrics` parameter](https://caddyserver.com/docs/json/apps/http/servers/metrics/) of a server's JSON config.
```caddy
{