mirror of
https://github.com/prometheus/statsd_exporter.git
synced 2024-12-23 05:56:31 +00:00
Fixing healthcheck
Signed-off-by: Vaibhav Khurana <vaibhav.khurana@razorpay.com>
This commit is contained in:
parent
7830fea9ae
commit
88af8dcd24
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +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
|
||||
HEALTHCHECK CMD wget --spider -S "http://localhost:9102/metrics" -T 60 2>&1 || exit 1
|
||||
ENTRYPOINT [ "/bin/statsd_exporter" ]
|
||||
|
|
Loading…
Reference in a new issue