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

ddtrace/tracer: Add normalization of span duration #973

Merged
merged 7 commits into from
Sep 1, 2021

Conversation

piochelepiotr
Copy link
Collaborator

Right now, duration can be negative, and that can cause the negative sketch to be non empty, which is not a nice behavior.

@piochelepiotr piochelepiotr force-pushed the piotr-wolski/add-normalize-function branch from bebc4d9 to b198ab4 Compare August 5, 2021 16:35
@piochelepiotr piochelepiotr added the bug unintended behavior that has to be fixed label Aug 5, 2021
@piochelepiotr piochelepiotr added this to the 1.32.0 milestone Aug 5, 2021
ddtrace/tracer/span.go Outdated Show resolved Hide resolved
ddtrace/tracer/span_test.go Outdated Show resolved Hide resolved
ddtrace/tracer/span.go Outdated Show resolved Hide resolved
@knusbaum knusbaum modified the milestones: 1.32.0, 1.33.0 Aug 9, 2021
@piochelepiotr piochelepiotr modified the milestone: 1.33.0 Aug 18, 2021
ddtrace/tracer/span.go Outdated Show resolved Hide resolved
profiler/profile_test.go Outdated Show resolved Hide resolved
@felixge felixge modified the milestones: 1.33.0, 1.34.0 Aug 19, 2021
gbbr
gbbr previously approved these changes Aug 19, 2021
Copy link
Contributor

@gbbr gbbr left a comment

Choose a reason for hiding this comment

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

LGTM. Please wait with the merge. We are in ❄️. About to release the next version.

Copy link
Contributor

@gbbr gbbr left a comment

Choose a reason for hiding this comment

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

#973 (review).

I'll merge as soon as we release.

Copy link
Contributor

@knusbaum knusbaum 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
Copy link
Contributor

gbbr commented Aug 30, 2021

@piochelepiotr one small conflict to sort out before merging...

@knusbaum knusbaum merged commit dd69403 into v1 Sep 1, 2021
@knusbaum knusbaum deleted the piotr-wolski/add-normalize-function branch September 1, 2021 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unintended behavior that has to be fixed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants