Releases: mojaloop/central-services-metrics
Releases · mojaloop/central-services-metrics
v12.0.6 Release
12.0.6 (2023-08-23)
v12.0.5 Release
v12.0.4 Release
12.0.4 (2022-05-19)
v12.0.3 Release
v12.0.2 Release
v12.0.0 Release
DEPRECATED
Use v12.0.2 Release
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
12.0.0 (2022-05-18)
⚠ BREAKING CHANGES
- mojaloop/#2092: major version bump for node v16 LTS support, and re-structuring of project directories to align to core Mojaloop repositories!
Features
- mojaloop/#2092: upgrade nodeJS version for core services (#154) (145c7f8), closes mojaloop/#
Bug Fixes
v11.0.0 Release
Changes
- feat(2151)!: helm-release-v12.1.0
- Updated dependencies
- Added lint scripts to package.json
- Updated standard to use ts-standard
- Updated type definitions to match latest prom-client changes
- Standardised tsconfig
- Updated unit tests and fixed code-coverage
- Major version bump
BREAKING CHANGE: Metrics.getMetricsForPrometheus
is now an async function and returns a Promise<string>
. The following error will be displays when hitting a /metrics
on existing Mojaloop services (e.g. Central-Ledger) end-point if the promise is not handled (await
ed):
{
"errorInformation": {
"errorCode": "2001",
"errorDescription": "Internal server error - Cannot wrap a promise"
}
}
v10.3.1-perf
Changelog to this release:
- fixed aggregate register
_Note: this change was made in another perf related release, but not introduced to master lately: v9.1.2-snapshot
v10.3.0-perf
Changelog of this release
- Added Gauge
v9.5.0 Release
Updated to include Performance Stream migration changes
getSummary
- Added getSummary - returns Summary metric
- Added isInitiated - returns true if the Metrics object has been setup
- Added getDefaultRegister - returns the default registry from the Prom-Client library
- Added units tests for getSummary, isInitiated & getDefaultRegister
- Some minor re-formatting changes
- Added some commented out placeholders in preperation for an upgrade to Prom-Client v12.x in future <-- there is an issue here that needs to be addressed.
Aligning TS config, setup and build for CI/CD to Mojaloop standards
- Fixes for alignment to TS Mojaloop standards
- Added npm-check-updates and commands for 'dep:check' and 'dep:update'
- Added pre-commit checks for 'dep:check'
- Removed ./lib folder as its not needed anymore. JS will now be compiled into the ./dist folder as per other Mojaloop TS repositories.