Java Code Examples for io.micrometer.core.instrument.config.NamingConvention#camelCase()

The following examples show how to use io.micrometer.core.instrument.config.NamingConvention#camelCase() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StatsdMeterRegistry.java    From micrometer with Apache License 2.0 5 votes vote down vote up
private static NamingConvention namingConventionFromFlavor(StatsdFlavor flavor) {
    switch (flavor) {
        case DATADOG:
        case SYSDIG:
            return NamingConvention.dot;
        case TELEGRAF:
            return NamingConvention.snakeCase;
        default:
            return NamingConvention.camelCase;
    }
}
 
Example 2
Source File: NewRelicNamingConvention.java    From micrometer with Apache License 2.0 4 votes vote down vote up
public NewRelicNamingConvention() {
    this(NamingConvention.camelCase);
}
 
Example 3
Source File: GraphiteHierarchicalNamingConvention.java    From micrometer with Apache License 2.0 4 votes vote down vote up
public GraphiteHierarchicalNamingConvention() {
    this(NamingConvention.camelCase);
}
 
Example 4
Source File: MoreNamingConventions.java    From armeria with Apache License 2.0 2 votes vote down vote up
/**
 * Returns the {@link NamingConvention} of <a href="http://metrics.dropwizard.io/">Dropwizard Metrics</a>.
 *
 * @deprecated Use Micrometer's default {@link NamingConvention}.
 */
@Deprecated
public static NamingConvention dropwizard() {
    return Flags.useLegacyMeterNames() ? NamingConvention.identity : NamingConvention.camelCase;
}