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

groupByNodes() does not accept negative values for node offsets, but should #255

Open
markzabaro opened this issue Apr 16, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers top-level api

Comments

@markzabaro
Copy link

Expected: Based on https://graphite.readthedocs.io/en/latest/functions.html#graphite.render.functions.groupByNodes and many other functions' behavior, I assumed that positive and negative 0-indexed offsets should work.

Observed:

  • This gives an internal server error: /render/?from=-1months&width=1300&height=600&target=groupByNodes(this.is.a.very.long.timeseries.path.and.it.might.be.a.little.easier.to.count.from.the.end.instead.of.the.beginning,"sum",-10)
  • This renders a metric/render/?from=-1months&width=1300&height=600&target=groupByNodes(this.is.a.very.long.timeseries.path.and.it.might.be.a.little.easier.to.count.from.the.end.instead.of.the.beginning,"sum",14)

Anonymized to protect confidential path names. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers top-level api
Projects
None yet
Development

No branches or pull requests

2 participants