opentelemetry-rust icon indicating copy to clipboard operation
opentelemetry-rust copied to clipboard

SDK autoconfigure

Open slinkydeveloper opened this issue 3 years ago • 2 comments

Hi all, I'm using sdk autoconfigure on Java and I was wondering, is there something similar for the rust sdk? Is not, is there any plan/idea to implement it?

slinkydeveloper avatar Oct 10 '22 13:10 slinkydeveloper

Some of these variables work as-is. It's a work in progress. See https://github.com/open-telemetry/opentelemetry-rust/issues/774

lf- avatar Oct 11 '22 03:10 lf-

Yeah the env config for each crate should be supported, there are some features like being able to select an exporter via variables that would require having all the exporters as dependencies. If someone wanted to maintain a new crate that provided that functionality it would also be possible.

jtescher avatar Oct 11 '22 17:10 jtescher