@emartech/aggregate-metric-logger 5.0.1 → 5.1.0
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.
- package/README.md +2 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -18,6 +18,8 @@ Set `METRIC_LOGGER_ENABLED` just us for LaaS based metrics.
|
|
|
18
18
|
Set `MONITORING_PROJECT_ID` and `GCP_CREDENTIALS` env variables. `HOSTNAME` env variable also has to be
|
|
19
19
|
set, but for a pod running on kubernetes this should already be set.
|
|
20
20
|
|
|
21
|
+
Add `Monitoring Metrics Writer` Role to the service account in the GCP project.
|
|
22
|
+
|
|
21
23
|
|
|
22
24
|
## Usage
|
|
23
25
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emartech/aggregate-metric-logger",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.1.0",
|
|
4
4
|
"description": "aggregate metrics in memory for logging",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -30,20 +30,20 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@emartech/json-logger": "^8.0.3",
|
|
33
|
-
"@google-cloud/monitoring": "^
|
|
34
|
-
"date-fns": "^
|
|
33
|
+
"@google-cloud/monitoring": "^4.1.0",
|
|
34
|
+
"date-fns": "^3.6.0",
|
|
35
35
|
"json-stable-stringify": "^1.1.1",
|
|
36
36
|
"lodash": "^4.17.15",
|
|
37
37
|
"ms": "^2.1.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@emartech/rti-server-tools": "^6.
|
|
40
|
+
"@emartech/rti-server-tools": "^6.17.0",
|
|
41
41
|
"@sinonjs/fake-timers": "^11.2.2",
|
|
42
42
|
"@types/jest": "^29.5.12",
|
|
43
43
|
"dotenv-haphap": "^3.1.2",
|
|
44
|
-
"eslint": "^9.
|
|
45
|
-
"globals": "15.
|
|
44
|
+
"eslint": "^9.7.0",
|
|
45
|
+
"globals": "15.8.0",
|
|
46
46
|
"jest": "^29.2.2",
|
|
47
|
-
"semantic-release": "^
|
|
47
|
+
"semantic-release": "^24.0.0"
|
|
48
48
|
}
|
|
49
49
|
}
|