-
Couldn't load subscription status.
- Fork 58
feat(server): modify sampler setting #1880
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
base: main
Are you sure you want to change the base?
Conversation
37081f2 to
6fb80a0
Compare
server/internal/app/app.go
Outdated
| return err | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you move this function to app/internal/adapter/middleware?
server/internal/app/graphql.go
Outdated
|
|
||
| return next(ctx) | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you move codes related with tracer to server/internal/app/tracer?
f523e82 to
b7c217d
Compare
6ca3c73 to
54e0f21
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Overview
Fix the sampler configuration for GCP Tracer.
What I've done
The following changes were made:
1. The parent span for GraphQL was incorrect, causing tracing to fail.
2.Added sampling for REST requests.
What I haven't done
How I tested
Which point I want you to review particularly
Memo