Although the library explain how to push like below:
const client = require('prom-client');let gateway = new
client.Pushgateway('http://127.0.0.1:9091');
gateway.pushAdd({ jobName: 'test' }, function (err, resp, body) {}); //Add
metric and overwrite old onesgateway.push({ jobName: 'test' }, function (err,
resp, body) {}); //Overwrite all metrics (use PUT)gateway.delete({ jobName:
'test' }, function (err, resp, body) {}); //Delete all metrics for jobName
but it pushed the value as timestamp.
I want same as guage the value part must have the numeric value and label as
timestamp. It should be same as guage matrices.
--
You received this message because you are subscribed to the Google Groups
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-developers/533681d8-9b78-4593-944f-2f74acd7bc05%40googlegroups.com.