@bsb/observable-zipkin 1.1.1 → 1.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.
@@ -55,7 +55,6 @@ const ConfigSchema = av.object({
55
55
  export const Config = createConfigSchema({
56
56
  name: 'observable-zipkin',
57
57
  description: 'Zipkin tracing integration for BSB framework',
58
- version: '1.0.0',
59
58
  tags: ['zipkin', 'tracing', 'observability', 'distributed-tracing'],
60
59
  }, ConfigSchema);
61
60
  /**
@@ -1,7 +1,152 @@
1
1
  {
2
2
  "pluginName": "observable-zipkin",
3
- "version": "1.0.0",
4
3
  "events": {},
4
+ "version": "1.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
+ "zipkin": {
25
+ "kind": "object",
26
+ "properties": {
27
+ "url": {
28
+ "kind": "optional",
29
+ "inner": {
30
+ "kind": "string",
31
+ "format": "url"
32
+ },
33
+ "default": "http://localhost:9411/api/v2/spans"
34
+ },
35
+ "headers": {
36
+ "kind": "optional",
37
+ "inner": {
38
+ "kind": "record",
39
+ "valueSchema": {
40
+ "kind": "string"
41
+ }
42
+ }
43
+ },
44
+ "statusCodeTagName": {
45
+ "kind": "optional",
46
+ "inner": {
47
+ "kind": "string"
48
+ },
49
+ "default": "http.status_code"
50
+ },
51
+ "statusDescriptionTagName": {
52
+ "kind": "optional",
53
+ "inner": {
54
+ "kind": "string"
55
+ },
56
+ "default": "http.status_text"
57
+ }
58
+ },
59
+ "required": [],
60
+ "unknownKeys": "strip"
61
+ },
62
+ "export": {
63
+ "kind": "object",
64
+ "properties": {
65
+ "maxBatchSize": {
66
+ "kind": "optional",
67
+ "inner": {
68
+ "kind": "int32",
69
+ "min": 1
70
+ },
71
+ "default": 100
72
+ },
73
+ "maxQueueSize": {
74
+ "kind": "optional",
75
+ "inner": {
76
+ "kind": "int32",
77
+ "min": 1
78
+ },
79
+ "default": 2048
80
+ },
81
+ "scheduledDelayMillis": {
82
+ "kind": "optional",
83
+ "inner": {
84
+ "kind": "int32",
85
+ "min": 100
86
+ },
87
+ "default": 5000
88
+ }
89
+ },
90
+ "required": [],
91
+ "unknownKeys": "strip"
92
+ },
93
+ "resourceAttributes": {
94
+ "kind": "optional",
95
+ "inner": {
96
+ "kind": "record",
97
+ "valueSchema": {
98
+ "kind": "string"
99
+ }
100
+ },
101
+ "default": {}
102
+ },
103
+ "samplingRate": {
104
+ "kind": "optional",
105
+ "inner": {
106
+ "kind": "number",
107
+ "min": 0,
108
+ "max": 1
109
+ },
110
+ "default": 1
111
+ },
112
+ "console": {
113
+ "kind": "object",
114
+ "properties": {
115
+ "enabled": {
116
+ "kind": "optional",
117
+ "inner": {
118
+ "kind": "bool"
119
+ },
120
+ "default": true
121
+ },
122
+ "logLevel": {
123
+ "kind": "optional",
124
+ "inner": {
125
+ "kind": "enum",
126
+ "values": [
127
+ "debug",
128
+ "info",
129
+ "warn",
130
+ "error"
131
+ ]
132
+ },
133
+ "default": "info"
134
+ }
135
+ },
136
+ "required": [],
137
+ "unknownKeys": "strip"
138
+ }
139
+ },
140
+ "required": [
141
+ "zipkin",
142
+ "export",
143
+ "console"
144
+ ],
145
+ "unknownKeys": "strip"
146
+ },
147
+ "definitions": {},
148
+ "extensions": {}
149
+ },
5
150
  "pluginType": "observable",
6
151
  "capabilities": {
7
152
  "logging": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "observable-zipkin",
3
3
  "name": "observable-zipkin",
4
- "version": "1.0.0",
4
+ "version": "1.1.3",
5
5
  "description": "Zipkin tracing integration for BSB framework",
6
6
  "category": "observable",
7
7
  "tags": [
@@ -11,5 +11,156 @@
11
11
  "distributed-tracing"
12
12
  ],
13
13
  "documentation": [],
14
- "dependencies": []
14
+ "dependencies": [],
15
+ "author": {
16
+ "name": "BetterCorp (PTY) Ltd",
17
+ "email": "ninja@bettercorp.dev",
18
+ "url": "https://bettercorp.dev/"
19
+ },
20
+ "license": "(AGPL-3.0-only OR Commercial)",
21
+ "configSchema": {
22
+ "anyvaliVersion": "1.0",
23
+ "schemaVersion": "1",
24
+ "root": {
25
+ "kind": "object",
26
+ "properties": {
27
+ "serviceName": {
28
+ "kind": "optional",
29
+ "inner": {
30
+ "kind": "string"
31
+ },
32
+ "default": "bsb-service"
33
+ },
34
+ "serviceVersion": {
35
+ "kind": "optional",
36
+ "inner": {
37
+ "kind": "string"
38
+ }
39
+ },
40
+ "zipkin": {
41
+ "kind": "object",
42
+ "properties": {
43
+ "url": {
44
+ "kind": "optional",
45
+ "inner": {
46
+ "kind": "string",
47
+ "format": "url"
48
+ },
49
+ "default": "http://localhost:9411/api/v2/spans"
50
+ },
51
+ "headers": {
52
+ "kind": "optional",
53
+ "inner": {
54
+ "kind": "record",
55
+ "valueSchema": {
56
+ "kind": "string"
57
+ }
58
+ }
59
+ },
60
+ "statusCodeTagName": {
61
+ "kind": "optional",
62
+ "inner": {
63
+ "kind": "string"
64
+ },
65
+ "default": "http.status_code"
66
+ },
67
+ "statusDescriptionTagName": {
68
+ "kind": "optional",
69
+ "inner": {
70
+ "kind": "string"
71
+ },
72
+ "default": "http.status_text"
73
+ }
74
+ },
75
+ "required": [],
76
+ "unknownKeys": "strip"
77
+ },
78
+ "export": {
79
+ "kind": "object",
80
+ "properties": {
81
+ "maxBatchSize": {
82
+ "kind": "optional",
83
+ "inner": {
84
+ "kind": "int32",
85
+ "min": 1
86
+ },
87
+ "default": 100
88
+ },
89
+ "maxQueueSize": {
90
+ "kind": "optional",
91
+ "inner": {
92
+ "kind": "int32",
93
+ "min": 1
94
+ },
95
+ "default": 2048
96
+ },
97
+ "scheduledDelayMillis": {
98
+ "kind": "optional",
99
+ "inner": {
100
+ "kind": "int32",
101
+ "min": 100
102
+ },
103
+ "default": 5000
104
+ }
105
+ },
106
+ "required": [],
107
+ "unknownKeys": "strip"
108
+ },
109
+ "resourceAttributes": {
110
+ "kind": "optional",
111
+ "inner": {
112
+ "kind": "record",
113
+ "valueSchema": {
114
+ "kind": "string"
115
+ }
116
+ },
117
+ "default": {}
118
+ },
119
+ "samplingRate": {
120
+ "kind": "optional",
121
+ "inner": {
122
+ "kind": "number",
123
+ "min": 0,
124
+ "max": 1
125
+ },
126
+ "default": 1
127
+ },
128
+ "console": {
129
+ "kind": "object",
130
+ "properties": {
131
+ "enabled": {
132
+ "kind": "optional",
133
+ "inner": {
134
+ "kind": "bool"
135
+ },
136
+ "default": true
137
+ },
138
+ "logLevel": {
139
+ "kind": "optional",
140
+ "inner": {
141
+ "kind": "enum",
142
+ "values": [
143
+ "debug",
144
+ "info",
145
+ "warn",
146
+ "error"
147
+ ]
148
+ },
149
+ "default": "info"
150
+ }
151
+ },
152
+ "required": [],
153
+ "unknownKeys": "strip"
154
+ }
155
+ },
156
+ "required": [
157
+ "zipkin",
158
+ "export",
159
+ "console"
160
+ ],
161
+ "unknownKeys": "strip"
162
+ },
163
+ "definitions": {},
164
+ "extensions": {}
165
+ }
15
166
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bsb/observable-zipkin",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Zipkin tracing integration for BSB framework",
5
5
  "type": "module",
6
6
  "main": "lib/plugins/observable-zipkin/index.js",
@@ -29,7 +29,7 @@
29
29
  "url": "https://bettercorp.dev/"
30
30
  },
31
31
  "peerDependencies": {
32
- "@bsb/base": "^9.0.0"
32
+ "@bsb/base": "^9.1.6"
33
33
  },
34
34
  "dependencies": {
35
35
  "@anyvali/js": "^0.2.0",
@@ -40,8 +40,8 @@
40
40
  "@opentelemetry/semantic-conventions": "^1.28.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@bsb/base": "^9.0.0",
44
- "@types/node": "^22.10.5",
43
+ "@bsb/base": "^9.1.6",
44
+ "@types/node": "^25.6.0",
45
45
  "rimraf": "^6.0.1",
46
46
  "typescript": "^5.7.3"
47
47
  },
@@ -66,7 +66,6 @@ export const Config = createConfigSchema(
66
66
  {
67
67
  name: 'observable-zipkin',
68
68
  description: 'Zipkin tracing integration for BSB framework',
69
- version: '1.0.0',
70
69
  tags: ['zipkin', 'tracing', 'observability', 'distributed-tracing'],
71
70
  },
72
71
  ConfigSchema