Backend Tracing
Trace your backend services with LogDrop and follow mobile requests into them.
LogDrop traces your backend services: the requests they handle and their calls to databases, caches, message brokers and other services. The panel shows distributed traces, service and endpoint health (APM) and the dependency map, and requests from apps that use the LogDrop mobile SDKs continue into your backend in the same trace.
A LogDrop agent (for Go and Rust, a library) runs inside your service, records its spans, removes everything that could carry personal or secret data, and sends them to LogDrop over HTTPS with a traces ingest key. A span is the record of one operation, such as a request your service handles or a call it makes to a database. The spans of one request, across all the services it passes through, form one trace. Pick the guide for your service's language.
Languages
Each language has its own guide, with the install steps and reference pages such as settings, limits and troubleshooting.
Java
The LogDrop Java agent: no code changes, on Kubernetes with one pod annotation or on any JVM host with one flag.
Node.js
The LogDrop Node.js agent: no code changes, on Kubernetes with one pod annotation or on any host through NODE_OPTIONS.
Python
The LogDrop Python agent: no code changes, on Kubernetes with one pod annotation or on any host with logdrop-run.
.NET
The LogDrop .NET agent: no code changes, on Kubernetes with one pod annotation.
PHP
The LogDrop PHP agent: no code changes, on Kubernetes with one pod annotation.
Go
The LogDrop Go package: logdrop.Start and one line per library; on Kubernetes one pod annotation gives the settings.
Rust
The LogDrop Rust crate: one tracing layer and one line per library; on Kubernetes one pod annotation gives the settings.
Before you start
Every language needs the same three things from LogDrop:
- A LogDrop project whose plan includes HTTP monitoring, with HTTP Logging turned on in Settings → App Config → HTTP Monitoring. Otherwise LogDrop refuses the project's traces.
- A traces ingest key, the credential your agents send traces to LogDrop with. LogDrop stores the traces in the project the key belongs to. In the panel, open Services & APM → Credentials, select Create credential and keep the Traces signal selected. The key is shown once: put it straight into your secret store. Creating keys needs the Manage ingest keys permission. See Ingest credentials.
- The traces endpoint, the address your agents send traces to:
https://otel.logdrop.io.
Use one key per cluster or environment, so you can rotate or revoke one without touching the others. A project can have at most 20 active keys.
Keep the mobile app and the backend in one project
LogDrop links a mobile request to its backend spans only inside one project. If your apps use the LogDrop mobile SDKs and you want one trace from the device into the backend, create the backend's ingest key in the mobile app's project. Journeys across projects are not supported: the app's HTTP record then finds no backend spans, and the backend's trace starts with a missing parent.
Related guides
- Tracing & APM in the panel: Trace Explorer, services and endpoints, the dependency map, alerts and service levels.
- Mobile end-to-end tracing: how the LogDrop mobile SDKs start a trace on the device.
.png)