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

Adds span.kind tag for sidekiq #2419

Merged
merged 1 commit into from
Nov 23, 2022
Merged

Adds span.kind tag for sidekiq #2419

merged 1 commit into from
Nov 23, 2022

Conversation

zarirhamza
Copy link
Contributor

What does this PR do?
Adds span.kind tag for integrations sidekiq

Refer to Opentelemetry for definitions of consumer and producer

The client_tracer enqueues jobs in an asynchronous manner meaning that it gets the producer value for span.kind
The server_tracer completes jobs in an asynchronous manner meaning that it gets the consumer value for span.kind

Note the internal spans are not marked with span.kind but because they are edge spans, there may need to be marked with peer.service down the line to match Otel requirements

@zarirhamza zarirhamza requested a review from a team November 23, 2022 22:03
@github-actions github-actions bot added integrations Involves tracing integrations tracing labels Nov 23, 2022
@marcotc marcotc merged commit 67e2290 into master Nov 23, 2022
@marcotc marcotc deleted the zarir/span_kind_sidekiq branch November 23, 2022 22:19
@github-actions github-actions bot added this to the 1.7.0 milestone Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrations Involves tracing integrations tracing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants