| Crates.io | rillrate-js |
| lib.rs | rillrate-js |
| version | 0.23.1 |
| created_at | 2021-01-21 19:42:14.311635+00 |
| updated_at | 2021-03-17 14:53:58.859714+00 |
| description | rillrate binding for node.js |
| homepage | https://github.com/rate-technology/rillrate-js |
| repository | https://github.com/rate-technology/rillrate-js |
| max_upload_size | |
| id | 345020 |
| size | 209,232 |
Dynamic tracing system that tends to be real-time.
Node.js bindings.
Add it as a dependency to your node.js project:
npm install --save @rillrate/rillrate
Import it in your code and install a tracer:
rillrate = require('@rillrate/rillrate')
rillrate.install()
Add a metric and use methods to update it:
gauge = new rillrate.Gauge('my.gauge', 0, 100)
gauge.set(55.0)
histogram = new rillrate.Histogram('my.histogram', [10, 20, 50, 100, 200, 500])
histogram.add(128.0)