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

Added 8 functions related to filterSeries #1308

Merged
merged 2 commits into from
May 13, 2019

Conversation

the-real-stiven
Copy link
Contributor

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

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

Copy link
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
"averageSeries": {NewAggregateConstructor("average", crossSeriesAvg), true},
"consolidateBy": {NewConsolidateBy, true},
"countSeries": {NewCountSeries, true},
"cumulative": {NewConsolidateByConstructor("sum"), true},
"currentAbove": {NewFilterSeriesConstructor("last", ">"), true},
Copy link
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