Class OpenTelemetryExporterFeature
java.lang.Object
io.micronaut.projectgen.micronaut.features.opentelemetry.OpenTelemetryExporterFeature
- All Implemented Interfaces:
io.micronaut.core.naming.Described,io.micronaut.core.naming.Named,io.micronaut.core.order.Ordered,Feature,OpenTelemetryFeature
- Direct Known Subclasses:
OpenTelemetryExporterGoogleCloudTrace,OpenTelemetryExporterJaeger,OpenTelemetryExporterLogging,OpenTelemetryExporterOtlp,OpenTelemetryExporterZipkin
Abstract base class for OpenTelemetry exporter features in Micronaut.
Provides common functionality for OpenTelemetry exporters with configurable names and descriptions.
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract @NonNull StringReturns the name of the exporter.@NonNull String@NonNull StringgetName()The name of the feature.@NonNull StringgetTitle()booleanSome features should not be visible to the user because they are a common parent of other selectable features, or they should always be applied, or any other reason.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface io.micronaut.projectgen.core.feature.Feature
apply, getFrameworkDocumentation, getOrder, getThirdPartyDocumentation, isCommunity, isPreview, processSelectedFeaturesMethods inherited from interface io.micronaut.projectgen.micronaut.features.opentelemetry.OpenTelemetryFeature
getCategory, supports
-
Constructor Details
-
OpenTelemetryExporterFeature
public OpenTelemetryExporterFeature()
-
-
Method Details
-
isVisible
public boolean isVisible()Description copied from interface:FeatureSome features should not be visible to the user because they are a common parent of other selectable features, or they should always be applied, or any other reason. -
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
-
exporterName
Returns the name of the exporter.- Returns:
- the exporter name
-