-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@opentelemetry/exporter-trace-otlp-http sends time as an object #4216
Comments
I think that this might have caused the problem. |
FYI, downgrading to |
PR for the fix at #4220 |
I don't think this is limited to the trace exporter. I'm seeing the same at sdk-metrics/build/src/export/PeriodicExportingMetricReader.js:55:13 with 0.44 |
The same error {"stack":"OTLPExporterError: Bad Request\n at IncomingMessage. (/home/polyakov/packages/telemetry/node_modules/@opentelemetry/otlp-exporter-base/build/src/platform/node/util.js:103:39)\n at IncomingMessage.emit (node:events:526:35)\n at endReadableNT (node:internal/streams/readable:1376:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)","message":"Bad Request","name":"OTLPExporterError","data":"{"code":3,"message":"ReadUint64: unsupported value type, error found in #10 byte of ...|UnixNano\":{\"low\":194|..., bigger context ...|\":\"graphql\"},\"logRecords\":[{\"timeUnixNano\":{\"low\":1948385984,\"high\":395403571},\"observedTimeU|..."}","code":"400"}
|
|
This report is more specific. Perhaps the other should be labeled the dupe? |
Latest version leads to "Bad request" bug on otlp shutdown due to open-telemetry/opentelemetry-js#4216
What happened?
After updating to the latest version, OpenTelemetry started sending time as an object:
See the code below to reproduce.
OpenTelemetry Setup Code
package.json
Relevant log output
The text was updated successfully, but these errors were encountered: