Can someone help regarding timestamp in prometheus

48 views
Skip to first unread message

PK

unread,
Nov 10, 2021, 3:56:08 AM11/10/21
to Prometheus Users
Hi everyone,
I am using C++ client library for Prometheus.
In Golnag: For Adding timestamp along with the value, we have an API  NewMetricWithTimestamp(time, metric). 

I am searching the same for C++.
Can anyone help, how we can add timestamp along with the value using C++ client library?


For eg: my_metric(label name, label value) 123 1636534467
where 123 is the metric value and 1636534467 is a timestamp in epoch format.
Reply all
Reply to author
Forward
0 new messages