Skip to content

Commit

Permalink
remove otlp from service name
Browse files Browse the repository at this point in the history
Signed-off-by: Ziy1-Tan <[email protected]>
  • Loading branch information
Ziy1-Tan committed Oct 16, 2024
1 parent a7aed66 commit 53e0fe4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vmm/sandbox/src/bin/cloud_hypervisor/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async fn main() {
tracer::setup_tracing(
&args.log_level.unwrap_or(config.sandbox.log_level()),
enable_tracing,
"kuasar-vmm-sandboxer-clh-otlp-service",
"kuasar-vmm-sandboxer-clh-service",
)
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion vmm/sandbox/src/bin/qemu/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async fn main() {
tracer::setup_tracing(
&config.sandbox.log_level(),
enable_tracing,
"kuasar-vmm-sandboxer-qemu-otlp-service",
"kuasar-vmm-sandboxer-qemu-service",
)
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion vmm/sandbox/src/bin/stratovirt/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async fn main() {
tracer::setup_tracing(
&config.sandbox.log_level(),
enable_tracing,
"kuasar-vmm-sandboxer-stratovirt-otlp-service",
"kuasar-vmm-sandboxer-stratovirt-service",
)
.unwrap();

Expand Down
2 changes: 1 addition & 1 deletion vmm/task/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ fn init_logger(log_level: &str, enable_tracing: bool) -> anyhow::Result<()> {

let mut layers = vec![tracing_subscriber::fmt::layer().boxed()];
if enable_tracing {
let tracer = init_otlp_tracer("kuasar-vmm-task-otlp-service")?;
let tracer = init_otlp_tracer("kuasar-vmm-task-service")?;
layers.push(tracing_opentelemetry::layer().with_tracer(tracer).boxed());
}

Expand Down

0 comments on commit 53e0fe4

Please sign in to comment.