Skip to content
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

Misleading error message with invalid queries #23070

Closed
kevink-sq opened this issue May 8, 2024 · 2 comments
Closed

Misleading error message with invalid queries #23070

kevink-sq opened this issue May 8, 2024 · 2 comments

Comments

@kevink-sq
Copy link

Documentation Page

Apologies if this issue does not belong to the documentation repo but appears when parsing metric sources.

Issue Description

When creating an invalid query with mix of AND/OR and !, the message becomes

Error parsing query: 'AND' and 'OR' cannot be mixed with ','

which is confusing when not using commas but rather exclamations.

For example avg:system.load.1{service:test AND !host:123} returns the above error even though there are no commas:

Screenshot 2024-05-08 at 12 35 23 PM

@estherk15
Copy link
Contributor

Hi @kevink-sq thanks for reaching out! I recommend opening a support ticket for a feature request so our Product teams can take a look. I'll take a look at our documentation to see if this is misrepresented or can be clarified!

@estherk15
Copy link
Contributor

I'm closing out this issue, but reach back out to Datadog through our Support channels if you have any questions on this! Thank you again for letting us know about this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants