Class TestMetricData

java.lang.Object
io.opentelemetry.sdk.testing.metrics.TestMetricData
All Implemented Interfaces:
io.opentelemetry.sdk.metrics.data.MetricData

@Immutable public abstract class TestMetricData extends Object implements io.opentelemetry.sdk.metrics.data.MetricData
Immutable representation of all data collected by the MetricData class.
Since:
1.50.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    A builder for TestMetricData.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.opentelemetry.sdk.metrics.data.MetricData

    getData, getDescription, getDoubleGaugeData, getDoubleSumData, getExponentialHistogramData, getHistogramData, getInstrumentationScopeInfo, getLongGaugeData, getLongSumData, getName, getResource, getSummaryData, getType, getUnit, isEmpty
  • Constructor Details

    • TestMetricData

      public TestMetricData()
  • Method Details