Uses of Interface
io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties
Packages that use ConfigProperties
Package
Description
Internal utilities for exporters.
Java SPI (Service Provider Interface) for implementing extensions to SDK autoconfiguration.
Java SPI (Service Provider Interface) for implementing extensions to SDK autoconfiguration of
logs.
Java SPI (Service Provider Interface) for implementing extensions to SDK autoconfiguration of
metrics.
Java SPI (Service Provider Interface) for implementing extensions to SDK autoconfiguration of
traces.
-
Uses of ConfigProperties in io.opentelemetry.exporter.internal
Methods in io.opentelemetry.exporter.internal with parameters of type ConfigPropertiesModifier and TypeMethodDescriptionstatic voidExporterBuilderUtil.configureExporterMemoryMode(ConfigProperties config, Consumer<MemoryMode> memoryModeConsumer) Invoke thememoryModeConsumerwith the configuredMemoryMode.static voidExporterBuilderUtil.configureOtlpAggregationTemporality(ConfigProperties config, Consumer<AggregationTemporalitySelector> aggregationTemporalitySelectorConsumer) Invoke theaggregationTemporalitySelectorConsumerwith the configuredAggregationTemporality.static voidExporterBuilderUtil.configureOtlpHistogramDefaultAggregation(ConfigProperties config, Consumer<DefaultAggregationSelector> defaultAggregationSelectorConsumer) Invoke thedefaultAggregationSelectorConsumerwith the configuredDefaultAggregationSelector. -
Uses of ConfigProperties in io.opentelemetry.exporter.otlp.internal
Methods in io.opentelemetry.exporter.otlp.internal with parameters of type ConfigPropertiesModifier and TypeMethodDescriptionstatic voidOtlpConfigUtil.configureOtlpExporterBuilder(String dataType, ConfigProperties config, Consumer<String> setEndpoint, BiConsumer<String, String> addHeader, Consumer<String> setCompression, Consumer<Duration> setTimeout, Consumer<byte[]> setTrustedCertificates, BiConsumer<byte[], byte[]> setClientTls, Consumer<RetryPolicy> setRetryPolicy, Consumer<MemoryMode> setMemoryMode) Invoke the setters with the OTLP configuration for thedataType.OtlpLogRecordExporterProvider.createExporter(ConfigProperties config) OtlpMetricExporterProvider.createExporter(ConfigProperties config) OtlpSpanExporterProvider.createExporter(ConfigProperties config) static StringOtlpConfigUtil.getOtlpProtocol(String dataType, ConfigProperties config) Determine the configured OTLP protocol for thedataType. -
Uses of ConfigProperties in io.opentelemetry.sdk.autoconfigure
Methods in io.opentelemetry.sdk.autoconfigure with parameters of type ConfigPropertiesModifier and TypeMethodDescriptionstatic ResourceResourceConfiguration.createEnvironmentResource(ConfigProperties config) Create aResourcefrom the environment.Method parameters in io.opentelemetry.sdk.autoconfigure with type arguments of type ConfigPropertiesModifier and TypeMethodDescriptionAutoConfiguredOpenTelemetrySdkBuilder.addLoggerProviderCustomizer(BiFunction<SdkLoggerProviderBuilder, ConfigProperties, SdkLoggerProviderBuilder> loggerProviderCustomizer) Adds aBiFunctionto invoke the with theSdkLoggerProviderBuilderto allow customization.AutoConfiguredOpenTelemetrySdkBuilder.addLogRecordExporterCustomizer(BiFunction<? super LogRecordExporter, ConfigProperties, ? extends LogRecordExporter> logRecordExporterCustomizer) Adds aBiFunctionto invoke with the default autoconfiguredLogRecordExporterto allow customization.AutoConfiguredOpenTelemetrySdkBuilder.addLogRecordProcessorCustomizer(BiFunction<? super LogRecordProcessor, ConfigProperties, ? extends LogRecordProcessor> logRecordProcessorCustomizer) Adds aBiFunctionto invoke for all autoconfiguredLogRecordProcessors.AutoConfiguredOpenTelemetrySdkBuilder.addMeterProviderCustomizer(BiFunction<SdkMeterProviderBuilder, ConfigProperties, SdkMeterProviderBuilder> meterProviderCustomizer) Adds aBiFunctionto invoke the with theSdkMeterProviderBuilderto allow customization.AutoConfiguredOpenTelemetrySdkBuilder.addMetricExporterCustomizer(BiFunction<? super MetricExporter, ConfigProperties, ? extends MetricExporter> metricExporterCustomizer) Adds aBiFunctionto invoke with the default autoconfiguredSpanExporterto allow customization.AutoConfiguredOpenTelemetrySdkBuilder.addMetricReaderCustomizer(BiFunction<? super MetricReader, ConfigProperties, ? extends MetricReader> readerCustomizer) Adds aBiFunctionto invoke with the autoconfiguredMetricReaderto allow customization.AutoConfiguredOpenTelemetrySdkBuilder.addPropagatorCustomizer(BiFunction<? super TextMapPropagator, ConfigProperties, ? extends TextMapPropagator> propagatorCustomizer) Adds aBiFunctionto invoke with the default autoconfiguredTextMapPropagatorto allow customization.AutoConfiguredOpenTelemetrySdkBuilder.addPropertiesCustomizer(Function<ConfigProperties, Map<String, String>> propertiesCustomizer) Adds aFunctionto invoke the with theConfigPropertiesto allow customization.AutoConfiguredOpenTelemetrySdkBuilder.addResourceCustomizer(BiFunction<? super Resource, ConfigProperties, ? extends Resource> resourceCustomizer) Adds aBiFunctionto invoke with the default autoconfiguredResourceto allow customization.AutoConfiguredOpenTelemetrySdkBuilder.addSamplerCustomizer(BiFunction<? super Sampler, ConfigProperties, ? extends Sampler> samplerCustomizer) Adds aBiFunctionto invoke with the default autoconfiguredSamplerto allow customization.AutoConfiguredOpenTelemetrySdkBuilder.addSpanExporterCustomizer(BiFunction<? super SpanExporter, ConfigProperties, ? extends SpanExporter> spanExporterCustomizer) Adds aBiFunctionto invoke with the default autoconfiguredSpanExporterto allow customization.AutoConfiguredOpenTelemetrySdkBuilder.addSpanProcessorCustomizer(BiFunction<? super SpanProcessor, ConfigProperties, ? extends SpanProcessor> spanProcessorCustomizer) Adds aBiFunctionto invoke for all autoconfiguredSpanProcessor.AutoConfiguredOpenTelemetrySdkBuilder.addTracerProviderCustomizer(BiFunction<SdkTracerProviderBuilder, ConfigProperties, SdkTracerProviderBuilder> tracerProviderCustomizer) Adds aBiFunctionto invoke the with theSdkTracerProviderBuilderto allow customization. -
Uses of ConfigProperties in io.opentelemetry.sdk.autoconfigure.internal
Methods in io.opentelemetry.sdk.autoconfigure.internal that return ConfigPropertiesModifier and TypeMethodDescriptionstatic ConfigPropertiesAutoConfigureUtil.getConfig(AutoConfiguredOpenTelemetrySdk autoConfiguredOpenTelemetrySdk) Returns theConfigPropertiesused for auto-configuration.Methods in io.opentelemetry.sdk.autoconfigure.internal with parameters of type ConfigPropertiesModifier and TypeMethodDescriptionEnvironmentResourceProvider.createResource(ConfigProperties config) <T,S> NamedSpiManager <T> SpiHelper.loadConfigurable(Class<S> spiClass, Function<S, String> getName, BiFunction<S, ConfigProperties, T> getConfigurable, ConfigProperties config) Load implementations of an SPI which are configurable (i.e. they acceptConfigProperties.Method parameters in io.opentelemetry.sdk.autoconfigure.internal with type arguments of type ConfigPropertiesModifier and TypeMethodDescription<T,S> NamedSpiManager <T> SpiHelper.loadConfigurable(Class<S> spiClass, Function<S, String> getName, BiFunction<S, ConfigProperties, T> getConfigurable, ConfigProperties config) Load implementations of an SPI which are configurable (i.e. they acceptConfigProperties.AutoConfigureUtil.setConfigPropertiesCustomizer(AutoConfiguredOpenTelemetrySdkBuilder builder, Function<ConfigProperties, ConfigProperties> customizer) Sets theConfigPropertiescustomizer to be used in the auto-configuration process.AutoConfigureUtil.setConfigPropertiesCustomizer(AutoConfiguredOpenTelemetrySdkBuilder builder, Function<ConfigProperties, ConfigProperties> customizer) Sets theConfigPropertiescustomizer to be used in the auto-configuration process. -
Uses of ConfigProperties in io.opentelemetry.sdk.autoconfigure.spi
Methods in io.opentelemetry.sdk.autoconfigure.spi with parameters of type ConfigPropertiesModifier and TypeMethodDescriptionResourceProvider.createResource(ConfigProperties config) ConfigurablePropagatorProvider.getPropagator(ConfigProperties config) Returns aTextMapPropagatorthat can be registered to OpenTelemetry by providing the property value specified byConfigurablePropagatorProvider.getName().Method parameters in io.opentelemetry.sdk.autoconfigure.spi with type arguments of type ConfigPropertiesModifier and TypeMethodDescriptiondefault AutoConfigurationCustomizerAutoConfigurationCustomizer.addLoggerProviderCustomizer(BiFunction<SdkLoggerProviderBuilder, ConfigProperties, SdkLoggerProviderBuilder> loggerProviderCustomizer) Adds aBiFunctionto invoke the with theSdkLoggerProviderBuilderto allow customization.default AutoConfigurationCustomizerAutoConfigurationCustomizer.addLogRecordExporterCustomizer(BiFunction<? super LogRecordExporter, ConfigProperties, ? extends LogRecordExporter> exporterCustomizer) Adds aBiFunctionto invoke with the default autoconfiguredLogRecordExporterto allow customization.default AutoConfigurationCustomizerAutoConfigurationCustomizer.addLogRecordProcessorCustomizer(BiFunction<? super LogRecordProcessor, ConfigProperties, ? extends LogRecordProcessor> logRecordProcessorCustomizer) Adds aBiFunctionto invoke for all autoconfiguredLogRecordProcessors.default AutoConfigurationCustomizerAutoConfigurationCustomizer.addMeterProviderCustomizer(BiFunction<SdkMeterProviderBuilder, ConfigProperties, SdkMeterProviderBuilder> meterProviderCustomizer) Adds aBiFunctionto invoke the with theSdkMeterProviderBuilderto allow customization.default AutoConfigurationCustomizerAutoConfigurationCustomizer.addMetricExporterCustomizer(BiFunction<? super MetricExporter, ConfigProperties, ? extends MetricExporter> exporterCustomizer) Adds aBiFunctionto invoke with the default autoconfiguredMetricExporterto allow customization.default AutoConfigurationCustomizerAutoConfigurationCustomizer.addMetricReaderCustomizer(BiFunction<? super MetricReader, ConfigProperties, ? extends MetricReader> readerCustomizer) Adds aBiFunctionto invoke with the autoconfiguredMetricReaderto allow customization.AutoConfigurationCustomizer.addPropagatorCustomizer(BiFunction<? super TextMapPropagator, ConfigProperties, ? extends TextMapPropagator> propagatorCustomizer) Adds aBiFunctionto invoke with the default autoconfiguredTextMapPropagatorto allow customization.default AutoConfigurationCustomizerAutoConfigurationCustomizer.addPropertiesCustomizer(Function<ConfigProperties, Map<String, String>> propertiesCustomizer) Adds aFunctionto invoke the with theConfigPropertiesto allow customization.AutoConfigurationCustomizer.addResourceCustomizer(BiFunction<? super Resource, ConfigProperties, ? extends Resource> resourceCustomizer) Adds aBiFunctionto invoke with the default autoconfiguredResourceto allow customization.AutoConfigurationCustomizer.addSamplerCustomizer(BiFunction<? super Sampler, ConfigProperties, ? extends Sampler> samplerCustomizer) Adds aBiFunctionto invoke with the default autoconfiguredSamplerto allow customization.AutoConfigurationCustomizer.addSpanExporterCustomizer(BiFunction<? super SpanExporter, ConfigProperties, ? extends SpanExporter> exporterCustomizer) Adds aBiFunctionto invoke with the default autoconfiguredSpanExporterto allow customization.default AutoConfigurationCustomizerAutoConfigurationCustomizer.addSpanProcessorCustomizer(BiFunction<? super SpanProcessor, ConfigProperties, ? extends SpanProcessor> spanProcessorCustomizer) Adds aBiFunctionto invoke for all autoconfiguredSpanProcessor.default AutoConfigurationCustomizerAutoConfigurationCustomizer.addTracerProviderCustomizer(BiFunction<SdkTracerProviderBuilder, ConfigProperties, SdkTracerProviderBuilder> tracerProviderCustomizer) Adds aBiFunctionto invoke the with theSdkTracerProviderBuilderto allow customization. -
Uses of ConfigProperties in io.opentelemetry.sdk.autoconfigure.spi.internal
Classes in io.opentelemetry.sdk.autoconfigure.spi.internal that implement ConfigPropertiesModifier and TypeClassDescriptionfinal classProperties are normalized to The properties for both of these will be normalized to be all lower case, dashses are replaces with periods, and environment variable underscores are replaces with periods.Methods in io.opentelemetry.sdk.autoconfigure.spi.internal with parameters of type ConfigPropertiesModifier and TypeMethodDescriptionConfigurableMetricReaderProvider.createMetricReader(ConfigProperties config) Returns aMetricReaderthat can be registered to OpenTelemetry by providing the property value specified byConfigurableMetricReaderProvider.getName().DefaultConfigProperties.getSet(ConfigProperties config, String name) ReturnsConfigProperties.getList(String)as aSetafter validating there are no duplicate entries.booleanConditionalResourceProvider.shouldApply(ConfigProperties config, Resource existing) If an implementation needs to apply only under certain conditions related to the config or the existing state of the Resource being built, they can choose to override this default. -
Uses of ConfigProperties in io.opentelemetry.sdk.autoconfigure.spi.logs
Methods in io.opentelemetry.sdk.autoconfigure.spi.logs with parameters of type ConfigPropertiesModifier and TypeMethodDescriptionConfigurableLogRecordExporterProvider.createExporter(ConfigProperties config) Returns aLogRecordExporterthat can be registered to OpenTelemetry by providing the property value specified byConfigurableLogRecordExporterProvider.getName(). -
Uses of ConfigProperties in io.opentelemetry.sdk.autoconfigure.spi.metrics
Methods in io.opentelemetry.sdk.autoconfigure.spi.metrics with parameters of type ConfigPropertiesModifier and TypeMethodDescriptionConfigurableMetricExporterProvider.createExporter(ConfigProperties config) Returns aMetricExporterthat can be registered to OpenTelemetry by providing the property value specified byConfigurableMetricExporterProvider.getName(). -
Uses of ConfigProperties in io.opentelemetry.sdk.autoconfigure.spi.traces
Methods in io.opentelemetry.sdk.autoconfigure.spi.traces with parameters of type ConfigPropertiesModifier and TypeMethodDescriptionvoidSdkTracerProviderConfigurer.configure(SdkTracerProviderBuilder tracerProviderBuilder, ConfigProperties config) Deprecated.Configures theSdkTracerProviderBuilder.ConfigurableSpanExporterProvider.createExporter(ConfigProperties config) Returns aSpanExporterthat can be registered to OpenTelemetry by providing the property value specified byConfigurableSpanExporterProvider.getName().ConfigurableSamplerProvider.createSampler(ConfigProperties config) Returns aSamplerthat can be registered to OpenTelemetry by providing the property value specified byConfigurableSamplerProvider.getName().