StreamMachine / prometheus_client_nodejs

Prometheus metrics client for Node.js
Apache License 2.0
30 stars 16 forks source link

Expose a static value #11

Closed lpcruz closed 5 years ago

lpcruz commented 5 years ago

I'm completely new to Prometheus and still learning a few things so I apologize if this question seems dumb heh:

How would I go about reporting a static value without passing in an object for guage.set

The expected output that I want would look something like:

# HELP tests number of tests that currently exist.
# TYPE tests gauge
number_of_tests 113
lpcruz commented 5 years ago

No longer an issue.