Skip to content

Commit

Permalink
fix: monorepo (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinkrustev authored Jan 9, 2025
1 parent 930bddf commit ef72b76
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 29 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,5 @@ typings/
# https://devspace.sh/
devspace*
.devspace/**.*

.rush
137 changes: 115 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,17 @@
"@hapi/hapi": "21.3.12",
"@hapi/inert": "7.1.0",
"@hapi/vision": "7.0.3",
"@mojaloop/central-services-error-handling": "13.0.2",
"@mojaloop/central-services-error-handling": "13.0.3",
"@mojaloop/central-services-health": "15.0.0",
"@mojaloop/central-services-logger": "11.5.1",
"@mojaloop/central-services-metrics": "12.4.2",
"@mojaloop/central-services-shared": "18.15.0",
"@mojaloop/central-services-stream": "11.4.1",
"@mojaloop/central-services-metrics": "12.4.3",
"@mojaloop/central-services-shared": "18.15.1",
"@mojaloop/central-services-stream": "11.4.2",
"@mojaloop/event-sdk": "14.1.1",
"@mojaloop/inter-scheme-proxy-cache-lib": "2.3.1",
"@mojaloop/ml-number": "11.2.4",
"@mojaloop/ml-schema-transformer-lib": "2.5.1",
"@mojaloop/sdk-standard-components": "18.1.0",
"@mojaloop/ml-schema-transformer-lib": "^2.5.1",
"@mojaloop/sdk-standard-components": "^19.6.2",
"ajv": "8.17.1",
"ajv-keywords": "5.1.0",
"axios": "1.7.9",
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/monitoringServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const createMonitoringServer = async (port, consumersMap, db) => {
server.app.db = db
server.app.consumersMap = consumersMap

await server.register([HealthPlugin, Metrics.plugin])
await server.register([HealthPlugin, !config.instrumentationMetricsDisabled && Metrics.plugin].filter(Boolean))
await server.start()

Logger.info(`Monitoring server running at: ${server.info.uri}`)
Expand Down

0 comments on commit ef72b76

Please sign in to comment.