Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

feat: Add conventions for http.method and db.operation #924

Merged
merged 4 commits into from
Apr 27, 2023

Conversation

AbhiPrasad
Copy link
Member

@AbhiPrasad AbhiPrasad commented Apr 27, 2023

We need these new conventions for starfish work: getsentry/team-webplatform-meta#60

  • Add http.method
  • Add db.operation
  • Rename http.transfer_size to http.resource_transfer_size
  • Re-organize sections
  • Explicitly add deprecated conventions (need to list since SDKs still send).

@k-fish I'm tagging to make sure that I'm not mucking up any performance detectors with my changes.

@AbhiPrasad AbhiPrasad requested a review from k-fish April 27, 2023 15:02
@vercel
Copy link

vercel bot commented Apr 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
develop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 27, 2023 3:31pm

Comment on lines 20 to 21
| `http.request_content_length` | number | The encoded body size of the request. | `123` |
| `http.decoded_request_body_length` | number | The decoded body size of the request. | `456` |
Copy link
Member

Choose a reason for hiding this comment

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

Ah, I realized there's a mistake here that I merged in my last PR. I think we should be using response and not request

Copy link
Member Author

Choose a reason for hiding this comment

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

you're right! I can update.

@AbhiPrasad
Copy link
Member Author

@narsaynorath I updated, and I also switched it from http.transfer_size to http.response_transfer_size to be a bit more exact. Mind updating the SDK/Sentry PRs for this as well?

@AbhiPrasad
Copy link
Member Author

Merging since we're matching otel for the added attributes, and the rest is cleanup.

@AbhiPrasad AbhiPrasad merged commit a8ef3e1 into master Apr 27, 2023
@AbhiPrasad AbhiPrasad deleted the abhi-starfish-actions-span-data branch April 27, 2023 15:54
Copy link
Member

@narsaynorath narsaynorath left a comment

Choose a reason for hiding this comment

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

lgtm, I can land the change for method -> http.method in by end of week likely. There are just a few spots that use it but it'll have to go up as a new PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants