Update the Azure Functions guide to use the OTLP exporter
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 82/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- csharp
- Domain
- documentation
Research direction
Update docs/platforms/dotnet/guides/azure-functions-worker/index.mdx. Compare its package setup and tracing configuration with the Sentry.Samples.OpenTelemetry.AzureFunctions sample on main, then check the .NET OTLP page for the link and details. Replace the obsolete setup and revise the performance tracing sentence; done when the guide matches the sample and no longer recommends the obsolete methods.
Written by the indexing model from the issue text.
Description
The Azure Functions (isolated worker) guide sets up tracing with the Sentry.OpenTelemetry package, TracerProviderBuilder.AddSentry() and SentryOptions.UseOpenTelemetry(). #5586 made those span-processor setup methods obsolete in 6.12.0, in favour of the OTLP exporter added in 6.5.0 (#4899). So a user who follows the guide today gets obsolete warnings.
The Sentry.Samples.OpenTelemetry.AzureFunctions sample on main already uses the OTLP exporter: AddSentryOtlpExporter(dsn) on the tracer provider and options.UseOtlp() on the Sentry options. The guide should match it.
This is accurate for 6.x, so it can merge now.
Page to update in getsentry/sentry-docs
docs/platforms/dotnet/guides/azure-functions-worker/index.mdx:
- Install
Sentry.OpenTelemetry.Exporterinstead ofSentry.OpenTelemetry, and check which of the other OpenTelemetry packages the sample still needs. - Replace
AddSentry()/UseOpenTelemetry()withAddSentryOtlpExporter(dsn)/UseOtlp(), as the sample does, and link to the .NET OTLP page for the details. - Update the sentence "Performance tracing can be enabled by adding Sentry to the OpenTelemetry
TracerProviderBuilderand then configuring Sentry itself to use OpenTelemetry."
getsentry/sentry-docs#19925 (merges at 7.0.0 GA) also edits this page, moving the Sentry options from logging.AddSentry(...) into SentrySdk.Init. Expect a small conflict there when it merges master.
- Dominant language
- C#
- Stars
- 770
- Forks
- 254
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 87
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/sentry-dotnet
-
Bug Platform: Android
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsentry/sentry-dotnet#5764 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
getsentry/sentry-dotnet#5756 · 1 comment ·
Maintainers usually reply within 1 day
-
docs: list supported versions in the MAUI guide and remove TizenPossibly taken @ric-oliv claimed this 8 days ago. Open.NET Docs Framework: MAUI
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
getsentry/sentry-dotnet#5714 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Document the release and environment changes for v7.0.0Possibly taken @jamescrosswell claimed this 10 days ago. Open.NET Docs Next Major
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
getsentry/sentry-dotnet#5709 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Docs MSBuild Needs Docs Update
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getsentry/sentry-dotnet#5691 · 1 comment ·
Maintainers usually reply within 1 day
All issues in getsentry/sentry-dotnet
Similar issues
-
dev/release: verify-release-candidate.sh runs 0 Java tests with Debian's MavenPossibly taken @kou claimed this today. OpenType: bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
apache/arrow-adbc#4947 ·
Maintainers usually reply within 1 day
-
:watch: Not Triaged CAC
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
dotnet/AspNetCore.Docs#38001 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Nimblesite/SharpLsp#468 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
elastic/ecs-dotnet#575 ·
-
alerts bug effort:S P2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
nightscout/nocturne#2511 ·
Maintainers usually reply within 1 day