.NET
Trace .NET services with the LogDrop .NET agent.
LogDrop traces .NET services without code changes. On Kubernetes, one pod annotation adds the LogDrop .NET agent to your pods; your images stay as they are.
The agent is a distribution of OpenTelemetry .NET automatic instrumentation with LogDrop's plugin. 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. It removes the same data as the Java, Node.js and Python agents, so a request that crosses services in these languages appears as one trace.
Current release: LogDrop .NET agent 0.1.0-alpha1 (the image registry.logdrop.io/logdrop-dotnet-agent and the NuGet package LogDrop.Api 0.1.0-alpha1) 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, .NET 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. The agent image
0.1.0-alpha1runs on linux/amd64 nodes only. - .NET 8, 9 or 10 on Linux. They are tested on Debian-based images (the default) and on Alpine images, which need one more pod annotation. .NET Framework and Windows containers are not supported.
- Traced libraries: the ones OpenTelemetry .NET automatic instrumentation v1.19.1 supports, among them ASP.NET Core,
HttpClient, gRPC (Grpc.Net.Client), SQL Server (Microsoft.Data.SqlClient,System.Data.SqlClient), PostgreSQL (Npgsql), MySQL (MySqlConnector,MySql.Data), Entity Framework Core, MongoDB, Redis (StackExchange.Redis), RabbitMQ (RabbitMQ.Client) and Kafka (Confluent.Kafka). - Not supported: a service that already runs another APM's .NET profiler (for example Datadog, New Relic or Dynatrace). A process can load only one profiler, so such pods are left untraced.
- Outside Kubernetes the agent is not packaged in this release.
Install the agent
This release installs the agent on Kubernetes only, with the LogDrop Helm chart.
Reference
These pages hold the details behind the install guide. 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 package.
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 image, the chart and the NuGet package.
Licences
The licences of the agent and the API package.
Troubleshooting
Agent messages and what to do about them.
.png)