Files
containerd/tracing/plugin
Brian Goff 1ce1c8f3e6 1.7: Add back support for OTLP config from toml
This was broken due to 9360e37169
(backport from main).
The backport should not have broken the toml config so this more or less
restores that.

This treats the env vars as preferred.
It is not perfect since, as an example, `Endpoint` could be set on the
config and the env to set the protocol could be set and these could
conflict, however I think this is an unlikely scenario and people should
use one or the other, not both.

This change converts the config into the relevant environment variables
before initializing tracers.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2024-06-19 15:03:17 +00:00
..