Ghost/ghost/prometheus-metrics
Chris Raible 572cd46c24 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-13 12:08:04 -06:00
..
src Improved error log output for prometheus pushgateway requests (#21556) 2024-11-13 12:08:04 -06:00
test Configured local prometheus and pushgateway in docker-compose (#21538) 2024-11-06 16:58:37 -06:00
.eslintrc.js Added ability to push prometheus metrics to a pushgateway (#21526) 2024-11-06 16:58:37 -06:00
package.json Improved error log output for prometheus pushgateway requests (#21556) 2024-11-13 12:08:04 -06:00
README.md Added ability to push prometheus metrics to a pushgateway (#21526) 2024-11-06 16:58:37 -06:00
tsconfig.json Added ability to push prometheus metrics to a pushgateway (#21526) 2024-11-06 16:58:37 -06: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