Skip to content

Tracing prototype#2936

Closed
martincostello wants to merge 5 commits into
mainfrom
add-tracing
Closed

Tracing prototype#2936
martincostello wants to merge 5 commits into
mainfrom
add-tracing

Conversation

@martincostello

Copy link
Copy Markdown
Member

An initial prototype to experiment with adding tracing around resilience strategy/pipeline execution when telemetry is enabled.

@codecov

codecov Bot commented Feb 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.17%. Comparing base (b87f203) to head (afaef61).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2936      +/-   ##
==========================================
+ Coverage   96.15%   96.17%   +0.01%     
==========================================
  Files         310      310              
  Lines        7135     7157      +22     
  Branches     1005     1008       +3     
==========================================
+ Hits         6861     6883      +22     
  Misses        221      221              
  Partials       53       53              
Flag Coverage Δ
linux 100.00% <100.00%> (+3.84%) ⬆️
macos 96.17% <100.00%> (+0.01%) ⬆️
windows 96.16% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

martincostello added a commit to martincostello/costellobot that referenced this pull request Mar 10, 2026
Consume changes from App-vNext/Polly#2936 for testing.
martincostello added a commit that referenced this pull request Mar 14, 2026
Cherry-pick changes from #2936:

- Move `Meter` to `TelemetrySource` class.
- Use Polly's actual version for the meter's version.
- Extend some test coverage.
- Apply some minor code style refactoring.
martincostello added a commit that referenced this pull request Mar 14, 2026
Cherry-pick changes from #2936:

- Move `Meter` to `TelemetrySource` class.
- Use Polly's actual version for the meter's version.
- Extend some test coverage.
- Apply some minor code style refactoring.
- Move the `Meter` to its own container class.
- Use assembly version for the `Meter` instead of `1.0`.
- Add `ActivitySource` for future use.
Initial prototype of wrapping execution with an Activity when telemetry is enabled.
Move tracer creation to `CompositeComponent` so that it should be enabled in more places.
Add basic tests for tracing.
- Add default tags to the activity.
- Extend test coverage.
@martincostello

Copy link
Copy Markdown
Member Author

Dropping this for now. Might come back to it again at some point.

@martincostello martincostello deleted the add-tracing branch March 14, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant