Re: [prometheus-developers] Adding timestamps to Gauge Metric

2021-08-31 Thread Prince
Thank you. Got It. for NewMetricWithTimestamp(time.Time,metric) Is it compulsory that the time should be in UTC? On Tuesday, August 31, 2021 at 2:14:44 PM UTC+5:30 Stuart Clark wrote: > On 2021-08-30 07:19, Prince wrote: > > So that means in the Prometheus graph the data will be getting > >

Re: [prometheus-developers] Adding timestamps to Gauge Metric

2021-08-31 Thread Stuart Clark
On 2021-08-30 07:19, Prince wrote: So that means in the Prometheus graph the data will be getting displayed from the time of scraping and at a regular intervals (scrape interval). Example: my_metric 1669.574 1630299163151(data and it's timestamp). So this data 1669.574 will be displayed at