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

do not start start traces in the producer instrumentation, related to #1115 #1125

Merged

Conversation

ivantopo
Copy link
Contributor

Introduces a new setting start-trace-on-producer that determines whether the producer instrumentation should start a new Span (and trace) when producing a message without any current trace on the producing application. In most cases you don't want that, so we are defaulting it to no.

This will prevent apps from creating unnecessary spans on the producer side that can in turn generate A LOT of spans on the consumer side.

Copy link
Contributor

@OriolMunoz OriolMunoz left a comment

Choose a reason for hiding this comment

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

just a tiny change :D

Co-authored-by: Oriol Muñoz Princep <20519866+OriolMunoz@users.noreply.github.com>
@ivantopo ivantopo merged commit a4e590e into kamon-io:master Mar 7, 2022
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.

2 participants