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
smeijer
changed the title
could not serialize EventsScalarQuery (TypeError: unknown enum value 'metrics')EventsDataSource is missing the metrics value
Mar 13, 2025
This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community.
If you would like this issue to remain open:
Verify that you can still reproduce the issue in the latest version of this project.
Comment that the issue is still reproducible and include updated details requested in the issue template.
Describe the bug
EventsDataSource
is missing themetrics
value:datadog-api-client-typescript/packages/datadog-api-client-v2/models/ObjectSerializer.ts
Line 1995 in 507ae5d
metrics
is a valid value, as is seen here: https://docs.datadoghq.com/api/latest/metrics/?code-lang=typescript#query-scalar-data-across-multiple-productsWithout that value, the client logs the error:
To Reproduce
Run the TypeScript example as shown here: https://docs.datadoghq.com/api/latest/metrics/?code-lang=typescript#query-scalar-data-across-multiple-products
Expected behavior
No error should be logged when using the client as shown on the docs page linked above.
Environment and Versions (please complete the following information):
A clear and precise description of your setup:
1.33.1
The text was updated successfully, but these errors were encountered: