inspectIT Ocelot is a Java agent that allows you to extract any kind of data and information out of your Java application and consume the data using a big variety of established monitoring tools such as Prometheus, Zipkin, Grafana and many, many more. You can collect for example performance data such as response times and hardware metrics or tracing data that shows you in detail which methods are executed, i.e. what the application actually does or where the errors occur.
Even more: you can even use inspectIT Ocelot to collect business data - you may for example want to know the average shopping cart value of your online store, the country with the highest turnover or any other concerns related to your business cases.
For the agent, we use a zero-configuration approach which does not mean that you cannot configure anything - on the contrary: the agent provides a very powerful and sophisticated configuration interface that allows you to configure basically everything and adapt the agent's behaviour to your needs.
Zero-configuration means that the agent is shipped with a meaningful default configuration that is suitable for most applications and basic usage.
# Find the process ID of the JVM to which the agent should be attached to
# ps aux | grep java
# jps -lV # Requires an installed JDK
# Attach the latest Ocelot agent to your JVM
bash <(curl -s https://inspectit.github.io/inspectit-ocelot/attach.sh) <JVM_PID>
# See awesome OpenCencus metrics
wget -qO- localhost:8888