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.
1
# Find the process ID of the JVM to which the agent should be attached to
2
# ps aux | grep java
3
# jps -lV # Requires an installed JDK
4
5
# Attach the latest Ocelot agent to your JVM
6
bash <(curl -s https://inspectit.github.io/inspectit-ocelot/attach.sh) <JVM_PID>
7
8
# See awesome OpenCencus metrics
9
wget -qO- localhost:8888