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

tracing: do not set tags when setting stats #61158

Merged
merged 2 commits into from
Feb 26, 2021

Conversation

yuzefovich
Copy link
Member

@yuzefovich yuzefovich commented Feb 26, 2021

colflow: do not set redundant tag on the tracing span

This is unnecessary given that we're setting the componentID below that
includes the flowID.

Release justification: low-risk update to new functionality.

Release note: None

tracing: do not set tags when setting stats

We no longer need to set tags on the tracing span in order to propagate
stats since we now propagate that info as a whole object (at the moment,
twice - as a Structured payload and as DeprecatedStats protobuf; the
latter will be removed after 21.1 branch is cut).

Addresses: #59379.

Release justification: low-risk update to new functionality.

Release note: None

This is unnecessary given that we're setting the componentID below that
includes the flowID.

Release justification: low-risk update to new functionality.

Release note: None
@yuzefovich yuzefovich requested review from asubiotto and a team February 26, 2021 00:37
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@yuzefovich yuzefovich changed the title colflow: do not set redundant tag on the tracing span tracing: do not set tags when setting stats Feb 26, 2021
We no longer need to set tags on the tracing span in order to propagate
stats since we now propagate that info as a whole object (at the moment,
twice - as a Structured payload and as DeprecatedStats protobuf; the
latter will be removed after 21.1 branch is cut).

Release justification: low-risk update to new functionality.

Release note: None
Copy link
Member

@RaduBerinde RaduBerinde left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @asubiotto)

@yuzefovich
Copy link
Member Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Feb 26, 2021

Build succeeded:

@craig craig bot merged commit e4987e4 into cockroachdb:master Feb 26, 2021
@yuzefovich yuzefovich deleted the colflow-tag branch February 26, 2021 05:03
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.

3 participants