Ghost/ghost/prometheus-metrics/test
Chris Raible 6d9ea91634
Added utilities for creating custom prometheus metrics (#21614)
ref
https://linear.app/ghost/issue/ENG-1771/add-utility-functions-to-easily-create-custom-metrics

- Currently adding custom metrics to our prometheus client requires you
to directly access the `prometheusClient.client` to create the metrics
- This isn't super convenient, as you then have to either keep the
metric in a local variable, or manually get it from the
`prometheusClient.client.register`
- This commit exposes some utility functions for registering metrics on
the `prometheusClient` class, and for retrieving metrics that have
already been registered
2024-11-13 16:21:49 -08:00
..
.eslintrc.js Added ability to push prometheus metrics to a pushgateway (#21526) 2024-11-05 11:50:39 -08:00
metrics-server.test.ts Added ability to push prometheus metrics to a pushgateway (#21526) 2024-11-05 11:50:39 -08:00
prometheus-client.test.ts Added utilities for creating custom prometheus metrics (#21614) 2024-11-13 16:21:49 -08:00