Defined Type: varnish::logging::media

Defined in:
modules/varnish/manifests/logging/media.pp

Overview

Define: varnish::logging::media

Accumulate browser cache hit ratio and total request volume statistics
for Media requests and report to StatsD. Expose metrics to prometheus.

Examples

varnish::logging::media {
  statsd_server => 'statsd.eqiad.wmnet:8125
}


12
13
14
15
16
17
18
19
# File 'modules/varnish/manifests/logging/media.pp', line 12

define varnish::logging::media {
    include ::varnish::common

    mtail::program { 'varnishmedia':
        source => 'puppet:///modules/mtail/programs/varnishmedia.mtail',
        notify => Service['varnishmtail'],
    }
}