How to use the @mojaloop/central-services-metrics.setup function in @mojaloop/central-services-metrics

To help you get started, we’ve selected a few @mojaloop/central-services-metrics examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mojaloop / central-ledger / src / shared / setup.js View on Github external
const initializeInstrumentation = () => {
  if (!Config.INSTRUMENTATION_METRICS_DISABLED) {
    Metrics.setup(Config.INSTRUMENTATION_METRICS_CONFIG)
  }
}

@mojaloop/central-services-metrics

Shared code for metrics generation

Apache-2.0
Latest version published 10 months ago

Package Health Score

61 / 100
Full package analysis