Commit 9abf25c
committed
feat(exporter): Implement OTLP JSON exporters for HTTP transport
Add new packages for JSON-based OTLP exporters as alternatives to the existing
Protobuf-based exporters:
- opentelemetry-exporter-otlp-json-common: Common JSON encoding functionality
- opentelemetry-exporter-otlp-json-http: HTTP transport implementation
These exporters enable compatibility with services requiring JSON format
instead of Protobuf. Implementation includes full support for traces, metrics,
and logs with comprehensive test coverage following project guidelines.
Closes open-telemetry#10031 parent e01fa0c commit 9abf25c
File tree
38 files changed
+6143
-444
lines changed- .github/workflows
- exporter
- opentelemetry-exporter-otlp-json-common
- src/opentelemetry/exporter/otlp/json/common
- _internal
- _log_encoder
- metrics_encoder
- trace_encoder
- version
- tests
- opentelemetry-exporter-otlp-json-http
- src/opentelemetry/exporter/otlp/json/http
- _log_exporter
- metric_exporter
- trace_exporter
- version
- tests
38 files changed
+6143
-444
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
181 | 199 | | |
182 | 200 | | |
183 | 201 | | |
| |||
232 | 250 | | |
233 | 251 | | |
234 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
235 | 271 | | |
236 | 272 | | |
237 | 273 | | |
| |||
0 commit comments