@platformatic/telemetry 0.38.0 → 0.39.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.
Files changed (2) hide show
  1. package/lib/schema.js +3 -6
  2. package/package.json +1 -1
package/lib/schema.js CHANGED
@@ -49,12 +49,9 @@ const TelemetrySchema = {
49
49
  description: 'The path to skip. Can be a string or a regex.'
50
50
  },
51
51
  method: {
52
- type: 'array',
53
- description: 'An array of HTTP methods to skip. If not specified, all methods will be skipped.',
54
- items: {
55
- type: 'string',
56
- enum: ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS']
57
- }
52
+ description: 'HTTP method to skip',
53
+ type: 'string',
54
+ enum: ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS']
58
55
  }
59
56
  }
60
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/telemetry",
3
- "version": "0.38.0",
3
+ "version": "0.39.0",
4
4
  "description": "OpenTelemetry integration for Platformatic",
5
5
  "main": "index.js",
6
6
  "author": "Marco Piraccini <marco.piraccini@gmail.com>",