Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Azure Open Telemetry Exporter #1232

Open
RehanSaeed opened this issue Aug 17, 2021 · 0 comments
Open

Add Azure Open Telemetry Exporter #1232

RehanSaeed opened this issue Aug 17, 2021 · 0 comments
Labels
enhancement Issues describing an enhancement or pull requests adding an enhancement. template/API The Swagger API project template template/GraphQL The GraphQL project template template/Orleans The Microsoft Orleans project template

Comments

@RehanSaeed
Copy link
Member

RehanSaeed commented Aug 17, 2021

Add this once it comes out of beta.

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

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

https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter

@RehanSaeed RehanSaeed added enhancement Issues describing an enhancement or pull requests adding an enhancement. template/GraphQL The GraphQL project template template/API The Swagger API project template template/Orleans The Microsoft Orleans project template labels Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues describing an enhancement or pull requests adding an enhancement. template/API The Swagger API project template template/GraphQL The GraphQL project template template/Orleans The Microsoft Orleans project template
Projects
None yet
Development

No branches or pull requests

1 participant