mirror of
https://github.com/caddyserver/website.git
synced 2025-05-06 11:47:12 -04:00
better note
This commit is contained in:
parent
249b4043ec
commit
304556ac03
1 changed files with 3 additions and 3 deletions
|
@ -9,13 +9,13 @@ 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):
|
||||||
|
|
||||||
|
> **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
|
```caddy
|
||||||
{
|
{
|
||||||
servers {
|
servers {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue