mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
572cd46c24
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.
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"name": "@tryghost/prometheus-metrics",
|
|
"version": "0.0.0",
|
|
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/prometheus-metrics",
|
|
"author": "Ghost Foundation",
|
|
"private": true,
|
|
"main": "build/index.js",
|
|
"types": "build/index.d.ts",
|
|
"scripts": {
|
|
"dev": "tsc --watch --preserveWatchOutput --sourceMap",
|
|
"build": "yarn build:ts",
|
|
"build:ts": "tsc",
|
|
"prepare": "tsc",
|
|
"test:unit": "NODE_ENV=testing c8 --src src --all --check-coverage --90 --reporter text --reporter cobertura mocha -r ts-node/register './test/**/*.test.ts'",
|
|
"test": "yarn test:types && yarn test:unit",
|
|
"test:types": "tsc --noEmit",
|
|
"lint:code": "eslint src/ --ext .ts --cache",
|
|
"lint": "yarn lint:code && yarn lint:test",
|
|
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .ts --cache"
|
|
},
|
|
"files": [
|
|
"build"
|
|
],
|
|
"devDependencies": {
|
|
"@types/express": "4.17.21",
|
|
"@types/stoppable": "1.1.0",
|
|
"c8": "10.1.2",
|
|
"mocha": "10.7.3",
|
|
"sinon": "19.0.2",
|
|
"supertest": "7.0.0",
|
|
"ts-node": "10.9.2",
|
|
"typescript": "5.6.2"
|
|
},
|
|
"dependencies": {
|
|
"@tryghost/errors": "1.3.6",
|
|
"@tryghost/logging": "2.4.19",
|
|
"express": "4.21.1",
|
|
"prom-client": "15.1.3",
|
|
"stoppable": "1.1.0"
|
|
}
|
|
}
|