-
Notifications
You must be signed in to change notification settings - Fork 8.4k
docs: update otel documentation #10912
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?
Changes from 4 commits
8bad9a4
87d750e
6bf7bac
003f04c
580fd60
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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. Related issue: #10966 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -152,9 +152,6 @@ To install the example and collectors run: | |
```yaml | ||
opentelemetry: | ||
enabled: true | ||
image: registry.k8s.io/ingress-nginx/opentelemetry:v20230527@sha256:fd7ec835f31b7b37187238eb4fdad4438806e69f413a203796263131f4f02ed0 | ||
containerSecurityContext: | ||
allowPrivilegeEscalation: false | ||
``` | ||
|
||
2. Enable OpenTelemetry and set the otlp-collector-host: | ||
|
@@ -165,17 +162,11 @@ To install the example and collectors run: | |
kind: ConfigMap | ||
data: | ||
enable-opentelemetry: "true" | ||
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. I'd rather keep the sample configmap as it is. It would make sense those who visit this page, also know about the options before going through the configs on the other pages. |
||
opentelemetry-config: "/etc/ingress-controller/telemetry/opentelemetry.toml" | ||
opentelemetry-operation-name: "HTTP $request_method $service_name $uri" | ||
opentelemetry-trust-incoming-span: "true" | ||
otlp-collector-host: "otel-coll-collector.otel.svc" | ||
otlp-collector-port: "4317" | ||
otel-max-queuesize: "2048" | ||
otel-schedule-delay-millis: "5000" | ||
otel-max-export-batch-size: "512" | ||
otel-service-name: "nginx-proxy" # Opentelemetry resource name | ||
otel-sampler: "AlwaysOn" # Also: AlwaysOff, TraceIdRatioBased | ||
otel-sampler-ratio: "1.0" | ||
otel-sampler: "TraceIdRatioBased" # Also: AlwaysOff, TraceIdRatioBased. | ||
otel-sampler-ratio: "0.5" | ||
otel-sampler-parent-based: "false" | ||
metadata: | ||
name: ingress-nginx-controller | ||
|
Uh oh!
There was an error while loading. Please reload this page.