chore: fix deprecated method for opentelemetry
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
3a9d7cceb1
commit
7d764c34ff
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ pub fn setup_log() {
|
|||
.unwrap(),
|
||||
opentelemetry_sdk::runtime::Tokio,
|
||||
)
|
||||
.with_config(opentelemetry_sdk::trace::Config::default().with_resource(resource()))
|
||||
.with_resource(resource())
|
||||
.build();
|
||||
|
||||
global::set_tracer_provider(provider.clone());
|
||||
|
|
Loading…
Reference in a new issue