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

divideSeries function not handling missing denominators the same as Graphite web #72

Closed
carrieedwards opened this issue Aug 22, 2022 · 0 comments · Fixed by #73
Closed
Labels
bug Something isn't working

Comments

@carrieedwards
Copy link
Collaborator

carrieedwards commented Aug 22, 2022

In the divideSeries function, if the length of the denominators is not equal to 1, an error is returned in CarbonAPI. This appears to not be consistent with how this situation is handled in Graphite web, where a list of with values of None is returned.

Currently, we are seeing the following error when the length of denominators is either 0 or > 1:

function=divideSeries: found wildcard where series expected

To reproduce, run a query such as:

divideSeries(testMetric1,test)

where test is not a valid metric name.

@carrieedwards carrieedwards added the bug Something isn't working label Aug 22, 2022
@carrieedwards carrieedwards linked a pull request Aug 22, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant