クラス OpenTelemetryEventPublisherBeansApplicationListener

java.lang.ObjectSE
org.springframework.boot.micrometer.tracing.opentelemetry.autoconfigure.OpenTelemetryEventPublisherBeansApplicationListener
実装されているすべてのインターフェース:
EventListenerSE, ApplicationListener<ApplicationEvent>, GenericApplicationListener, SmartApplicationListener, Ordered

public class OpenTelemetryEventPublisherBeansApplicationListener extends ObjectSE implements GenericApplicationListener
ApplicationListener は、OtelTracer.EventPublisher Bean サポート用の OpenTelemetry ContextStorage ラッパーを追加します。ApplicationStartingEvent に単一の ContextStorage ラッパーが追加され、必要に応じて OtelTracer.EventPublisher Bean で更新されます。

ApplicationStartingEvent が十分に早く呼び出されなかったり、起動されなかったりした場合は、addWrapper() メソッドが直接呼び出されることもあります。

導入:
4.0.0
作成者:
Phillip Webb
関連事項: