Ghost/ghost/prometheus-metrics
Chris Raible 7efbc60e1e
Improved error log output for prometheus pushgateway requests (#21556)
ref
https://linear.app/ghost/issue/ENG-1746/enable-ghost-to-push-metrics-to-a-pushgateway

- Trying to get Ghost working with the prometheus pushgateway in
staging, but it's logging an error each time it tries to push the
metrics. The error output is pretty useless for debugging, so this
commit improves the error messages to make it easier to debug.
2024-11-06 15:03:10 -08:00
..
src Improved error log output for prometheus pushgateway requests (#21556) 2024-11-06 15:03:10 -08:00
test Configured local prometheus and pushgateway in docker-compose (#21538) 2024-11-06 11:36:37 -08:00
.eslintrc.js Added ability to push prometheus metrics to a pushgateway (#21526) 2024-11-05 11:50:39 -08:00
package.json Improved error log output for prometheus pushgateway requests (#21556) 2024-11-06 15:03:10 -08:00
README.md Added ability to push prometheus metrics to a pushgateway (#21526) 2024-11-05 11:50:39 -08:00
tsconfig.json Added ability to push prometheus metrics to a pushgateway (#21526) 2024-11-05 11:50:39 -08:00

Metrics Server

A standalone server for exporting prometheus metrics from Ghost

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests