Re: [prometheus-users] Regarding timestamp in Prometheus using C++ library

2021-10-17 Thread Stuart Clark
On 17/10/2021 06:13, PK wrote: Hi everyone, I am using gauge metric type. Can anyone let me know, how to associate timestamp along with metric data in C++? For eg: In Go: prometheus.*NewMetricWithTimestamp*(t,metric) in C++ is there any API to add timestamp? In C++ I am exposing metric like

[prometheus-users] Regarding timestamp in Prometheus using C++ library

2021-10-16 Thread PK
Hi everyone, I am using gauge metric type. Can anyone let me know, how to associate timestamp along with metric data in C++? For eg: In Go:prometheus.*NewMetricWithTimestamp*(t,metric) in C++ is there any API to add timestamp? In C++ I am exposing metric like this: