Class InfluxUtils
- java.lang.Object
-
- rocks.inspectit.opencensus.influx.InfluxUtils
-
public class InfluxUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.String>createTagMaps(java.util.List<io.opencensus.metrics.LabelKey> labelKeys, java.util.List<io.opencensus.metrics.LabelValue> labelValues)static java.lang.StringgetRawFieldName(io.opencensus.metrics.export.MetricDescriptor.Type metricType, java.lang.String rawMetricName, java.lang.String rawMeasurementName)static java.lang.StringgetRawMeasurementName(java.lang.String metricName, io.opencensus.stats.View view)static longgetTimestampOfPoint(io.opencensus.metrics.export.Point point)
-
-
-
Method Detail
-
getRawMeasurementName
public static java.lang.String getRawMeasurementName(java.lang.String metricName, io.opencensus.stats.View view)
-
getRawFieldName
public static java.lang.String getRawFieldName(io.opencensus.metrics.export.MetricDescriptor.Type metricType, java.lang.String rawMetricName, java.lang.String rawMeasurementName)
-
createTagMaps
public static java.util.Map<java.lang.String,java.lang.String> createTagMaps(java.util.List<io.opencensus.metrics.LabelKey> labelKeys, java.util.List<io.opencensus.metrics.LabelValue> labelValues)
-
getTimestampOfPoint
public static long getTimestampOfPoint(io.opencensus.metrics.export.Point point)
- Returns:
- Returns the timestamp represented by the given point. The timestamp represents the number of milliseconds since the Unix Epoch.
-
-