Java
Trace Java services with the LogDrop Java agent.
LogDrop traces JVM services without code changes. On Kubernetes, one pod annotation adds the LogDrop Java agent; outside Kubernetes, you add one JVM flag.
The agent is a distribution of OpenTelemetry Java instrumentation. It records the requests your service handles and its calls to databases, caches, message brokers and other services, removes everything that could carry personal or secret data, and sends the spans to LogDrop over HTTPS with a traces ingest key.
Current release: LogDrop Java agent 0.1.0-alpha5 and Helm chart logdrop-infrastructure 0.1.1-alpha15.
Requirements
Before you install the agent, check that you have the LogDrop project and key, and that your platform, Java version and libraries are supported.
- The project, the traces ingest key and the endpoint from Before you start.
- Kubernetes 1.28 or newer with Helm 3.8 or newer, or any host that runs a JVM.
- Java 8 to 25. Tested with Spring Boot 2.7, 3.4, 3.5 and 4.1, servlet containers, Spring WebFlux, JDBC, Redis, Kafka, RabbitMQ and JMS clients. GraalVM native images are not supported.
Install the agent
Choose the guide for where your service runs. Both add the same agent, configured with the same LOGDROP_* settings.
Kubernetes
Install the LogDrop Helm chart and opt workloads in with one pod annotation.
Outside Kubernetes
Start the JVM with the agent on a host, as a systemd service or in a container.
Reference
These pages hold the details behind the install guides. Use them to add your own spans, change a setting, plan for limits or fix a problem.
Custom spans
Add spans for business operations with the optional logdrop-api library.
Agent settings
Every LOGDROP_* setting, its default and its range.
Limits
What LogDrop accepts per request, per key and per project.
Rotate the ingest key
Replace a key without losing traces.
What LogDrop records
The data a span carries, and what never leaves your service.
Verify what you install
Check the signatures of the agent, its image and the chart.
Licences
The licences of the agent and the API libraries.
Troubleshooting
Agent messages and what to do about them.
.png)