@bsb/observable-opentelemetry 9.1.1 → 9.1.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.
|
@@ -58,7 +58,6 @@ export const OpenTelemetryConfigSchema = av.object({
|
|
|
58
58
|
export const Config = createConfigSchema({
|
|
59
59
|
name: 'observable-opentelemetry',
|
|
60
60
|
description: 'OpenTelemetry integration for logs, metrics, and traces via OTLP',
|
|
61
|
-
version: '9.0.0',
|
|
62
61
|
image: './observable-opentelemetry.png',
|
|
63
62
|
tags: ['opentelemetry', 'otlp', 'observability', 'logs', 'metrics', 'traces'],
|
|
64
63
|
documentation: ['./docs/plugin.md'],
|
|
@@ -1,7 +1,125 @@
|
|
|
1
1
|
{
|
|
2
2
|
"pluginName": "observable-opentelemetry",
|
|
3
|
-
"version": "9.0.0",
|
|
4
3
|
"events": {},
|
|
4
|
+
"version": "9.1.3",
|
|
5
|
+
"configSchema": {
|
|
6
|
+
"anyvaliVersion": "1.0",
|
|
7
|
+
"schemaVersion": "1",
|
|
8
|
+
"root": {
|
|
9
|
+
"kind": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"serviceName": {
|
|
12
|
+
"kind": "optional",
|
|
13
|
+
"inner": {
|
|
14
|
+
"kind": "string"
|
|
15
|
+
},
|
|
16
|
+
"default": "bsb-service"
|
|
17
|
+
},
|
|
18
|
+
"serviceVersion": {
|
|
19
|
+
"kind": "optional",
|
|
20
|
+
"inner": {
|
|
21
|
+
"kind": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"endpoint": {
|
|
25
|
+
"kind": "optional",
|
|
26
|
+
"inner": {
|
|
27
|
+
"kind": "string",
|
|
28
|
+
"format": "url"
|
|
29
|
+
},
|
|
30
|
+
"default": "http://localhost:4318"
|
|
31
|
+
},
|
|
32
|
+
"export": {
|
|
33
|
+
"kind": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"protocol": {
|
|
36
|
+
"kind": "optional",
|
|
37
|
+
"inner": {
|
|
38
|
+
"kind": "enum",
|
|
39
|
+
"values": [
|
|
40
|
+
"http",
|
|
41
|
+
"grpc"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"default": "http"
|
|
45
|
+
},
|
|
46
|
+
"interval": {
|
|
47
|
+
"kind": "optional",
|
|
48
|
+
"inner": {
|
|
49
|
+
"kind": "int32",
|
|
50
|
+
"min": 100
|
|
51
|
+
},
|
|
52
|
+
"default": 5000
|
|
53
|
+
},
|
|
54
|
+
"maxBatchSize": {
|
|
55
|
+
"kind": "optional",
|
|
56
|
+
"inner": {
|
|
57
|
+
"kind": "int32",
|
|
58
|
+
"min": 1
|
|
59
|
+
},
|
|
60
|
+
"default": 512
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"required": [],
|
|
64
|
+
"unknownKeys": "strip"
|
|
65
|
+
},
|
|
66
|
+
"enabled": {
|
|
67
|
+
"kind": "object",
|
|
68
|
+
"properties": {
|
|
69
|
+
"traces": {
|
|
70
|
+
"kind": "optional",
|
|
71
|
+
"inner": {
|
|
72
|
+
"kind": "bool"
|
|
73
|
+
},
|
|
74
|
+
"default": true
|
|
75
|
+
},
|
|
76
|
+
"metrics": {
|
|
77
|
+
"kind": "optional",
|
|
78
|
+
"inner": {
|
|
79
|
+
"kind": "bool"
|
|
80
|
+
},
|
|
81
|
+
"default": true
|
|
82
|
+
},
|
|
83
|
+
"logs": {
|
|
84
|
+
"kind": "optional",
|
|
85
|
+
"inner": {
|
|
86
|
+
"kind": "bool"
|
|
87
|
+
},
|
|
88
|
+
"default": true
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"required": [],
|
|
92
|
+
"unknownKeys": "strip"
|
|
93
|
+
},
|
|
94
|
+
"resourceAttributes": {
|
|
95
|
+
"kind": "optional",
|
|
96
|
+
"inner": {
|
|
97
|
+
"kind": "record",
|
|
98
|
+
"valueSchema": {
|
|
99
|
+
"kind": "string"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"default": {}
|
|
103
|
+
},
|
|
104
|
+
"samplingRate": {
|
|
105
|
+
"kind": "optional",
|
|
106
|
+
"inner": {
|
|
107
|
+
"kind": "number",
|
|
108
|
+
"min": 0,
|
|
109
|
+
"max": 1
|
|
110
|
+
},
|
|
111
|
+
"default": 1
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"required": [
|
|
115
|
+
"export",
|
|
116
|
+
"enabled"
|
|
117
|
+
],
|
|
118
|
+
"unknownKeys": "strip"
|
|
119
|
+
},
|
|
120
|
+
"definitions": {},
|
|
121
|
+
"extensions": {}
|
|
122
|
+
},
|
|
5
123
|
"pluginType": "observable",
|
|
6
124
|
"capabilities": {
|
|
7
125
|
"logging": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "observable-opentelemetry",
|
|
3
3
|
"name": "observable-opentelemetry",
|
|
4
|
-
"version": "9.
|
|
4
|
+
"version": "9.1.3",
|
|
5
5
|
"description": "OpenTelemetry integration for logs, metrics, and traces via OTLP",
|
|
6
6
|
"category": "observable",
|
|
7
7
|
"tags": [
|
|
@@ -16,5 +16,129 @@
|
|
|
16
16
|
"./docs/plugin.md"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": [],
|
|
19
|
-
"
|
|
19
|
+
"author": {
|
|
20
|
+
"name": "BetterCorp (PTY) Ltd",
|
|
21
|
+
"email": "ninja@bettercorp.dev",
|
|
22
|
+
"url": "https://bettercorp.dev/"
|
|
23
|
+
},
|
|
24
|
+
"license": "(AGPL-3.0-only OR Commercial)",
|
|
25
|
+
"image": "./observable-opentelemetry.png",
|
|
26
|
+
"configSchema": {
|
|
27
|
+
"anyvaliVersion": "1.0",
|
|
28
|
+
"schemaVersion": "1",
|
|
29
|
+
"root": {
|
|
30
|
+
"kind": "object",
|
|
31
|
+
"properties": {
|
|
32
|
+
"serviceName": {
|
|
33
|
+
"kind": "optional",
|
|
34
|
+
"inner": {
|
|
35
|
+
"kind": "string"
|
|
36
|
+
},
|
|
37
|
+
"default": "bsb-service"
|
|
38
|
+
},
|
|
39
|
+
"serviceVersion": {
|
|
40
|
+
"kind": "optional",
|
|
41
|
+
"inner": {
|
|
42
|
+
"kind": "string"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"endpoint": {
|
|
46
|
+
"kind": "optional",
|
|
47
|
+
"inner": {
|
|
48
|
+
"kind": "string",
|
|
49
|
+
"format": "url"
|
|
50
|
+
},
|
|
51
|
+
"default": "http://localhost:4318"
|
|
52
|
+
},
|
|
53
|
+
"export": {
|
|
54
|
+
"kind": "object",
|
|
55
|
+
"properties": {
|
|
56
|
+
"protocol": {
|
|
57
|
+
"kind": "optional",
|
|
58
|
+
"inner": {
|
|
59
|
+
"kind": "enum",
|
|
60
|
+
"values": [
|
|
61
|
+
"http",
|
|
62
|
+
"grpc"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"default": "http"
|
|
66
|
+
},
|
|
67
|
+
"interval": {
|
|
68
|
+
"kind": "optional",
|
|
69
|
+
"inner": {
|
|
70
|
+
"kind": "int32",
|
|
71
|
+
"min": 100
|
|
72
|
+
},
|
|
73
|
+
"default": 5000
|
|
74
|
+
},
|
|
75
|
+
"maxBatchSize": {
|
|
76
|
+
"kind": "optional",
|
|
77
|
+
"inner": {
|
|
78
|
+
"kind": "int32",
|
|
79
|
+
"min": 1
|
|
80
|
+
},
|
|
81
|
+
"default": 512
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"required": [],
|
|
85
|
+
"unknownKeys": "strip"
|
|
86
|
+
},
|
|
87
|
+
"enabled": {
|
|
88
|
+
"kind": "object",
|
|
89
|
+
"properties": {
|
|
90
|
+
"traces": {
|
|
91
|
+
"kind": "optional",
|
|
92
|
+
"inner": {
|
|
93
|
+
"kind": "bool"
|
|
94
|
+
},
|
|
95
|
+
"default": true
|
|
96
|
+
},
|
|
97
|
+
"metrics": {
|
|
98
|
+
"kind": "optional",
|
|
99
|
+
"inner": {
|
|
100
|
+
"kind": "bool"
|
|
101
|
+
},
|
|
102
|
+
"default": true
|
|
103
|
+
},
|
|
104
|
+
"logs": {
|
|
105
|
+
"kind": "optional",
|
|
106
|
+
"inner": {
|
|
107
|
+
"kind": "bool"
|
|
108
|
+
},
|
|
109
|
+
"default": true
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": [],
|
|
113
|
+
"unknownKeys": "strip"
|
|
114
|
+
},
|
|
115
|
+
"resourceAttributes": {
|
|
116
|
+
"kind": "optional",
|
|
117
|
+
"inner": {
|
|
118
|
+
"kind": "record",
|
|
119
|
+
"valueSchema": {
|
|
120
|
+
"kind": "string"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"default": {}
|
|
124
|
+
},
|
|
125
|
+
"samplingRate": {
|
|
126
|
+
"kind": "optional",
|
|
127
|
+
"inner": {
|
|
128
|
+
"kind": "number",
|
|
129
|
+
"min": 0,
|
|
130
|
+
"max": 1
|
|
131
|
+
},
|
|
132
|
+
"default": 1
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"required": [
|
|
136
|
+
"export",
|
|
137
|
+
"enabled"
|
|
138
|
+
],
|
|
139
|
+
"unknownKeys": "strip"
|
|
140
|
+
},
|
|
141
|
+
"definitions": {},
|
|
142
|
+
"extensions": {}
|
|
143
|
+
}
|
|
20
144
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bsb/observable-opentelemetry",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "(AGPL-3.0-only OR Commercial)",
|
|
6
6
|
"author": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"publish:client": "bsb client publish"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@bsb/base": "^9.
|
|
42
|
+
"@bsb/base": "^9.1.6"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@anyvali/js": "^0.2.0",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"@opentelemetry/semantic-conventions": "^1.28.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@types/node": "^25.
|
|
59
|
+
"@types/node": "^25.6.0",
|
|
60
60
|
"typescript": "^5.9.0",
|
|
61
61
|
"mocha": "^11.0.0",
|
|
62
|
-
"@bsb/base": "^9.
|
|
62
|
+
"@bsb/base": "^9.1.6"
|
|
63
63
|
},
|
|
64
64
|
"engines": {
|
|
65
65
|
"node": ">=23.0.0",
|