autotel-devtools 4.0.0 → 5.0.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autotel-devtools",
3
- "version": "4.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Standalone OTLP receiver with web UI for local development",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -48,50 +48,52 @@
48
48
  "widget"
49
49
  ],
50
50
  "dependencies": {
51
- "@preact/signals": "^2.9.0",
51
+ "@preact/signals": "^2.9.1",
52
52
  "clsx": "^2.1.1",
53
- "lucide-preact": "^1.14.0",
54
- "markdown-to-jsx": "^9.8.0",
55
- "preact": "^10.29.1",
53
+ "lucide-preact": "^1.17.0",
54
+ "markdown-to-jsx": "^9.8.1",
55
+ "preact": "^10.29.2",
56
+ "protobufjs": "^8.4.2",
56
57
  "react-json-view-lite": "^2.5.0",
57
58
  "tailwind-merge": "^3.6.0",
58
- "ws": "^8.20.1"
59
+ "ws": "^8.21.0"
59
60
  },
60
61
  "devDependencies": {
61
- "@chromatic-com/storybook": "^5.1.2",
62
+ "@chromatic-com/storybook": "^5.2.1",
62
63
  "@opentelemetry/api": "^1.9.1",
63
64
  "@opentelemetry/core": "^2.7.1",
65
+ "@opentelemetry/otlp-transformer": "^0.218.0",
64
66
  "@opentelemetry/sdk-logs": "^0.218.0",
65
67
  "@opentelemetry/sdk-trace-base": "^2.7.1",
66
68
  "@preact/preset-vite": "^2.10.5",
67
- "@storybook/addon-a11y": "^10.3.6",
68
- "@storybook/addon-docs": "^10.3.6",
69
- "@storybook/addon-vitest": "^10.3.6",
70
- "@storybook/preact-vite": "^10.3.6",
69
+ "@storybook/addon-a11y": "^10.4.1",
70
+ "@storybook/addon-docs": "^10.4.1",
71
+ "@storybook/addon-vitest": "^10.4.1",
72
+ "@storybook/preact-vite": "^10.4.1",
71
73
  "@tailwindcss/postcss": "^4.3.0",
72
74
  "@tailwindcss/vite": "^4.3.0",
73
75
  "@testing-library/jest-dom": "^6.9.1",
74
76
  "@testing-library/preact": "^3.2.4",
75
- "@types/node": "^25.7.0",
77
+ "@types/node": "^25.9.1",
76
78
  "@types/ws": "^8.18.1",
77
- "@vitest/browser-playwright": "4.1.6",
78
- "@vitest/coverage-v8": "4.1.6",
79
- "eslint-plugin-storybook": "^10.3.6",
79
+ "@vitest/browser-playwright": "4.1.7",
80
+ "@vitest/coverage-v8": "4.1.7",
81
+ "eslint-plugin-storybook": "^10.4.1",
80
82
  "jsdom": "^29.1.1",
81
83
  "playwright": "^1.60.0",
82
- "postcss": "^8.5.14",
84
+ "postcss": "^8.5.15",
83
85
  "react": "^19.2.6",
84
86
  "react-dom": "^19.2.6",
85
- "storybook": "^10.3.6",
87
+ "storybook": "^10.4.1",
86
88
  "tailwindcss": "^4.3.0",
87
89
  "tsup": "^8.5.1",
88
90
  "typescript": "^6.0.3",
89
- "vite": "^8.0.12",
90
- "vitest": "^4.1.6",
91
+ "vite": "^8.0.14",
92
+ "vitest": "^4.1.7",
91
93
  "vitest-mock-extended": "^4.0.0"
92
94
  },
93
95
  "peerDependencies": {
94
- "autotel": "3.2.0"
96
+ "autotel": "3.3.1"
95
97
  },
96
98
  "peerDependenciesMeta": {
97
99
  "autotel": {
@@ -17,12 +17,16 @@ npx autotel-devtools
17
17
  # → OTLP receiver on :4318, UI at http://localhost:4318
18
18
  ```
19
19
 
20
- Point any OTel-instrumented app at it:
20
+ Point any OTel-instrumented app at it. The endpoints accept **both OTLP/JSON and
21
+ OTLP/protobuf**, chosen from the request `Content-Type`, so protobuf-default SDKs
22
+ (Python/Java/Go) work with no extra config:
21
23
 
22
24
  ```bash
23
- OTEL_EXPORTER_OTLP_PROTOCOL=http/json \
24
- OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318 \
25
- node app.js
25
+ # JS (defaults to JSON, or set http/protobuf — both work)
26
+ OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318 node app.js
27
+
28
+ # Python/Java/Go (default to http/protobuf)
29
+ OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318 python app.py
26
30
  ```
27
31
 
28
32
  ### Embedded widget
@@ -65,7 +69,7 @@ export const loadUser = trace(ctx => async (id: string) => {
65
69
 
66
70
  | Route | What |
67
71
  | --- | --- |
68
- | `POST /v1/traces` · `/v1/logs` · `/v1/metrics` | OTLP JSON receivers |
72
+ | `POST /v1/traces` · `/v1/logs` · `/v1/metrics` | OTLP receivers — JSON or protobuf (`application/x-protobuf`) |
69
73
  | `GET /` | Dashboard UI (traces, logs, metrics, errors, resources, service map) |
70
74
  | `GET /widget.js` | Embeddable widget bundle (IIFE) |
71
75
  | `GET /healthz` | Health check |