mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-06-03 05:49:25 +00:00
Add Docker instructions to the README
This commit is contained in:
parent
c2d70fe7dc
commit
395c1422e5
14
README.md
14
README.md
|
@ -94,3 +94,17 @@ follows:
|
|||
|
||||
test.web-server.foo.bar (gauge)
|
||||
=> test_web__server_foo_bar_gauge{}
|
||||
|
||||
## Using Docker
|
||||
|
||||
You can deploy this exporter using the [prom/statsd-bridge](https://registry.hub.docker.com/u/prom/statsd-bridge/) Docker image.
|
||||
|
||||
For example:
|
||||
|
||||
```bash
|
||||
docker pull prom/statsd-bridge
|
||||
|
||||
docker run -d -p 9102:9102 -p 9125/udp:9125/udp \
|
||||
-v $PWD/statsd_mapping.conf:/tmp/statsd_mapping.conf \
|
||||
prom/statsd-bridge -statsd.mapping-config=/tmp/statsd_mapping.conf
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue