Interface OpenTelemetryResourceConfig
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
OpenTelemetryResourceConfig.BuilderBase.OpenTelemetryResourceConfigImpl
OpenTelemetry resource settings shared by all configured signals.
Optional values left unspecified do not add or override resource attributes.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forOpenTelemetryResourceConfig.static classOpenTelemetryResourceConfig.BuilderBase<BUILDER extends OpenTelemetryResourceConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends OpenTelemetryResourceConfig>Fluent API builder base forOpenTelemetryResourceConfig. -
Method Summary
Modifier and TypeMethodDescriptionOptional<io.opentelemetry.api.common.AttributesBuilder> Additional resource attributes shared by all configured signals.builder()Create a new fluent API builder to customize configuration.builder(OpenTelemetryResourceConfig instance) Create a new fluent API builder from an existing instance.Identifier of the container in which the service instance is running.Name of the container image on which the container was built.Repository digests of the container image as reported by the container runtime.Tags of the container image on which the container was built.static OpenTelemetryResourceConfigcreate()Create a new instance with default values.static OpenTelemetryResourceConfigCreate a new instance from configuration.Name of the deployment environment.Identifier for this service instance.Namespace for the service.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
serviceNamespace
-
serviceInstanceId
-
deploymentEnvironmentName
-
containerId
-
containerImageName
-
containerImageTags
-
containerImageRepoDigests
-
attributes
Optional<io.opentelemetry.api.common.AttributesBuilder> attributes()Additional resource attributes shared by all configured signals.- Returns:
- additional resource attributes
-