Azure.Monitor.OpenTelemetry.LiveMetrics 1.0.0-beta.2

Prefix Reserved
Suggested Alternatives

Azure.Monitor.OpenTelemetry.AspNetCore

Additional Details

Please 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.

This is a prerelease version of Azure.Monitor.OpenTelemetry.LiveMetrics.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Azure.Monitor.OpenTelemetry.LiveMetrics --version 1.0.0-beta.2                
NuGet\Install-Package Azure.Monitor.OpenTelemetry.LiveMetrics -Version 1.0.0-beta.2                
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.LiveMetrics" Version="1.0.0-beta.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Azure.Monitor.OpenTelemetry.LiveMetrics --version 1.0.0-beta.2                
#r "nuget: Azure.Monitor.OpenTelemetry.LiveMetrics, 1.0.0-beta.2"                
#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.LiveMetrics as a Cake Addin
#addin nuget:?package=Azure.Monitor.OpenTelemetry.LiveMetrics&version=1.0.0-beta.2&prerelease

// Install Azure.Monitor.OpenTelemetry.LiveMetrics as a Cake Tool
#tool nuget:?package=Azure.Monitor.OpenTelemetry.LiveMetrics&version=1.0.0-beta.2&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

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 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. 
.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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.