Azure.Monitor.OpenTelemetry.Exporter 1.0.0-beta.3

Prefix Reserved
This is a prerelease version of Azure.Monitor.OpenTelemetry.Exporter.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Azure.Monitor.OpenTelemetry.Exporter --version 1.0.0-beta.3                
NuGet\Install-Package Azure.Monitor.OpenTelemetry.Exporter -Version 1.0.0-beta.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Azure.Monitor.OpenTelemetry.Exporter" Version="1.0.0-beta.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Azure.Monitor.OpenTelemetry.Exporter --version 1.0.0-beta.3                
#r "nuget: Azure.Monitor.OpenTelemetry.Exporter, 1.0.0-beta.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Azure.Monitor.OpenTelemetry.Exporter as a Cake Addin
#addin nuget:?package=Azure.Monitor.OpenTelemetry.Exporter&version=1.0.0-beta.3&prerelease

// Install Azure.Monitor.OpenTelemetry.Exporter as a Cake Tool
#tool nuget:?package=Azure.Monitor.OpenTelemetry.Exporter&version=1.0.0-beta.3&prerelease                

Azure Monitor Exporter client library for .NET

The OpenTelemetry .NET exporters which send telemetry data to Azure Monitor following the OpenTelemetry Specification.

Getting started

Prerequisites

Install the package

Latest Version: Nuget

Install the Azure Monitor Exporter for OpenTelemetry .NET with NuGet:

  • via Package Manager:
    Install-Package Azure.Monitor.OpenTelemetry.Exporter
    
  • via .NET CLI:
    dotnet add package Azure.Monitor.OpenTelemetry.Exporter
    

Authenticate the client

Exporter does not use authentication.

Key concepts

This exporter sends traces to the configured Azure Monitor Resource using HTTPS. IP addresses used by the Azure Monitor is documented in IP addresses used by Application Insights and Log Analytics.

Examples

Refer to DemoTrace.cs for a complete demo.

using Azure.Monitor.OpenTelemetry.Exporter;
using OpenTelemetry.Trace;

OpenTelemetry.Sdk.CreateTracerProviderBuilder()
    .AddSource("Demo.DemoClient")
    .AddAzureMonitorTraceExporter(o => {
        o.ConnectionString = "<Your Connection String>";
    })
    .Build();

Troubleshooting

The Azure Monitor exporter uses EventSource for its own internal logging. The exporter logs are available to any EventListener by opting into the source named "OpenTelemetry-AzureMonitor-Exporter".

Next steps

For more information on Azure SDK, please refer to this website

Contributing

See CONTRIBUTING.md for details on contribution process.

Release Schedule

This exporter is under active development.

The library is not yet generally available, and is not officially supported. Future releases will not attempt to maintain backwards compatibility with previous releases. Each beta release includes significant changes to the exporter package, making them incompatible with each other.

Product 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 was computed.  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. 
.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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (18)

Showing the top 5 NuGet packages that depend on Azure.Monitor.OpenTelemetry.Exporter:

Package Downloads
Azure.Monitor.OpenTelemetry.AspNetCore

An OpenTelemetry .NET distro that exports to Azure Monitor

Elvia.Telemetry

Common logging/telemetry functionality to used by all services within the Elvia ecosystem.

Genocs.Tracing

The tracing library to setup OpenTelemetry.

Altinn.App.Api

This class library holds all the API controllers used by a standard Altinn 3 App.

Aksio.Cratis.Kernel.Server

Package Description

GitHub repositories (13)

Showing the top 5 popular GitHub repositories that depend on Azure.Monitor.OpenTelemetry.Exporter:

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
microsoft/dotnet-podcasts
.NET reference application shown at .NET Conf featuring ASP.NET Core, Blazor, .NET MAUI, Microservices, Orleans, Playwright, and more!
Squidex/squidex
Headless CMS and Content Managment Hub
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 9 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 19, React 19, Vue 3.5, BFF with YARP, NextJs 15, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ..
Version Downloads Last updated
1.4.0-beta.2 100,207 10/11/2024
1.4.0-beta.1 100,915 7/16/2024
1.3.0 4,697,525 6/10/2024
1.3.0-beta.2 63,456 5/16/2024
1.3.0-beta.1 177,468 2/8/2024
1.2.0 2,398,605 1/24/2024
1.1.0 880,481 11/29/2023
1.0.0 1,164,535 9/20/2023
1.0.0-beta.14 197,912 8/9/2023
1.0.0-beta.13 251,710 7/14/2023
1.0.0-beta.12 159,370 6/6/2023
1.0.0-beta.11 453,464 5/10/2023
1.0.0-beta.10 107,943 4/11/2023
1.0.0-beta.9 208,972 3/14/2023
1.0.0-beta.8 50,508 3/7/2023
1.0.0-beta.7 103,718 2/6/2023
1.0.0-beta.6 124,446 1/9/2023
1.0.0-beta.5 94,547 11/3/2022
1.0.0-beta.4 415,021 10/6/2022
1.0.0-beta.3 1,198,872 10/5/2021
1.0.0-beta.2 125,673 3/5/2021