From 2120b1bbdf109107a888deea4e319ba3e9fd9a51 Mon Sep 17 00:00:00 2001 From: Marek Skacelik Date: Mon, 4 Dec 2023 13:14:31 +0100 Subject: [PATCH] Updated scheduler docs (tracing) --- docs/src/main/asciidoc/scheduler-reference.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/scheduler-reference.adoc b/docs/src/main/asciidoc/scheduler-reference.adoc index b999361cdb3978..5ec5f9e9bf19eb 100644 --- a/docs/src/main/asciidoc/scheduler-reference.adoc +++ b/docs/src/main/asciidoc/scheduler-reference.adoc @@ -417,8 +417,7 @@ If the xref:smallrye-metrics.adoc[SmallRye Metrics extension] is present, then a == OpenTelemetry Tracing -If `quarkus.scheduler.tracing.enabled` is set to `true` and the xref:opentelemetry.adoc[OpenTelemetry extension] is present then the `@io.opentelemetry.instrumentation.annotations.WithSpan` annotation is added automatically to every `@Scheduled` method. As a result, each execution of this method has a new `io.opentelemetry.api.trace.Span` associated. - +If `quarkus.scheduler.tracing.enabled` is set to `true` and the xref:opentelemetry.adoc[OpenTelemetry extension] is present, every job execution, whether using the `@Scheduled` annotation or programmatic scheduling, automatically creates a span named after the job's identity. [[virtual_threads]] == Run @Scheduled methods on virtual threads