Add config to input-varnish README (#3414)

This commit is contained in:
Maximilien Richer 2017-11-01 00:58:45 +01:00 committed by Daniel Nelson
parent c849d88253
commit 8bd21bb537
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@ This plugin gathers stats from [Varnish HTTP Cache](https://varnish-cache.org/)
## Setting stats will override the defaults shown below. ## Setting stats will override the defaults shown below.
## stats may also be set to ["all"], which will collect all stats ## stats may also be set to ["all"], which will collect all stats
stats = ["MAIN.cache_hit", "MAIN.cache_miss", "MAIN.uptime"] stats = ["MAIN.cache_hit", "MAIN.cache_miss", "MAIN.uptime"]
## Optional name for the varnish instance (or working directory) to query
## Usually appened after -n in varnish cli
#name = instanceName
``` ```
### Measurements & Fields: ### Measurements & Fields: