-
Notifications
You must be signed in to change notification settings - Fork 179
[traces] init the trace sdk #1638
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
Changes from all commits
24ec28c
2a3e397
8cc4e8c
831ba43
154f6fc
1241044
0ec310d
14fce18
931dfa1
bbb49c6
c6a6e42
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,12 @@ inferenceExtension: | |
|
||
gke: | ||
enabled: false | ||
tracing: | ||
enabled: false | ||
otelExporterEndpoint: "http://localhost:4317" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we think it's "rare" for users to configre the endpoint and sampling params? If so, I suggest not including them here, and just let those rare, advanced users to configure via the env var section directly. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @liu-cong Most of the time, users should set a real OTel collector address, so I think it's a very useful setting. And for sampling, it is also a common setting for tracing configuration. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 that the endpoint and the sampling rate are commonly configured fields. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sorry, naive question, the above means we are expecting a process to start within the pod at 4317, who is starting it? also, what does a "real OTel collector" mean? an external service? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should be the user to start an opentelemetry collector that exposed 4317 and 4318 ports for gRPC and HTTP request. The SDK will then send the trace to the collector, before forwarding to other backends. So yes, it's an external service that require manual deployment. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So the default we expect is for the user to start it as a sidecar? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It can be a sidecar, deployment, or a daemonset. Depending on the users configuration. |
||
sampling: | ||
sampler: "parentbased_traceidratio" | ||
samplerArg: "0.1" | ||
|
||
inferencePool: | ||
targetPorts: | ||
|
@@ -85,4 +91,4 @@ istio: | |
trafficPolicy: {} | ||
# connectionPool: | ||
# http: | ||
# maxRequestsPerConnection: 256000 | ||
# maxRequestsPerConnection: 256000 |
Uh oh!
There was an error while loading. Please reload this page.