[go: nahoru, domu]

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

contrib: standardize span types #288

Merged
merged 3 commits into from
Aug 1, 2018
Merged

contrib: standardize span types #288

merged 3 commits into from
Aug 1, 2018

Conversation

gbbr
Copy link
Contributor
@gbbr gbbr commented Jul 31, 2018

This change adds a set of SpanType* constants to the ext package
outlining all the possible span types that are currently used or can be
used by our pipeline. It also updates the entire codebase to make use of
these constants wherever possible.

The remaining AppType* constants are being discouraged from usage and
should be used only to categorize traces in the UI when no better
alternative exists.

This change adds a set of `SpanType*` constants to the `ext` package
outlining all the possible span types that are currently used or can be
used by the agent. It also updates the entire codebase to make use of
these constants wherever possible.

The remaining `AppType*` constants are being discouraged from usage and
should be used only to categorize traces in the UI when no better
alternative exists.
@gbbr gbbr added enhancement quick change/addition that does not need full team approval core labels Jul 31, 2018
@gbbr gbbr added this to the 1.1.0 milestone Jul 31, 2018
@gbbr gbbr requested a review from erichgess July 31, 2018 11:34
@gbbr gbbr force-pushed the gbbr/spantypes branch 2 times, most recently from 46d0f93 to a392d12 Compare July 31, 2018 12:30
Copy link
@erichgess erichgess left a comment

Choose a reason for hiding this comment

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

LGTM

@gbbr gbbr merged commit edca97f into v1 Aug 1, 2018
@gbbr gbbr deleted the gbbr/spantypes branch September 13, 2018 08:58
mingrammer pushed a commit to mingrammer/dd-trace-go that referenced this pull request Dec 22, 2020
* all: standardize span types

This change adds a set of `SpanType*` constants to the `ext` package
outlining all the possible span types that are currently used or can be
used by the agent. It also updates the entire codebase to make use of
these constants wherever possible.

The remaining `AppType*` constants are being discouraged from usage and
should be used only to categorize traces in the UI when no better
alternative exists.

* ddtrace/ext: add fool-proof test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core enhancement quick change/addition that does not need full team approval
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants