opentelemetry-python-contrib
opentelemetry-python-contrib copied to clipboard
feat(flask,wsgi): Add exemplars to metrics
Description
Close the request span after publishing the metrics to allow exemplar generation.
Fixes #2158
Type of change
- New feature (non-breaking change which adds functionality)
How Has This Been Tested?
TBD
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.
- [x] Followed the style guidelines of this project
- [x] Changelogs have been updated
- [ ] Unit tests have been added
- [ ] Documentation has been updated
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: AlexisBRENON / name: Alexis BRENON (fe3e35afc304c3c8fafb391c644b4a125e8a9b05)
@thanks for the PR, could you please rebase on latest main and fix conflicts please?
Should I update it to make exemplars available as soon as it is in the SDK ? Else, we should probably close the PR.
@AlexisBRENON Please reopen once exemplars are available in the SDK.