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

NOISSUE - Add Service Layer Tracing #29

Merged
merged 3 commits into from
Jul 25, 2023

Conversation

rodneyosodo
Copy link
Contributor

@rodneyosodo rodneyosodo commented Jul 25, 2023

No description provided.

Signed-off-by: rodneyosodo <[email protected]>
@rodneyosodo rodneyosodo changed the title NOISSUE - Add Service Layer Tracing DRAFT - Add Service Layer Tracing Jul 25, 2023
@rodneyosodo rodneyosodo changed the title DRAFT - Add Service Layer Tracing NOISSUE - Add Service Layer Tracing Jul 25, 2023
}

func (tm *tracingMiddleware) Run(ctx context.Context, cmp agent.Computation) (string, error) {
ctx, span := tm.tracer.Start(context.Background(), "run", trace.WithAttributes(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you explain me briefly why we're using here context.Background() instead of ctx passed as an argument. I don't say we should, but I'm not sure.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was an over sight.

internal/jaeger/provider.go Show resolved Hide resolved
Signed-off-by: rodneyosodo <[email protected]>
Copy link
Collaborator

@darkodraskovic darkodraskovic left a comment

Choose a reason for hiding this comment

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

LGTM

@darkodraskovic darkodraskovic merged commit 0d3630a into main Jul 25, 2023
1 check passed
@darkodraskovic darkodraskovic deleted the NOISSUE-servicelayertracing branch July 25, 2023 15:44
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