account-lookup-service 15.6.0-iso.16 → 15.6.0-iso.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/server.js +3 -0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "account-lookup-service",
3
3
  "description": "Account Lookup Service is used to validate Party and Participant lookups.",
4
- "version": "15.6.0-iso.16",
4
+ "version": "15.6.0-iso.17",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ModusBox",
7
7
  "contributors": [
@@ -94,13 +94,13 @@
94
94
  "@mojaloop/central-services-health": "15.0.0",
95
95
  "@mojaloop/central-services-logger": "11.5.1",
96
96
  "@mojaloop/central-services-metrics": "12.3.0",
97
- "@mojaloop/central-services-shared": "18.12.0",
97
+ "@mojaloop/central-services-shared": "18.12.1",
98
98
  "@mojaloop/central-services-stream": "11.3.1",
99
99
  "@mojaloop/database-lib": "11.0.6",
100
100
  "@mojaloop/event-sdk": "14.1.1",
101
101
  "@mojaloop/inter-scheme-proxy-cache-lib": "2.3.0",
102
102
  "@mojaloop/ml-schema-transformer-lib": "2.4.1",
103
- "@mojaloop/sdk-standard-components": "19.5.2",
103
+ "@mojaloop/sdk-standard-components": "19.6.1",
104
104
  "@now-ims/hapi-now-auth": "2.1.0",
105
105
  "ajv": "8.17.1",
106
106
  "ajv-keywords": "5.1.0",
@@ -151,7 +151,7 @@
151
151
  "axios": "1.7.8",
152
152
  "axios-retry": "^4.5.0",
153
153
  "docdash": "2.0.2",
154
- "dotenv": "^16.4.5",
154
+ "dotenv": "^16.4.7",
155
155
  "get-port": "5.1.1",
156
156
  "ioredis-mock": "^8.9.0",
157
157
  "jest": "29.7.0",
package/src/server.js CHANGED
@@ -129,6 +129,9 @@ const initializeApi = async (appConfig) => {
129
129
  } = appConfig
130
130
 
131
131
  if (!INSTRUMENTATION_METRICS_DISABLED) {
132
+ if (INSTRUMENTATION_METRICS_CONFIG.defaultLabels) {
133
+ INSTRUMENTATION_METRICS_CONFIG.defaultLabels.serviceVersion = version
134
+ }
132
135
  initializeInstrumentation(INSTRUMENTATION_METRICS_CONFIG)
133
136
  }
134
137
  await connectDatabase(DATABASE)