mirror of
https://github.com/caddyserver/website.git
synced 2025-04-23 21:46:16 -04:00
Added per_host documentation to options.md
This commit is contained in:
parent
6b31affd1e
commit
1e9490db08
1 changed files with 9 additions and 0 deletions
|
@ -969,6 +969,15 @@ Enables Prometheus metrics collection; necessary before scraping metrics. Note t
|
|||
}
|
||||
```
|
||||
|
||||
You can add or remove the per_host option to separate metrics for each host rather than for the entire caddy server.
|
||||
|
||||
```caddy
|
||||
{
|
||||
metrics {
|
||||
per_host
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
##### `trace`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue