feat: add Paramore.Brighter.Extensions.OpenTelemetry package#4020
Merged
iancooper merged 3 commits intoFeb 19, 2026
Merged
Conversation
Adds a new package that provides a single-call OpenTelemetryBuilder.AddBrighterInstrumentation() extension method, wiring both tracing and metrics in one call. This delegates to the existing TracerProviderBuilder and MeterProviderBuilder extensions from Extensions.Diagnostics. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Member
|
Thanks @thomhurst. Trying to clear some build/test issues (capitalizing on your work to allow us to run in parallel), then we can address this. Can you add a (short) ADR, just to follow the process? It helps us as we can generate documentation from the ADRs and we need to do a batch of that with the next release. |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
|
Sure thing! ADR committed. Let me know if ya need any help with tests |
There was a problem hiding this comment.
Gates Passed
4 Quality Gates Passed
See analysis details in CodeScene
Quality Gate Profile: Clean Code Collective
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.
DevJonny
pushed a commit
to DevJonny/Brighter
that referenced
this pull request
Feb 28, 2026
…rCommand#4020) * feat: add Paramore.Brighter.Extensions.OpenTelemetry package Adds a new package that provides a single-call OpenTelemetryBuilder.AddBrighterInstrumentation() extension method, wiring both tracing and metrics in one call. This delegates to the existing TracerProviderBuilder and MeterProviderBuilder extensions from Extensions.Diagnostics. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * docs: add ADR 0039 for OpenTelemetry builder extension Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Ian Cooper <ian_hammond_cooper@yahoo.co.uk>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Paramore.Brighter.Extensions.OpenTelemetrypackage that provides a singleOpenTelemetryBuilder.AddBrighterInstrumentation()extension methodTracerProviderBuilderandMeterProviderBuilderextensions fromExtensions.DiagnosticsUsage
Files changed
src/Paramore.Brighter.Extensions.OpenTelemetry/Paramore.Brighter.Extensions.OpenTelemetry.csproj— targetsnet8.0;net9.0;net10.0, referencesExtensions.Diagnostics+OpenTelemetry.Extensions.Hostingsrc/Paramore.Brighter.Extensions.OpenTelemetry/OpenTelemetryBuilderExtensions.cs— the extension methodBrighter.slnx— added new project to solutionTest plan
dotnet build src/Paramore.Brighter.Extensions.OpenTelemetry/succeeds with 0 warnings, 0 errors across all 3 TFMsdotnet build Brighter.slnx) passes in CI🤖 Generated with Claude Code