Class Metric

  • All Implemented Interfaces:

    
    public final class Metric
    
                        

    A metric is a value that can be recorded in the LaunchDarkly observability system.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Metric(String name, Double value, Attributes attributes, Long timestamp)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Double getValue()
      final Attributes getAttributes()
      final Long getTimestamp()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Metric

        Metric(String name, Double value, Attributes attributes, Long timestamp)
        Parameters:
        name - The name of the metric.
        value - The value of the metric.
        attributes - The attributes of the metric.
        timestamp - The timestamp of the metric.