Skip to content

Commit

Permalink
Adding Varnish HTTP Cache input plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sfox-xmatters authored and robinpercy-xm committed May 22, 2016
1 parent 3c5c3b9 commit cd4dbf6
Show file tree
Hide file tree
Showing 5 changed files with 952 additions and 0 deletions.
10 changes: 10 additions & 0 deletions etc/telegraf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1550,3 +1550,13 @@
# ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md
# data_format = "influx"

# a plugin to collect stats from varnish
# [[inputs.varnish]]
# ## The default location of the varnishstat binary can be overridden with:
# binary = "/usr/bin/varnishstat"
#
# ## By default, telegraf gather stats for 3 metric points.
# ## Setting stats will override the defaults (["MAIN.cache_hit","MAIN.cache_miss","MAIN.uptime"]).
# ## stats may also be set to ["all"], which will collect all stats
# stats = ["MAIN.cache_hit","MAIN.cache_miss","MAIN.uptime"]

1 change: 1 addition & 0 deletions plugins/inputs/all/all.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ import (
_ "github.com/influxdata/telegraf/plugins/inputs/trig"
_ "github.com/influxdata/telegraf/plugins/inputs/twemproxy"
_ "github.com/influxdata/telegraf/plugins/inputs/udp_listener"
_ "github.com/influxdata/telegraf/plugins/inputs/varnish"
_ "github.com/influxdata/telegraf/plugins/inputs/win_perf_counters"
_ "github.com/influxdata/telegraf/plugins/inputs/zfs"
_ "github.com/influxdata/telegraf/plugins/inputs/zookeeper"
Expand Down
Loading

0 comments on commit cd4dbf6

Please sign in to comment.