opentelemetry-java-instrume.../instrumentation/executors/metadata.yaml

17 lines
829 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

description: >
The executor instrumentation ensures that context is automatically propagated when using common
Java executors (e.g., ThreadPoolExecutor, ScheduledThreadPoolExecutor, ForkJoinPool). When a task
is submitted, the current context is captured and bound to the task. Then, when the task
eventually runs, even if its on a different thread, the instrumentation reactivates that context,
enabling consistent correlation across concurrent and asynchronous workflows.
configurations:
- name: otel.instrumentation.executors.include
description: List of Executor subclasses to be instrumented.
type: list
default: ""
- name: otel.instrumentation.executors.include-all
description: Whether to instrument all classes that implement the Executor interface.
type: boolean
default: false