io.quarkus.micrometer.runtime.export.exemplars.OpenTelemetryContextUnwrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-micrometer Show documentation
Show all versions of quarkus-micrometer Show documentation
Instrument the runtime and your application with dimensional metrics using Micrometer.
package io.quarkus.micrometer.runtime.export.exemplars;
import java.util.function.Function;
public interface OpenTelemetryContextUnwrapper {
/**
* Called when an HTTP server response has ended.
* Makes sure exemplars are produced because they have an OTel context.
*
* @param methodReference Ex: Sample stop method reference
* @param parameter The parameter to pass to the method
* @param requestContext The request context
* @param The parameter type is a type of metric, ex: Timer
* @param The return type of the method pointed by the methodReference
* @return The result of the method
*/
R executeInContext(Function
methodReference, P parameter, io.vertx.core.Context requestContext);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy