Closed
Description
I am seeing this warning/error when submitting metrics:
could not serialize Array<number> (TypeError: mismatch types '1731477130' and 'Array<number>')
could not serialize number (TypeError: unknown type 'number')
This seems to be coming from - https://github.com/DataDog/datadog-api-client-typescript/blob/b56725b4ac6154403442ed02fe511c27a960d000/packages/datadog-api-client-v1/models/ObjectSerializer.ts#L2494.
Debugger screenshot (breakpoint on above error message):
Is there any workaround I can try?
If this is expected behaviour, is there a way to supress these messages? I am using this lib to send metrics from a cli, where this stdout/stderr output affects the experience.
Metadata
Metadata
Assignees
Labels
No labels