@platformatic/service 0.37.1 → 0.37.3
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/package.json +8 -8
- package/test/telemetry.test.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "0.37.
|
|
3
|
+
"version": "0.37.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"desm": "^1.3.0",
|
|
54
54
|
"env-schema": "^5.2.0",
|
|
55
55
|
"es-main": "^1.2.0",
|
|
56
|
-
"execa": "^
|
|
56
|
+
"execa": "^8.0.0",
|
|
57
57
|
"fastify": "^4.18.0",
|
|
58
58
|
"fastify-metrics": "^10.3.0",
|
|
59
59
|
"fastify-plugin": "^4.5.0",
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
"pino-pretty": "^10.0.0",
|
|
66
66
|
"rfdc": "^1.3.0",
|
|
67
67
|
"ua-parser-js": "^1.0.35",
|
|
68
|
-
"@platformatic/client": "0.37.
|
|
69
|
-
"@platformatic/config": "0.37.
|
|
70
|
-
"@platformatic/swagger-ui-theme": "0.37.
|
|
71
|
-
"@platformatic/types": "0.37.
|
|
72
|
-
"@platformatic/utils": "0.37.
|
|
73
|
-
"@platformatic/telemetry": "0.37.
|
|
68
|
+
"@platformatic/client": "0.37.3",
|
|
69
|
+
"@platformatic/config": "0.37.3",
|
|
70
|
+
"@platformatic/swagger-ui-theme": "0.37.3",
|
|
71
|
+
"@platformatic/types": "0.37.3",
|
|
72
|
+
"@platformatic/utils": "0.37.3",
|
|
73
|
+
"@platformatic/telemetry": "0.37.3"
|
|
74
74
|
},
|
|
75
75
|
"standard": {
|
|
76
76
|
"ignore": [
|
package/test/telemetry.test.js
CHANGED
|
@@ -76,8 +76,8 @@ test('should setup telemetry if configured', async ({ teardown, equal, pass, sam
|
|
|
76
76
|
})
|
|
77
77
|
})
|
|
78
78
|
equal(res.statusCode, 200, 'savePage status code')
|
|
79
|
-
const {
|
|
80
|
-
const finishedSpans =
|
|
79
|
+
const { exporters } = app.openTelemetry
|
|
80
|
+
const finishedSpans = exporters[0].getFinishedSpans()
|
|
81
81
|
equal(finishedSpans.length, 1)
|
|
82
82
|
const span = finishedSpans[0]
|
|
83
83
|
equal(span.name, 'GET /')
|