Open
Description
Describe the bug
EventsDataSource
is missing the metrics
value:
metrics
is a valid value, as is seen here: https://docs.datadoghq.com/api/latest/metrics/?code-lang=typescript#query-scalar-data-across-multiple-products
Without that value, the client logs the error:
could not serialize EventsScalarQuery (TypeError: unknown enum value 'metrics')
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:
- version for this project in use.
1.33.1