LogDrop
Backend Tracing.NET

Troubleshooting

LogDrop .NET agent messages and what to do about them.

The agent writes its messages to standard error with the prefix [logdrop-agent]. Each warning is logged at most once a minute per process, and no message ever contains the ingest key.

Set LOGDROP_DEBUG=true for more detail. It never prints the key or span contents.

You seeDo this
trace-status: skipped: …Fix the named reason (see Check it) and roll the pod
trace-status: skipped: unsupported language on a dotnet podThe installed chart is older than 0.1.1-alpha12 and does not know .NET. Upgrade the chart and roll the pod
trace-status: skipped: another CLR profiler is configuredThe container sets the variables of another .NET profiler (another APM). Only one profiler can run in a process: remove that APM, or do not opt the workload in
No trace-status annotation and no [logdrop-agent] lineThe webhook did not see the pod. Check tracing.namespaces, the pod label when requirePodLabel is true, that the injector pod is running, and that networkPolicy.apiServerCIDRs (or tracing.injector.sourceCIDRs and sourcePeers) cover the addresses the control plane calls from. Then roll the pod
trace-status: injected, a line from [StartupHook] that the CLR profiler was not loaded, and no [logdrop-agent] lineThe profiler does not match the image's C library: an Alpine image without logdrop.io/libc: musl, or a Debian or Ubuntu image with it (Kubernetes, step 3). Fix the annotation and roll the pod. The service runs untraced until then
trace-status: injected but no [logdrop-agent] line and no [StartupHook] lineSomething replaced DOTNET_STARTUP_HOOKS after the injector, for example a start script that sets it, or the container's process is not a .NET application
ERROR LogDrop tracing is disabled: the agent could not start.Contact LogDrop support with the .NET version and, with LOGDROP_DEBUG=true, the lines that follow
[logdrop-agent] ERROR LogDrop tracing is disabled: … naming a settingThe named setting is invalid. Fix it and restart
[logdrop-agent] INFO LogDrop tracing is disabled: LOGDROP_ENDPOINT is not set.Set the endpoint (tracing.endpoint)
LogDrop ingest key file is missing or invalid; traces are not sent until it is readable. or LogDrop ingest key is not available. Trace export skipped.The Secret logdrop-trace-ingest-key is missing in that namespace, or empty
LogDrop ingest key file is missing or invalid; the last valid key is still used.The key file changed to something unreadable. The agent keeps the previous key until you fix it
LogDrop rejected the ingest key (HTTP 401).The key is revoked, expired, mistyped or not a traces key, or the Secret holds more than one key, for example a key pasted twice. A traces key starts with ldtk_ and has 71 characters; recreate the Secret with the command in Kubernetes, step 1
LogDrop refused traces for this project (HTTP 403).Turn on HTTP Logging for the project, and check that its plan includes HTTP monitoring and that the project is not disabled
LogDrop rate-limited trace export (HTTP 429).Too many requests for the key or the project (see Limits), or the project's trace storage is used up. Those batches are dropped
LogDrop is not reachable. Trace export failed.Egress to the traces endpoint is blocked (NetworkPolicy, firewall, proxy or DNS). Before it warns, the agent resends a batch that could not connect for about 20 seconds, so a few seconds of network set-up while a pod starts lose nothing
LogDrop refused a trace batch as invalid (HTTP 400).Usually a clock far off (spans that start more than 5 minutes ahead), a LOGDROP_MAX_* setting above LogDrop's limits, or an outdated agent. The batch is dropped and counted as rejected in LogDropTracing.ExportStatus()
LogDrop rejected trace export (HTTP <code>).Any other answer. For 502, 503 and 504 the agent has already retried for a few seconds. If it persists, contact LogDrop support with the time and the code
LogDrop active span limit reached. New spans are being refused.More than LOGDROP_MAX_ACTIVE_SPANS spans are open at once, often spans that custom code never ends
Requests appear without a route, or database spans are missingThe framework or the database client is not in the traced libraries
A trace is in Trace Explorer, but the service is missing in APMAPM shows a new service within about two minutes; refresh. Check the time range and the Environment filter

Still nothing in the panel

If no trace appears and the agent logs none of the messages above, go through this checklist.

  1. The project's plan includes HTTP monitoring, and HTTP Logging is on.
  2. The agent uses a key with the Traces signal whose status is Active.
  3. The agent reports success: logdrop.io/trace-status: injected and its start line (Check it).
  4. The panel's time range covers the request, and the Environment filter matches (the agent's default is production).
  5. The agent's log shows no refusal from the table above.

On this page