Azure.Monitor.OpenTelemetry.LiveMetrics
1.0.0-beta.3
Prefix Reserved
Azure.Monitor.OpenTelemetry.AspNetCore
Additional DetailsPlease note, this package is obsolete as of 05/01/2024 and is no longer maintained or monitored. Microsoft encourages you to upgrade to the replacement package, Azure.Monitor.OpenTelemetry.AspNetCore, to continue receiving updates. Refer to our deprecation policy (https://aka.ms/azsdk/support-policies) for more details.
dotnet add package Azure.Monitor.OpenTelemetry.LiveMetrics --version 1.0.0-beta.3
NuGet\Install-Package Azure.Monitor.OpenTelemetry.LiveMetrics -Version 1.0.0-beta.3
<PackageReference Include="Azure.Monitor.OpenTelemetry.LiveMetrics" Version="1.0.0-beta.3" />
paket add Azure.Monitor.OpenTelemetry.LiveMetrics --version 1.0.0-beta.3
#r "nuget: Azure.Monitor.OpenTelemetry.LiveMetrics, 1.0.0-beta.3"
// Install Azure.Monitor.OpenTelemetry.LiveMetrics as a Cake Addin #addin nuget:?package=Azure.Monitor.OpenTelemetry.LiveMetrics&version=1.0.0-beta.3&prerelease // Install Azure.Monitor.OpenTelemetry.LiveMetrics as a Cake Tool #tool nuget:?package=Azure.Monitor.OpenTelemetry.LiveMetrics&version=1.0.0-beta.3&prerelease
Azure Monitor Live Metrics client library for .NET
The OpenTelemetry .NET compatible processor which sends telemetry data to Azure Monitor Live Metrics.
Getting started
Prerequisites
- Azure Subscription: To use Azure services, including Azure Monitor Exporter for OpenTelemetry .NET, you'll need a subscription. If you do not have an existing Azure account, you may sign up for a free trial or use your Visual Studio Subscription benefits when you create an account.
- Azure Application Insights Connection String: To send telemetry data to the monitoring service you'll need connection string from Azure Application Insights. If you are not familiar with creating Azure resources, you may wish to follow the step-by-step guide for Create an Application Insights resource and copy the connection string.
Install the package
Install the Azure Monitor Live Metrics client for OpenTelemetry .NET with NuGet:
dotnet add package Azure.Monitor.OpenTelemetry.LiveMetrics --prerelease
Nightly builds
Nightly builds are available from this repo's dev feed. These are provided without support and are not intended for production workloads.
Add the Live Metrics client
The following examples demonstrate how to add the Live Metrics client to your OpenTelemetry configuration.
Sdk.CreateTracerProviderBuilder()
.AddLiveMetrics(o => o.ConnectionString = "InstrumentationKey=00000000-0000-0000-0000-000000000000")
.Build();
For a complete example see Program.cs
Authenticate the client
Not available in beta.
Key concepts
Examples
Refer to Program.cs
for a complete demo.
Troubleshooting
The Live Metrics client uses EventSource for its own internal logging. The logs are available to any EventListener by opting into the source named "OpenTelemetry-AzureMonitor-LiveMetrics".
OpenTelemetry also provides it's own self-diagnostics feature to collect internal logs.
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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. |
.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. |
-
.NETStandard 2.0
- Azure.Core (>= 1.38.0)
- OpenTelemetry (>= 1.7.0)
- OpenTelemetry.Exporter.Console (>= 1.6.0)
-
net6.0
- Azure.Core (>= 1.38.0)
- OpenTelemetry (>= 1.7.0)
- OpenTelemetry.Exporter.Console (>= 1.6.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.0.0-beta.3 | 68,981 | 3/11/2024 | |
1.0.0-beta.2 | 18,970 | 2/9/2024 | |
1.0.0-beta.1 | 220 | 2/9/2024 |