Class 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.String getRawFieldName​(io.opencensus.metrics.export.MetricDescriptor.Type metricType, java.lang.String rawMetricName, java.lang.String rawMeasurementName)  
      static java.lang.String getRawMeasurementName​(java.lang.String metricName, io.opencensus.stats.View view)  
      static long getTimestampOfPoint​(io.opencensus.metrics.export.Point point)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.