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

requests: always record span status code in duration metrics #3323

Merged
merged 9 commits into from
Mar 6, 2025

Conversation

emdneto
Copy link
Member

@emdneto emdneto commented Mar 3, 2025

Description

Fixes #3261

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • tox

Does This PR Require a Core Repo Change?

  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

Signed-off-by: emdneto <[email protected]>
@emdneto emdneto changed the title requests: always record span status code to have it available in metrics requests: always record span status code in duration metrics Mar 3, 2025
@emdneto emdneto requested a review from a team as a code owner March 3, 2025 21:48
Copy link
Contributor

@tammy-baylis-swi tammy-baylis-swi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@shalevr shalevr enabled auto-merge (squash) March 6, 2025 08:50
@shalevr shalevr merged commit 23cadea into open-telemetry:main Mar 6, 2025
712 checks passed
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.

RequestsInstrumentor metrics attributes exclude http.response.status_code if not sampled
5 participants