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

Add support for Graphite web compressPeriodicGaps function #123

Closed
carrieedwards opened this issue Sep 20, 2022 · 0 comments
Closed

Add support for Graphite web compressPeriodicGaps function #123

carrieedwards opened this issue Sep 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@carrieedwards
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
CarbonAPI is currently missing support of the compressPeriodicGaps function. This function is defined as:

compressPeriodicGaps(seriesList)
Tries to intelligently remove periodic None’s from series, recalculating start, stop and step values. You can use summarize(seriesList, ‘<desired step>’, ‘last’) function for that also, but this function trying to guess desired step automatically. Can be used in case of fix metric with improper resolution. Especially useful for derivative functions, which are not working with series with regular gaps.

Example:

&target=compressPeriodicGaps(Server.instance01.threads.busy)

Graphite web's implementation can be found here.

Describe the solution you'd like
This function should be supported and thoroughly tested to ensure that it is functioning according to expectations.

Additional context
Add any other context or screenshots about the feature request here.

@carrieedwards carrieedwards added the enhancement New feature or request label Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant