Dash0
Pricing
Docs
Login
Book a demoStart free trial
Dash0
Dash0 home

Company

  • About us
  • Careers
  • Trust Center
  • Brand
  • Security

Products

  • Observability
  • AI SDLC
  • Agent0
  • SignalStore
  • SignalControl

Resources

  • Blog
  • Guides
  • Knowledge
  • Comparisons
  • Documentation
  • Podcast
  • Newsletter
  • Ebook
  • Integrations
  • Changelog

Get Started

  • Pricing
  • Free trial
  • Sitemap
  • Glossary
  • OTelBin.io

Compare

  • Datadog
  • Grafana
  • Dynatrace
  • New Relic
  • Elastic
  • Honeycomb
  • Sentry
  • Splunk
  • Solarwinds
  • SigNoz
  • Chronosphere
  • Better Stack
  • Coralogix
  • Instana
System status
  • Terms and Conditions
  • Privacy Policy
  • Data Processing Agreement
  • Vulnerability Disclosure

Ship more. Break less.

© 2026 Dash0 Inc.

In this integration

  • Intro
  • Overview
  • Use Cases
  • Setup
  • Install
  • Auto-instrumentation
  • Configure
  • Kubernetes Setup
  • Supported libraries and frameworks
  • Dashboards
  • Related integrations
Integrations/.NET

.NET

Gain visibility into your .NET applications. This integration seamlessly connects with Microsoft's .NET development platform for enhanced insights.

Info

The Dash0 Kubernetes Operator automatically instruments your .NET and CLR-based workloads. Using the operator is the recommended way of getting visibility into .NET-based Kubernetes workloads, and is preferred over configuring the OpenTelemetry SDK manually for each application.

Overview

Instrumenting your .NET applications and services to generate traces, logs, and metrics is a powerful way to gain deep insights into its behavior and performance. By adding instrumentation, you enable your application to emit valuable data that can be used for monitoring, troubleshooting, and optimization.

Dash0 supports automatic instrumentation of .NET applications through OpenTelemetry's open-source and vendor-agnostic packages.

Info

Want AI to set this up for you? Install the Dash0 Agent Skills to let Claude Code, Cursor, or Windsurf instrument your application automatically with OpenTelemetry best practices.

Use Cases

  • Understand outgoing and incoming HTTP requests through traces and metrics. Allowing drill-downs to the database level.
  • You can see which database statements were executed and how long they took, which gives you valuable data to optimize your applications.
  • Reveal (uncaught) errors and the context in which they happened.

Setup

Install

OpenTelemetry comes with a ready-made auto-instrumentation package ↗ for .NET that will kickstart your observability journey. Learn more about the installation process within OpenTelemetry's official documentation ↗.

Note: Currently the OpenTelemetry Auto-instrumentation is not supported on Apple Silicon. For more details, see the compatibility guide ↗.

Auto-instrumentation

The steps below is for Linux. If you are on a Windows computer, check out the official guide using Powershell here ↗.

1. Download the latest installation script

curl -L -O https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/latest/download/otel-dotnet-auto-install.sh

2. Execute the installation script

./otel-dotnet-auto-install.sh

3. Execute the script for configuring your environment

. $HOME/.otel-dotnet-auto/instrument.sh

Configure

Most auto-instrumentation in OpenTelemetry can be configured using environment variables. Specify the following variables to automatically apply the auto-instrumentation package and send data to your Dash0 environment:

1. Specify the application service name:

export OTEL_SERVICE_NAME="my-first-observable-dotnet-service"

Replace my-first-observable-dotnet-service with a meaningful name that identifies your application.

2. Set up the data export endpoint and authorization token:

export OTEL_EXPORTER_OTLP_ENDPOINT="{{endpoint_otlp_http}}"
export OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf"
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer {{token}}"

Note: You can specify which dataset to send data to by adding the Dash0-Dataset header. For example:

export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Bearer {{token}},Dash0-Dataset={{dataset}}"

For more information, see the dataset documentation.

Kubernetes Setup

In case you are not using the Dash0 operator for Kubernetes to deploy your application, you should extend the OpenTelemetry resource attributes to include the Pod UID. This is important to merge the resources between logs,traces and metrics. You can do this by adding the following environment variables to your deployment:

env:
  - name: K8S_POD_UID
    valueFrom:
      fieldRef:
        apiVersion: v1
        fieldPath: metadata.uid
  - name: K8S_POD_NAME
    valueFrom:
      fieldRef:
        apiVersion: v1
        fieldPath: metadata.name
  - name: OTEL_RESOURCE_ATTRIBUTES
    value: k8s.pod.name=$(K8S_POD_NAME),k8s.pod.uid=$(K8S_POD_UID)

This will add the k8s.pod.name and k8s.pod.uid attributes to the OpenTelemetry resource attributes, which will be included in all telemetry data sent to Dash0. To read more about resource equality and merging, please refer to the Dash0 docs.

In order to learn more about the importance of resource attributes read the blog post OpenTelemetry resource attributes: Best practices for Kubernetes

Supported libraries and frameworks

To understand which libraries are automatically instrumented by this package, please refer to the OpenTelemetry documentation ↗.

Dashboards

.Net Runtime Metrics

.Net Runtime

.Net Runtime Dashboard

  • .net
  • dotnet

Related Integrations

  • Dash0 Agent Skills