Class DataPointSnapshot
Object
DataPointSnapshot
- Direct Known Subclasses:
CounterSnapshot.CounterDataPointSnapshot
,DistributionDataPointSnapshot
,GaugeSnapshot.GaugeDataPointSnapshot
,InfoSnapshot.InfoDataPointSnapshot
,StateSetSnapshot.StateSetDataPointSnapshot
,UnknownSnapshot.UnknownDataPointSnapshot
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
DataPointSnapshot.Builder<T extends DataPointSnapshot.Builder<T>>
-
Method Summary
Modifier and TypeMethodDescriptionlong
This will only return a reasonable value ifhasCreatedTimestamp()
is true.long
This will only return a reasonable value ifhasScrapeTimestamp()
is true.boolean
boolean
-
Method Details
-
getLabels
-
hasScrapeTimestamp
-
getScrapeTimestampMillis
This will only return a reasonable value ifhasScrapeTimestamp()
is true. -
hasCreatedTimestamp
-
getCreatedTimestampMillis
This will only return a reasonable value ifhasCreatedTimestamp()
is true. Some metrics like Gauge don't have created timestamps. For these metricshasCreatedTimestamp()
is always false.
-