Add a note about when metrics was added

This commit is contained in:
Jared Forsyth 2022-10-10 08:44:00 -06:00 committed by GitHub
parent 2bbe61c3cc
commit 249b4043ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,9 @@ Caddy server on an embedded device, it's likely that at some point you'll want
to have a high-level overview of what Caddy is doing, and how long it's taking. to have a high-level overview of what Caddy is doing, and how long it's taking.
In other words, you're going to want to be able to _monitor_ Caddy. In other words, you're going to want to be able to _monitor_ Caddy.
> **Note**
> This was added in Caddy 2.6
## Enabling metrics ## Enabling metrics
You'll need to turn metrics on. If using a Caddyfile, enable metrics [in global options](/docs/caddyfile/options#metrics): You'll need to turn metrics on. If using a Caddyfile, enable metrics [in global options](/docs/caddyfile/options#metrics):