Debian Codegraph @

gmond/python_modules/conf.d/varnish.pyconf.disabled

raw
1 modules {
2 module {
3 name = "varnish"
4 language = "python"
5
6 param stats_command {
7 value = "varnishstat -1"
8 }
9 }
10 }
11
12 collection_group {
13 collect_every = 30
14 time_threshold = 60
15
16 # If you want all of metrics kept track by varnishstat ie. all 100 of them
17 # you can simply uncomment line below and comment out all the other ones
18 # metric {
19 # name_match = "varnish_(.+)"
20 # }
21
22 metric {
23 name = "varnish_client_req"
24 title = "Client Requests"
25 }
26 metric {
27 name = "varnish_backend_req"
28 title = "Backend Requests"
29 }
30 metric {
31 name = "varnish_backend_unhealthy"
32 title = "Backend conn. not attempted"
33 }
34 metric {
35 name = "varnish_backend_busy"
36 title = "Backend conn. too many"
37 }
38 metric {
39 name = "varnish_cache_hit_ratio"
40 title = "Cache Hit Ratio"
41 }
42 metric {
43 name = "varnish_n_object"
44 title = "Objects in Cache"
45 }
46 metric {
47 name = "varnish_sm_balloc"
48 title = "Allocated Storage"
49 }
50 metric {
51 name = "varnish_n_wrk"
52 title = "Worker Threads"
53 }
54 }