Deprecated API
Contents
-
InterfaceDescriptionas of 1.12.0 in favor of HttpComponents 5.x and
ApacheHttpClientObservationConvention
.Please useInternalLogger
instead.
-
ClassDescriptionas of 1.12.0 in favor of HttpComponents 5.x and
ApacheHttpClientContext
.as of 1.12.0 in favor of HttpComponents 5.x andApacheHttpClientObservationConvention
.as of 1.12.5 in favor of anHttpClientContext
value withApacheHttpClientObservationConvention.URI_TEMPLATE_ATTRIBUTE
as key name.as of 1.12.0 in favor of anHttpClientContext
value withApacheHttpClientObservationConvention.URI_TEMPLATE_ATTRIBUTE
as key name.since 1.12.0 in favor ofObservationExecChainHandler
.since 1.12.0 in favor ofObservationExecChainHandler
.as of 1.12.0 in favor of HttpComponents 5.x andObservationExecChainHandler
.as of 1.12.0 in favor of HttpComponents 5.x andObservationExecChainHandler
.as of 1.12.5 in favor of HttpComponents 5.x andPoolingHttpClientConnectionManagerMetricsBinder
.Since 1.4.0. UseTimedHandler
instead.This implementation is deprecated in favor of the MeterBinder maintained as part of the Hibernate project as of version 5.4.26. See https://mvnrepository.com/artifact/org.hibernate/hibernate-micrometer/This implementation is deprecated in favor of the MeterBinder maintained as part of the Hibernate project as of version 5.4.26. See https://mvnrepository.com/artifact/org.hibernate/hibernate-micrometer/useDiskSpaceMetrics
instead.useKafkaClientMetrics
instead since 1.4.0Please useStringUtils
instead.Please useAbstractInternalLogger
instead.Please useInternalLoggerFactory
instead.Please useio.micrometer.common.util.internal.logging.JdkLogger
instead.Please useSlf4JLoggerFactory
instead.Please useWarnThenDebugLogger
instead.
-
Enum ClassDescriptionas of 1.12.0 in favor of HttpComponents 5.x and
ApacheHttpClientObservationDocumentation
.Please useInternalLogLevel
instead.
-
Annotation InterfaceDescriptionPlease use
NonNull
instead.Please useNonNullApi
instead.Please useNonNullApi
instead.Please useNonNullApi
instead.
-
MethodDescriptionUse {
AbstractTimerBuilder.serviceLevelObjectives(Duration...)
} instead. "Service Level Agreement" is more formally the agreement between an engineering organization and the business. Service Level Objectives are set more conservatively than the SLA to provide some wiggle room while still satisfying the business requirement. SLOs are the threshold we intend to measure against, then.since 1.12.0 in favor ofHttpJakartaServletRequestTags.method(jakarta.servlet.http.HttpServletRequest)
since 1.12.0 in favor ofHttpJakartaServletRequestTags.outcome(jakarta.servlet.http.HttpServletResponse)
since 1.12.0 in favor ofHttpJakartaServletRequestTags.status(jakarta.servlet.http.HttpServletResponse)
as of 1.12.0 in favor ofApacheHttpClientContext.getHttpClientContext()
.as of 1.12.0 in favor of anHttpClientContext
attribute.as of 1.12.0 with no replacement.since 1.11.0 in favor ofJettyClientMetrics.builder(MeterRegistry, BiFunction)
;JettyClientMetrics.Builder.tagsProvider(JettyClientTagsProvider)
can be used to provide a custom tags providersince 1.11.0 in favor ofJettyClientMetrics.builder(MeterRegistry, BiFunction)
to configure the uri pattern functionsince 1.1.2 in favor ofHibernateMetrics.monitor(MeterRegistry, SessionFactory, String, Iterable)
since 1.1.2 in favor ofHibernateMetrics.monitor(MeterRegistry, SessionFactory, String, String...)
UseMeterFilter.maxExpected(String, double)
instead since 1.4.0.UseMeterFilter.minExpected(String, double)
instead since 1.4.0.UseDistributionStatisticConfig.Builder.maximumExpectedValue(Double)
instead since 1.4.0.UseDistributionStatisticConfig.Builder.minimumExpectedValue(Double)
instead since 1.4.0.UseDistributionStatisticConfig.Builder.serviceLevelObjectives(double...)
instead. "Service Level Agreement" is more formally the agreement between an engineering organization and the business. Service Level Objectives are set more conservatively than the SLA to provide some wiggle room while still satisfying the business requirement. SLOs are the threshold we intend to measure against, then.UseDistributionStatisticConfig.Builder.serviceLevelObjectives(double...)
instead. "Service Level Agreement" is more formally the agreement between an engineering organization and the business. Service Level Objectives are set more conservatively than the SLA to provide some wiggle room while still satisfying the business requirement. SLOs are the threshold we intend to measure against, then.UseDistributionStatisticConfig.getMaximumExpectedValueAsDouble()
. If you use this method, your code will not be compatible with code that uses Micrometer 1.3.x.UseDistributionStatisticConfig.getMinimumExpectedValueAsDouble()
. If you use this method, your code will not be compatible with code that uses Micrometer 1.3.x.UseDistributionStatisticConfig.getServiceLevelObjectiveBoundaries()
. If you use this method, your code will not be compatible with code that uses Micrometer 1.4.x and later.UseDistributionSummary.Builder.maximumExpectedValue(Double)
instead since 1.4.0.UseDistributionSummary.Builder.minimumExpectedValue(Double)
instead since 1.4.0.Use {DistributionSummary.Builder.serviceLevelObjectives(double...)
} instead. "Service Level Agreement" is more formally the agreement between an engineering organization and the business. Service Level Objectives are set more conservatively than the SLA to provide some wiggle room while still satisfying the business requirement. SLOs are the threshold we intend to measure against, then.Use {DistributionSummary.Builder.serviceLevelObjectives(double...)
} instead. "Service Level Agreement" is more formally the agreement between an engineering organization and the business. Service Level Objectives are set more conservatively than the SLA to provide some wiggle room while still satisfying the business requirement. SLOs are the threshold we intend to measure against, then.UseHistogramSupport.takeSnapshot()
to retrieve bucket counts.UseHistogramSupport.takeSnapshot()
to retrieve percentiles.UseLongTaskTimer.Sample.duration(TimeUnit)
. As of 1.5.0, this always returns -1 as tasks no longer have IDs.UseLongTaskTimer.Sample.stop()
. As of 1.5.0, this always returns -1 as tasks no longer have IDs.ImplementMeterRegistry.newLongTaskTimer(Meter.Id, DistributionStatisticConfig)
instead.UsePushMeterRegistry.start(ThreadFactory)
instead.Connect timeout and read timeout have different meanings depending on the HTTP client. Configure timeout options on yourHttpSender
of choice instead.since 1.1.13 because this configuration is not usedConnect timeout and read timeout have different meanings depending on the HTTP client. Configure timeout options on yourHttpSender
of choice instead.UseHistogramSupport.takeSnapshot()
to retrieve bucket counts.UseHistogramSupport.takeSnapshot()
to retrieve bucket counts.since 1.0.11 in favour ofDoubleFormat.wholeOrDecimal(double)
UseDurationValidator.validate(String, String)
instead since 1.5.0.
-
ConstructorDescriptionTimer implementations should now declare at construction time whether they support aggregable percentiles or not. By declaring it up front, Micrometer can memory optimize the histogram structure used to store distribution statistics.as of 1.12.0 in favor of
ApacheHttpClientContext(HttpRequest, HttpClientContext)
.since 1.11.0 in favor ofJettyClientMetrics.builder(MeterRegistry, BiFunction)
since 1.1.2 in favor ofHibernateMetrics(SessionFactory, String, Iterable)
UseCountAtBucket(double, double)
instead since 1.4.0.