Package org.apache.iotdb.metrics.utils
Class IoTDBMetricsUtils
- java.lang.Object
-
- org.apache.iotdb.metrics.utils.IoTDBMetricsUtils
-
public class IoTDBMetricsUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDATABASE
-
Constructor Summary
Constructors Constructor Description IoTDBMetricsUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgeneratePath(java.lang.String name, java.lang.String... tags)Generate the path of metric with tags arraystatic java.lang.StringgeneratePath(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags)Generate the path of metric with tags mapstatic java.lang.StringgeneratePath(MetricInfo metricInfo)Generate the path of metric by metricInfo
-
-
-
Field Detail
-
DATABASE
public static final java.lang.String DATABASE
- See Also:
- Constant Field Values
-
-
Method Detail
-
generatePath
public static java.lang.String generatePath(MetricInfo metricInfo)
Generate the path of metric by metricInfo
-
generatePath
public static java.lang.String generatePath(java.lang.String name, java.lang.String... tags)Generate the path of metric with tags array
-
generatePath
public static java.lang.String generatePath(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> tags)Generate the path of metric with tags map
-
-