r/statsd-exporter: Deploy statsd exporter
The *statsd exporter* is a Prometheus exporter that converts statistics from StatsD format into Prometheus metrics. It is generally useful as a bridge between processes that emit event-based statistics, turning them into Prometheus counters and gauges.
This commit is contained in:
16
roles/statsd-exporter/templates/statsd-exporter.container.j2
Normal file
16
roles/statsd-exporter/templates/statsd-exporter.container.j2
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=StatsD Exporter for Prometheus
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/prom/statsd-exporter:v0.27.1
|
||||
User=228
|
||||
Group=228
|
||||
DropCapability=all
|
||||
PublishPort=9102:9102
|
||||
PublishPort=9125:9125/tcp
|
||||
PublishPort=9125:9125/udp
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user