mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-11-25 16:51:00 +00:00
Adds healthcheck for checking the status of the container
Signed-off-by: Vaibhav Khurana <vaibhav.khurana@razorpay.com>
This commit is contained in:
parent
d5b22a2993
commit
7830fea9ae
1 changed files with 1 additions and 0 deletions
|
@ -4,4 +4,5 @@ LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com
|
|||
COPY statsd_exporter /bin/statsd_exporter
|
||||
|
||||
EXPOSE 9102 9125 9125/udp
|
||||
HEALTHCHECK CMD curl --fail http://localhost:9102/metrics || exit 1
|
||||
ENTRYPOINT [ "/bin/statsd_exporter" ]
|
||||
|
|
Loading…
Reference in a new issue