public class InfluxNamingConvention extends Object implements NamingConvention
NamingConvention
for Influx.camelCase, dot, identity, slashes, snakeCase, upperCamelCase
Constructor and Description |
---|
InfluxNamingConvention()
By default, telegraf's configuration option for
metric_separator
is an underscore, which corresponds to NamingConvention.snakeCase . |
InfluxNamingConvention(NamingConvention delegate) |
Modifier and Type | Method and Description |
---|---|
String |
name(String name,
Meter.Type type,
String baseUnit) |
String |
tagKey(String key) |
String |
tagValue(String value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
name
public InfluxNamingConvention()
metric_separator
is an underscore, which corresponds to NamingConvention.snakeCase
.public InfluxNamingConvention(NamingConvention delegate)
public String name(String name, Meter.Type type, @Nullable String baseUnit)
name
in interface NamingConvention
public String tagKey(String key)
tagKey
in interface NamingConvention
public String tagValue(String value)
tagValue
in interface NamingConvention
Copyright © 2019. All rights reserved.