mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-01 15:51:31 -05:00
5855ba7b49
Replace the GCP trace agent with OpenTelemetry GitOrigin-RevId: 591410029349e4ef5a39a5b79868e57c7bd089b6
42 lines
1.4 KiB
JSON
42 lines
1.4 KiB
JSON
{
|
|
"name": "@overleaf/metrics",
|
|
"version": "4.1.0",
|
|
"description": "A drop-in metrics and monitoring module for node.js apps",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/overleaf/metrics-module.git"
|
|
},
|
|
"dependencies": {
|
|
"@google-cloud/opentelemetry-cloud-trace-exporter": "^2.1.0",
|
|
"@google-cloud/profiler": "^6.0.0",
|
|
"@opentelemetry/api": "^1.4.1",
|
|
"@opentelemetry/auto-instrumentations-node": "^0.39.1",
|
|
"@opentelemetry/exporter-trace-otlp-http": "^0.41.2",
|
|
"@opentelemetry/resources": "^1.15.2",
|
|
"@opentelemetry/sdk-node": "^0.41.2",
|
|
"@opentelemetry/semantic-conventions": "^1.15.2",
|
|
"compression": "^1.7.4",
|
|
"prom-client": "^14.1.1",
|
|
"yn": "^3.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"bunyan": "^1.0.0",
|
|
"chai": "^4.3.6",
|
|
"mocha": "^10.2.0",
|
|
"sandboxed-module": "^2.0.4",
|
|
"sinon": "^9.2.4"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint --max-warnings 0 --format unix .",
|
|
"lint:fix": "eslint --fix .",
|
|
"test:unit": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/unit",
|
|
"test:acceptance": "mocha --reporter spec --recursive --exit --grep=$MOCHA_GREP test/acceptance",
|
|
"test": "npm run test:unit && npm run test:acceptance",
|
|
"format": "prettier --list-different $PWD/'**/*.js'",
|
|
"format:fix": "prettier --write $PWD/'**/*.js'",
|
|
"test:ci": "npm run test"
|
|
},
|
|
"peerDependencies": {
|
|
"@overleaf/logger": "*"
|
|
}
|
|
}
|