Sign inSign up

cantara/valuereporter-statsd-agent

By cantara

•Updated about 8 years ago

This java agent will monitor all calls to public methods.

Image
0

492

cantara/valuereporter-statsd-agent repository overview

⁠Valuereporter-Statsd-Agent

This agent will monitor all calls to public methods. When a method is called, count and duration will be forwarded to your StatsD service.

⁠Extend your Docker

FROM cantara/valuereporter-statsd-agent
#$AGENT_JAR_PATH is inherited from the baseimage at cantara/valuereporter-statsd-agent
#$PREFIX is used by Grafana to separate your data from the other services.
#$STATSD_HOST hostname to StatsD service -assuming standard port for now
#$BASE_PACKAGE the java package structure you want to monitor eg. no.cantara.demo

ENV PREFIX=NEED-TOBE-SET
ENV STATSD_HOST=NEED-TOBE-SET
ENV BASE_PACKAGE=NEED-TOBE-SET
ENV JAVA_AGENT=-javaagent:$AGENT_JAR_PATH=base_package:$BASE_PACKAGE,statsd_host:$STATSD_HOST,prefix:$PREFIX
CMD java  $JAVA_AGENT -jar <your-service.jar>

⁠Example

Child Example⁠

⁠Sourcecode

Source code⁠

Tag summary

Content type

Image

Digest

Size

106.2 MB

Last updated

about 8 years ago

docker pull cantara/valuereporter-statsd-agent