New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mojaloop/central-services-metrics

Package Overview
Dependencies
Maintainers
0
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mojaloop/central-services-metrics - npm Package Compare versions

Comparing version 12.4.0 to 12.4.1

7

dist/metrics.js

@@ -82,2 +82,3 @@ /*****

this._summaries = {};
/** Object containing the counter values */
this._counters = {};

@@ -101,3 +102,3 @@ /**

}
// configure detault metrics
// configure default metrics
if (options.defaultMetrics !== false)

@@ -110,5 +111,9 @@ client.collectDefaultMetrics(normalisedOptions);

_this._alreadySetup = true;
_this._setupDefaultServiceMetrics();
// return true if we are setup
return true;
};
this._setupDefaultServiceMetrics = function () {
_this.getCounter('errorCount', 'Error count', ['code', 'system', 'operation', 'step']);
};
/**

@@ -115,0 +120,0 @@ * Get the histogram values for given name

4

package.json
{
"name": "@mojaloop/central-services-metrics",
"version": "12.4.0",
"version": "12.4.1",
"description": "Shared code for metrics generation",

@@ -68,3 +68,3 @@ "main": "./dist/index.js",

"audit-ci": "^7.1.0",
"debug": "4.3.7",
"debug": "4.4.0",
"joi": "^17.13.3",

@@ -71,0 +71,0 @@ "npm-check-updates": "17.1.11",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc