You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/charts/inferencepool/README.md
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,10 +216,20 @@ These are the options available to you with `provider.name` set to `istio`:
216
216
| `istio.destinationRule.host` | Custom host value for the destination rule. If not set this will use the default value which is derrived from the epp service name and release namespace to gerenate a valid service address. |
217
217
| `istio.destinationRule.trafficPolicy.connectionPool` | Configure the connectionPool level settings of the traffic policy |
218
218
219
-
## OpenTelemetry
219
+
#### OpenTelemetry
220
220
221
-
The EndpointPicker supports OpenTelemetry-based tracing. To enable it, use `--set inferenceExtension.tracing.enabled=true`
222
-
and configure the correct OpenTelemetry collector endpoint via `--set inferenceExtension.tracing.otelExporterEndpoint`.
221
+
The EndpointPicker supports OpenTelemetry-based tracing. To enable trace collection, use the following configuration:
222
+
```yaml
223
+
inferenceExtension:
224
+
tracing:
225
+
enabled: true
226
+
otelExporterEndpoint: "http://localhost:4317"
227
+
sampling:
228
+
sampler: "parentbased_traceidratio"
229
+
samplerArg: "0.1"
230
+
```
231
+
Make sure that the `otelExporterEndpoint` points to your OpenTelemetry collector endpoint.
232
+
Current only the `parentbased_traceidratio` sampler is supported. You can adjust the base sampling rate using the `samplerArg` (e.g., 0.1 means 10% of traces will be sampled).
0 commit comments