Class OpenTelemetryZipkin
java.lang.Object
io.micronaut.projectgen.micronaut.features.opentelemetry.AbstractOpenTelemetry
io.micronaut.projectgen.micronaut.features.opentelemetry.OpenTelemetryZipkin
- All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, Feature, OpenRewriteFeature, OpenTelemetryFeature
@Requires(property="micronaut.starter.feature.tracing.opentelemetry.zipkin.enabled",
value="true",
defaultValue="true")
@Singleton
public class OpenTelemetryZipkin
extends AbstractOpenTelemetry
implements OpenRewriteFeature
Feature that provides OpenTelemetry Zipkin integration for Micronaut applications.
This feature adds OpenTelemetry support with Zipkin as the exporter for distributed tracing.
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionOpenTelemetryZipkin(OpenTelemetry otel, OpenTelemetryHttp otelHttp, OpenTelemetryAnnotations otelAnnotations, OpenTelemetryGrpc openTelemetryGrpc, OpenTelemetryExporterZipkin openTelemetryExporterZipkin) Creates a new OpenTelemetryZipkin with the required OpenTelemetry components. -
Method Summary
Modifier and TypeMethodDescription@NonNull String@NonNull StringgetName()The name of the feature.getRecipes(GeneratorContext generatorContext) getTitle()Methods inherited from class AbstractOpenTelemetry
processSelectedFeaturesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface Feature
getOrder, isCommunity, isPreview, isVisible, processSelectedFeaturesMethods inherited from interface OpenRewriteFeature
apply, getFrameworkDocumentation, getThirdPartyDocumentation, processRecipesMethods inherited from interface OpenTelemetryFeature
getCategory, supports
-
Constructor Details
-
OpenTelemetryZipkin
public OpenTelemetryZipkin(OpenTelemetry otel, OpenTelemetryHttp otelHttp, OpenTelemetryAnnotations otelAnnotations, OpenTelemetryGrpc openTelemetryGrpc, OpenTelemetryExporterZipkin openTelemetryExporterZipkin) Creates a new OpenTelemetryZipkin with the required OpenTelemetry components.- Parameters:
otel- the base OpenTelemetry featureotelHttp- the OpenTelemetry HTTP featureotelAnnotations- the OpenTelemetry annotations featureopenTelemetryGrpc- the OpenTelemetry gRPC featureopenTelemetryExporterZipkin- the OpenTelemetry Zipkin exporter feature
-
-
Method Details
-
getName
Description copied from interface:FeatureThe name of the feature. It must be unique.- Specified by:
getNamein interfaceFeature- Specified by:
getNamein interfaceio.micronaut.core.naming.Named- Specified by:
getNamein interfaceOpenTelemetryFeature- Returns:
- the name of the feature
-
getTitle
-
getDescription
- Specified by:
getDescriptionin interfaceio.micronaut.core.naming.Described- Specified by:
getDescriptionin interfaceFeature
-
getRecipes
- Specified by:
getRecipesin interfaceOpenRewriteFeature
-