Class OtlpProperties
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PushRegistryProperties
org.springframework.boot.actuate.autoconfigure.metrics.export.properties.StepRegistryProperties
org.springframework.boot.actuate.autoconfigure.metrics.export.otlp.OtlpProperties
@ConfigurationProperties(prefix="management.otlp.metrics.export")
public class OtlpProperties
extends StepRegistryProperties
@ConfigurationProperties
for configuring OTLP metrics
export.- Since:
- 3.0.0
- Author:
- EddĂș MelĂ©ndez, Jonatan Ivanov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.registry.otlp.AggregationTemporality
io.micrometer.registry.otlp.HistogramFlavor
int
int
Deprecated, for removal: This API element is subject to removal in a future version.getUrl()
void
setAggregationTemporality
(io.micrometer.registry.otlp.AggregationTemporality aggregationTemporality) void
setBaseTimeUnit
(TimeUnit baseTimeUnit) void
setHeaders
(Map<String, String> headers) void
setHistogramFlavor
(io.micrometer.registry.otlp.HistogramFlavor histogramFlavor) void
setMaxBucketCount
(int maxBucketCount) void
setMaxScale
(int maxScale) void
setResourceAttributes
(Map<String, String> resourceAttributes) Deprecated, for removal: This API element is subject to removal in a future version.void
Methods inherited from class org.springframework.boot.actuate.autoconfigure.metrics.export.properties.PushRegistryProperties
getBatchSize, getConnectTimeout, getReadTimeout, getStep, isEnabled, setBatchSize, setConnectTimeout, setEnabled, setReadTimeout, setStep
-
Constructor Details
-
OtlpProperties
public OtlpProperties()
-
-
Method Details
-
getUrl
-
setUrl
-
getAggregationTemporality
public io.micrometer.registry.otlp.AggregationTemporality getAggregationTemporality() -
setAggregationTemporality
public void setAggregationTemporality(io.micrometer.registry.otlp.AggregationTemporality aggregationTemporality) -
getResourceAttributes
@Deprecated(since="3.2.0", forRemoval=true) @DeprecatedConfigurationProperty(replacement="management.opentelemetry.resource-attributes", since="3.2.0") public Map<String,String> getResourceAttributes()Deprecated, for removal: This API element is subject to removal in a future version. -
setResourceAttributes
@Deprecated(since="3.2.0", forRemoval=true) public void setResourceAttributes(Map<String, String> resourceAttributes) Deprecated, for removal: This API element is subject to removal in a future version. -
getHeaders
-
setHeaders
-
getHistogramFlavor
public io.micrometer.registry.otlp.HistogramFlavor getHistogramFlavor() -
setHistogramFlavor
public void setHistogramFlavor(io.micrometer.registry.otlp.HistogramFlavor histogramFlavor) -
getMaxScale
public int getMaxScale() -
setMaxScale
public void setMaxScale(int maxScale) -
getMaxBucketCount
public int getMaxBucketCount() -
setMaxBucketCount
public void setMaxBucketCount(int maxBucketCount) -
getBaseTimeUnit
-
setBaseTimeUnit
-