Class DataPointSnapshot.Builder<T extends DataPointSnapshot.Builder<T>>
Object
Builder<T>
- Direct Known Subclasses:
CounterSnapshot.CounterDataPointSnapshot.Builder
,GaugeSnapshot.GaugeDataPointSnapshot.Builder
,HistogramSnapshot.HistogramDataPointSnapshot.Builder
,InfoSnapshot.InfoDataPointSnapshot.Builder
,StateSetSnapshot.StateSetDataPointSnapshot.Builder
,SummarySnapshot.SummaryDataPointSnapshot.Builder
,UnknownSnapshot.UnknownDataPointSnapshot.Builder
- Enclosing class:
- DataPointSnapshot
public abstract static class DataPointSnapshot.Builder<T extends DataPointSnapshot.Builder<T>>
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionscrapeTimestampMillis
(long scrapeTimestampMillis) In most cases you should not set a scrape timestamp, because the scrape timestamp is set by the Prometheus server during scraping.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
labels
-
scrapeTimestampMillis
In most cases you should not set a scrape timestamp, because the scrape timestamp is set by the Prometheus server during scraping. Exceptions include mirroring metrics with given timestamps from other metric sources.
-