ripe-intern-70240
01/15/2025, 6:48 PMjolly-florist-66728
01/15/2025, 6:48 PMotel
section in your configuration to use otlpgrpc
as the type. You will also need to specify the endpoint for the OTLP gRPC collector.
Here's a basic example of what you might add to your Helm chart values:
otel:
type: otlpgrpc
otlpgrpc:
endpoint: "<http://your-otlp-grpc-collector-endpoint:4317>"
sampler:
parentSampler: always
Would you like more detail on configuring other aspects of the OTEL settings?
Sources:
- Flyte documentation 👍 1 button 👎 0 button 💡 Hint: Mention @ancient-wolf-19325 in the thread for followups.ripe-intern-70240
01/15/2025, 6:52 PMjolly-florist-66728
01/15/2025, 6:52 PMenv
section for each service like this:
flyteadmin:
env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: "<http://your-otlp-grpc-collector-endpoint:4317>"
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: "grpc"
flytepropeller:
env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: "<http://your-otlp-grpc-collector-endpoint:4317>"
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: "grpc"
flytescheduler:
env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: "<http://your-otlp-grpc-collector-endpoint:4317>"
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: "grpc"
datacatalog:
env:
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: "<http://your-otlp-grpc-collector-endpoint:4317>"
- name: OTEL_EXPORTER_OTLP_PROTOCOL
value: "grpc"
Would you like more detail on how to apply these settings or verify them?
Sources:
- https://github.com/flyteorg/flyte/blob/master/charts/flyte/values.yaml 👍 1 button 👎 0 button 💡 Hint: Mention @ancient-wolf-19325 in the thread for followups.ripe-intern-70240
01/15/2025, 6:54 PMjolly-florist-66728
01/15/2025, 6:54 PMapiVersion: v1
kind: ConfigMap
metadata:
name: flyte-otel-config
data:
otel-config.yaml: |
otel:
type: otlpgrpc
otlpgrpc:
endpoint: "<http://your-otlp-grpc-collector-endpoint:4317>"
sampler:
parentSampler: always
2. Reference the ConfigMap in Helm Values: Update your Helm chart values to use this ConfigMap.
flyteadmin:
configMap: flyte-otel-config
flytepropeller:
configMap: flyte-otel-config
flytescheduler:
configMap: flyte-otel-config
datacatalog:
configMap: flyte-otel-config
Would you like more detail on creating and applying ConfigMaps in Kubernetes?
Sources:
- Flyte GitHub pull request 👍 0 button 👎 1 button 💡 Hint: Mention @ancient-wolf-19325 in the thread for followups.average-finland-92144
01/15/2025, 6:56 PMconfigmap.core.propeller.otel
ripe-intern-70240
01/15/2025, 7:01 PMripe-intern-70240
01/15/2025, 7:03 PMaverage-finland-92144
01/15/2025, 7:04 PMripe-intern-70240
01/16/2025, 3:49 PMpropeller:
otel:
otlpgrpc:
endpoint: '<http://otelcollector.observability.svc.cluster.local:4317>'
type: otlpgrpc
can you please confirm this is correct? I don't see any traces and nothing shows up in the propeller pod logs, like an error for not being able to connect to the collector.
btw, what calls are traced?average-finland-92144
01/16/2025, 4:19 PMconfigmap.otel
directly? There's a propeller
section under the propeller config which may be causing that this config is not having any implicationaverage-finland-92144
01/16/2025, 4:21 PMripe-intern-70240
01/17/2025, 6:12 PMconfigmap.core.otel
and it worked 😉average-finland-92144
01/17/2025, 6:13 PMripe-intern-70240
01/17/2025, 6:19 PMRegisterTracerProviderWithContext
is also called in flyteadmin and datacatalog, besides flytepropeller. or is cmd/single
the entrypoint for all services which enables all providers?