Module uses the varnishstat
command to provide varnish cache statistics.
It produces:
- Connections Statistics in connections/s
- accepted
- dropped
- Client Requests in requests/s
- received
- All History Hit Rate Ratio in percent
- hit
- miss
- hitpass
- Current Poll Hit Rate Ratio in percent
- hit
- miss
- hitpass
- Expired Objects in expired/s
- objects
- Least Recently Used Nuked Objects in nuked/s
- objects
- Number Of Threads In All Pools in threads
- threads
- Threads Statistics in threads/s
- created
- failed
- limited
- Current Queue Length in requests
- in queue
- Backend Connections Statistics in connections/s
- successful
- unhealthy
- reused
- closed
- resycled
- failed
- Requests To The Backend in requests/s
- received
- ESI Statistics in problems/s
- errors
- warnings
- Memory Usage in MB
- free
- allocated
- Uptime in seconds
- uptime
Only one parameter is supported:
instance_name: 'name'
The name of the varnishd instance to get logs from. If not specified, the host name is used.