Skip to content

Commit

Permalink
Updated scheduler docs (tracing)
Browse files Browse the repository at this point in the history
  • Loading branch information
mskacelik committed Dec 4, 2023
1 parent 70cdf67 commit 90c8a86
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/src/main/asciidoc/scheduler-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -417,9 +417,8 @@ 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 then every job execution, either defined with the `@Scheduled` annotation or scheduled programmatically, automatically creates a span named after the job's <<identity>>.[[virtual_threads]]

[[virtual_threads]]
== Run @Scheduled methods on virtual threads

Methods annotated with `@Scheduled` can also be annotated with `@RunOnVirtualThread`.
Expand Down

0 comments on commit 90c8a86

Please sign in to comment.