Grafana.OpenTelemetry
1.3.0
Prefix Reserved
dotnet add package Grafana.OpenTelemetry --version 1.3.0
NuGet\Install-Package Grafana.OpenTelemetry -Version 1.3.0
<PackageReference Include="Grafana.OpenTelemetry" Version="1.3.0" />
<PackageVersion Include="Grafana.OpenTelemetry" Version="1.3.0" />
<PackageReference Include="Grafana.OpenTelemetry" />
paket add Grafana.OpenTelemetry --version 1.3.0
#r "nuget: Grafana.OpenTelemetry, 1.3.0"
#:package Grafana.OpenTelemetry@1.3.0
#addin nuget:?package=Grafana.OpenTelemetry&version=1.3.0
#tool nuget:?package=Grafana.OpenTelemetry&version=1.3.0
Grafana OpenTelemetry distribution for .NET
About
This is a pre-configured and pre-packaged bundle of OpenTelemetry .NET components, optimized for Grafana Cloud Application Observability.
It requires only minimal setup and configuration and makes it very easy to emit OpenTelemetry metrics, logs, and traces from your .NET application.
Getting Started
Step 1: Install package
For installing the distribution with the full set of dependencies, add a
reference to the Grafana.OpenTelemetry
package to your project.
dotnet add package Grafana.OpenTelemetry
Step 2: Enable the Grafana distribution at application startup
The UseGrafana
extension method on the TracerProviderBuilder
or the
MetricProviderBuilder
can be used to set up the Grafana distribution. By
default, telemetry data will be sent to Grafana Alloy or an OpenTelemetry collector
that runs locally and listens to default OTLP ports.
using var tracerProvider = Sdk.CreateTracerProviderBuilder()
.UseGrafana()
.Build();
Alternatively, you can send telemetry data directly to Grafana Cloud without
involving an agent or collector. This can be configured via the environment
variables OTEL_EXPORTER_OTLP_PROTOCOL
, OTEL_EXPORTER_OTLP_ENDPOINT
, and
OTEL_EXPORTER_OTLP_HEADERS
.
For details on how to obtain those values, refer to Send data to the Grafana Cloud OTLP endpoint: Quickstart architecture.
Documentation
For detailed documentation and setup instructions, refer to our documentation.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- CassandraCSharpDriver (>= 3.22.0)
- Grafana.OpenTelemetry.Base (>= 1.3.0)
- OpenTelemetry.Instrumentation.AspNet (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.AWS (>= 1.12.0)
- OpenTelemetry.Instrumentation.AWSLambda (>= 1.12.0)
- OpenTelemetry.Instrumentation.Cassandra (>= 1.0.0-beta.2)
- OpenTelemetry.Instrumentation.ElasticsearchClient (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.EntityFrameworkCore (>= 1.12.0-beta.2)
- OpenTelemetry.Instrumentation.Hangfire (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.Owin (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.Quartz (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.StackExchangeRedis (>= 1.12.0-beta.2)
- OpenTelemetry.Instrumentation.Wcf (>= 1.12.0-beta.1)
-
.NETStandard 2.0
- CassandraCSharpDriver (>= 3.22.0)
- Grafana.OpenTelemetry.Base (>= 1.3.0)
- OpenTelemetry.Extensions.Hosting (>= 1.12.0)
- OpenTelemetry.Instrumentation.AspNetCore (>= 1.12.0)
- OpenTelemetry.Instrumentation.AWS (>= 1.12.0)
- OpenTelemetry.Instrumentation.AWSLambda (>= 1.12.0)
- OpenTelemetry.Instrumentation.Cassandra (>= 1.0.0-beta.2)
- OpenTelemetry.Instrumentation.ElasticsearchClient (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.EntityFrameworkCore (>= 1.12.0-beta.2)
- OpenTelemetry.Instrumentation.Hangfire (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.Quartz (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.StackExchangeRedis (>= 1.12.0-beta.2)
- OpenTelemetry.Instrumentation.Wcf (>= 1.12.0-beta.1)
-
net8.0
- CassandraCSharpDriver (>= 3.22.0)
- Grafana.OpenTelemetry.Base (>= 1.3.0)
- OpenTelemetry.Extensions.Hosting (>= 1.12.0)
- OpenTelemetry.Instrumentation.AspNetCore (>= 1.12.0)
- OpenTelemetry.Instrumentation.AWS (>= 1.12.0)
- OpenTelemetry.Instrumentation.AWSLambda (>= 1.12.0)
- OpenTelemetry.Instrumentation.Cassandra (>= 1.0.0-beta.2)
- OpenTelemetry.Instrumentation.ElasticsearchClient (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.EntityFrameworkCore (>= 1.12.0-beta.2)
- OpenTelemetry.Instrumentation.Hangfire (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.Quartz (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.StackExchangeRedis (>= 1.12.0-beta.2)
- OpenTelemetry.Instrumentation.Wcf (>= 1.12.0-beta.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Grafana.OpenTelemetry:
Package | Downloads |
---|---|
Likvido.Robot
Package Description |
|
Likvido.Web
Package Description |
|
CodeLifter.Platform
Package Description |
|
CodeApp.Observability
Uygulama o11y icin gelistirilmistir |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on Grafana.OpenTelemetry:
Repository | Stars |
---|---|
meysamhadeli/booking-microservices
A practical microservices with the latest technologies and architectures like Vertical Slice Architecture, Event Sourcing, CQRS, DDD, gRpc, MongoDB, RabbitMq, Masstransit, and Aspire in .Net 9.
|
|
mixcore/mix.core
🚀 A future-proof enterprise web CMS supporting both headless and decoupled approaches. Build any type of app with customizable APIs on ASP.NET Core/.NET Core. Completely open-source and designed for flexibility.
|
|
mehdihadeli/vertical-slice-api-template
🍰 An asp.net core template based on .Net 9, Vertical Slice Architecture, CQRS, Minimal APIs, OpenTelemetry, API Versioning and OpenAPI.
|
Version | Downloads | Last Updated |
---|---|---|
1.3.0 | 187 | 8/11/2025 |
1.2.0 | 229,914 | 2/6/2025 |
1.1.0 | 149,377 | 11/15/2024 |
1.0.1 | 119,950 | 9/19/2024 |
0.9.0-beta.1 | 44,574 | 7/30/2024 |
0.8.2-beta.1 | 368 | 7/15/2024 |
0.8.1-beta | 22,322 | 5/9/2024 |
0.7.0-beta.4 | 26,448 | 2/28/2024 |
0.7.0-beta.3 | 1,351 | 1/8/2024 |
0.7.0-beta.2 | 2,514 | 12/19/2023 |
0.7.0-beta.1 | 134 | 12/19/2023 |
0.6.0-beta.3 | 163 | 11/29/2023 |
0.6.0-beta.2 | 506 | 11/20/2023 |
0.6.0-beta.1 | 1,031 | 11/9/2023 |
0.1.1-beta | 126 | 11/1/2023 |