NamingConvention.@Deprecated public final class MoreNamingConventions extends Object
NamingConventions.| Modifier and Type | Method and Description |
|---|---|
static void |
configure()
Deprecated.
Use Micrometer's default
NamingConvention. |
static void |
configure(MeterRegistry registry)
Deprecated.
Use Micrometer's default
NamingConvention. |
static NamingConvention |
dropwizard()
Deprecated.
Use Micrometer's default
NamingConvention. |
static NamingConvention |
identity()
Deprecated.
|
static NamingConvention |
prometheus()
Deprecated.
Use Micrometer's default
NamingConvention. |
@Deprecated public static NamingConvention identity()
NamingConvention.identity.NamingConvention that uses the user-provided names and tags as they are.@Deprecated public static NamingConvention dropwizard()
NamingConvention.NamingConvention of Dropwizard Metrics.@Deprecated public static NamingConvention prometheus()
NamingConvention.NamingConvention of Prometheus.@Deprecated public static void configure()
NamingConvention.MeterRegistrys added to the Metrics.globalRegistry to use the
NamingConventions provided by this class. DropwizardMeterRegistry and
PrometheusMeterRegistry will be configured to use dropwizard() and
prometheus() respectively. This method is a shortcut for:
configure(Metrics.globalRegistry);
@Deprecated public static void configure(MeterRegistry registry)
NamingConvention.MeterRegistry to use the NamingConventions provided by this
class. DropwizardMeterRegistry and PrometheusMeterRegistry will be configured to use
dropwizard() and prometheus() respectively. A CompositeMeterRegistry will be
configured recursively.Copyright © 2020 LeanCloud. All rights reserved.