Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Added 8 functions related to filterSeries#1308

Merged
Dieterbe merged 2 commits intografana:masterfrom
the-real-stiven:filter-other-funcs
May 13, 2019
Merged

Added 8 functions related to filterSeries#1308
Dieterbe merged 2 commits intografana:masterfrom
the-real-stiven:filter-other-funcs

Conversation

@the-real-stiven
Copy link
Copy Markdown

Added the following 8 functions, which are essentially aliases for filterSeries:

  • averageAbove
  • averageBelow
  • currentAbove
  • currentBelow
  • maximumAbove
  • maximumBelow
  • minimumAbove
  • minimumBelow

Copy link
Copy Markdown
Contributor

@Dieterbe Dieterbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if only all of them were this easy :)

@Dieterbe Dieterbe merged commit 1867b24 into grafana:master May 13, 2019
"consolidateBy": {NewConsolidateBy, true},
"countSeries": {NewCountSeries, true},
"cumulative": {NewConsolidateByConstructor("sum"), true},
"currentAbove": {NewFilterSeriesConstructor("last", ">"), true},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spaces

@the-real-stiven the-real-stiven deleted the filter-other-funcs branch May 13, 2019 17:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants