You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
By default some exporters just use JSON instead of protos. Right now we reject these mime types but for ease of use we should allow them.
Example:
{"stack":"OTLPExporterError: Unsupported Media Type\n at IncomingMessage.<anonymous> (/Users/mikeldking/work/arize/arizeweb/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/otlp-exporter-base/src/platform/node/util.ts:89:25)\n at /Users/mikeldking/work/arize/arizeweb/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/context-async-hooks/src/AbstractAsyncHooksContextManager.ts:75:49\n at AsyncLocalStorage.run (node:async_hooks:335:14)\n at AsyncLocalStorageContextManager.with (/Users/mikeldking/work/arize/arizeweb/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/context-async-hooks/src/AsyncLocalStorageContextManager.ts:40:36)\n at IncomingMessage.contextWrapper (/Users/mikeldking/work/arize/arizeweb/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/context-async-hooks/src/AbstractAsyncHooksContextManager.ts:75:26)\n at IncomingMessage.emit (node:events:526:35)\n at IncomingMessage.emit (node:domain:488:12)\n at endReadableNT (node:internal/streams/readable:1589:12)\n at processTicksAndRejections (node:internal/process/task_queues:82:21)","message":"Unsupported Media Type","name":"OTLPExporterError","data":"Unsupported content type: application/json","code":"415"}
``
The text was updated successfully, but these errors were encountered:
@pbadhe give one of the HTTP OTEL exporters a try (maybe nodejs) with Phoenix. You will notice that if the HTTP exporter uses JSON, phoenix rejects the spans (e.g. the header MIME type will be rejected).
Is your feature request related to a problem? Please describe.
By default some exporters just use JSON instead of protos. Right now we reject these mime types but for ease of use we should allow them.
Example:
The text was updated successfully, but these errors were encountered: