Class JvmMonitoringInitializer

    • Constructor Detail

      • JvmMonitoringInitializer

        public JvmMonitoringInitializer()
    • Method Detail

      • afterSdkInitialized

        public void afterSdkInitialized​(io.opentelemetry.api.OpenTelemetry openTelemetry,
                                        io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config)
        Description copied from interface: OtelComponent
        Invoked soon after the Otel SDK has been initialized. Created AutoCloseable metering instruments don't have to be closed by Otel components, the OpenTelemetry plugin takes care of this (eg ObservableLongUpDownCounter, ObservableLongCounter...)
        Specified by:
        afterSdkInitialized in interface OtelComponent
        config - ConfigProperties of the newly initialized Otel SDK