.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
name = "packager"
|
name = "packager"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
rust-version = "1.74"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "packager"
|
name = "packager"
|
||||||
|
|||||||
@@ -70,8 +70,6 @@ fn get_opentelemetry_layer<
|
|||||||
) -> Option<impl tracing_subscriber::Layer<T>> {
|
) -> Option<impl tracing_subscriber::Layer<T>> {
|
||||||
match config {
|
match config {
|
||||||
OpenTelemetryConfig::Enabled => {
|
OpenTelemetryConfig::Enabled => {
|
||||||
use std::time::Duration;
|
|
||||||
|
|
||||||
use opentelemetry::{global, KeyValue};
|
use opentelemetry::{global, KeyValue};
|
||||||
use opentelemetry_otlp::WithExportConfig as _;
|
use opentelemetry_otlp::WithExportConfig as _;
|
||||||
use opentelemetry_sdk::{
|
use opentelemetry_sdk::{
|
||||||
|
|||||||
Reference in New Issue
Block a user