Skip to content

EventsDataSource is missing the metrics value #2102

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

Open
smeijer opened this issue Mar 13, 2025 · 1 comment
Open

EventsDataSource is missing the metrics value #2102

smeijer opened this issue Mar 13, 2025 · 1 comment

Comments

@smeijer
Copy link

smeijer commented Mar 13, 2025

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
@smeijer smeijer changed the title could not serialize EventsScalarQuery (TypeError: unknown enum value 'metrics') EventsDataSource is missing the metrics value Mar 13, 2025
Copy link

Thanks for your contribution!

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:

  1. Verify that you can still reproduce the issue in the latest version of this project.

  2. Comment that the issue is still reproducible and include updated details requested in the issue template.

@github-actions github-actions bot added the stale label Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant