Azure Monitor Exporter client library for .NET

The OpenTelemetry .NET exporters which send telemetry data to Azure Monitor following the OpenTelemetry Specification. Latest Version: Install the Azure Monitor Exporter for OpenTelemetry .NET with NuGet:

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:

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.

ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnplonJ%2Bpu6bAjnqxrqqVY5qwusitpqtmf6Wyr6DEpZymnaSnxm%2BR16mmq6yVp3xyeo9nZ2aalamub3%2BOoqWdnahjtbW5yw%3D%3D

 Share!