```docker run --rm -it <http://cr.flyte.org/flyteo...
# flyte-support
f
Copy code
docker run --rm -it <http://cr.flyte.org/flyteorg/datacatalog-release:v1.16.0|cr.flyte.org/flyteorg/datacatalog-release:v1.16.0> /bin/sh
/ $ vi /tmp/otel.yaml
/ $ cat /tmp/otel.yaml
otel:
  file: /tmp/trace.txt
  jaeger:
    endpoint: <http://localhost:14268/api/traces>
  otlpgrpc:
    endpoint: <http://localhost:4317>
  otlphttp:
    endpoint: <http://localhost:4318/v1/traces>
  sampler:
    parentSampler: always
  type: noop
/ $ datacatalog --config /tmp/otel.yaml migrate run
INFO[0000] Using config file: [/tmp/otel.yaml]
Error:

1 error(s) decoding:

* 'file' expected a map, got 'string'
Looks like at a glance the new otel config in the helm chart doesn't match what the various components are expecting.
a
Cc @clean-glass-36808
👀 1
f
https://github.com/flyteorg/flyte/blame/7b7bc7c26e1e6235af71fb11516580d498e09e09/flytestdlib/otelutils/config.go#L64 Yeah, this suggests it should be
Copy code
otel:
  file:
    filename: /tmp/trace.txt
c
I think you can drop the default OTEL values from the helm chart values to work around for now. I think it unconditionally renders it and then only uses them if the type is configured
Will file a fix in a moment
f
Yeah, we can work around, but y'all might wanna fast release a fix, this definitely breaks using the helm chart
c
In our fork where we use OTEL I don't have the defaults rendering out like that which is probably we we didn't catch it (we just use otel gRPC)
@famous-flag-22960 can you verify that fixing the config map / file works
f
Yeah, we just put the
filename:
version in our configmap and things seem fine, or at least, we get past this
Still testing the rest of the 1.16 release 🙂
c
@average-finland-92144 you wanna stamp it?
CC: @cool-lifeguard-49380
c
Thanks for the quick fix 🙏
Would it be possible to backport this to the 1.16.0 release?
One cannot upgrade the helm chart to this release without manually setting a fixed otel config in the helm values.
c
I pushed helm chart v1.16.1. Will try to make an official release soon but this should unblock.
c
Thank you!