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

Feature request: Implement removeAboveValue, removeBelowValue and transformNull to filter/transform the data #562

Closed
1 of 3 tasks
gelonsoft opened this issue Apr 19, 2018 · 2 comments

Comments

@gelonsoft
Copy link

gelonsoft commented Apr 19, 2018

I'm submitting a ...

  • Bug report
  • Feature requestdd
  • Question / Support request

Implement removeAboveValue, removeBelowValue and transformNull functions like in Graphite ( http://graphite.readthedocs.io/en/latest/functions.html )

removeAboveValue - replace value with NULL if value > N
removeBelowValue - replace value with NULL if value < N;
transformNull - replace null values with N

Example of removeAboveValue(N):

  • Input series (";" as separator): 0;1;2;3;4;5;6
  • Function definition: "removeAboveValue(3)"
  • Output series: 0;1;2;3;null;null;null

Example of removeBelowValue(N)

  • Input series (";" as separator): 0;1;2;3;4;5;6
  • Function definition: "removeBelowValue(3)"
  • Output series: null;null;null;3;4;5;6

Example of transformNull(N):

  • Input series (";" as separator): 0;null;2;null;4;null;6
  • Function definition: "transformNull(3)"
  • Output series: 0;3;2;3;4;3;6
@gelonsoft gelonsoft changed the title Feature request: Implement removeAboveValue and removeBelowValue to filter the data Feature request: Implement removeAboveValue, removeBelowValue and transformNull to filter/transform the data Apr 19, 2018
gelonsoft pushed a commit to gelonsoft/grafana-zabbix that referenced this issue Apr 19, 2018
@alexanderzobnin alexanderzobnin self-assigned this Apr 26, 2018
@alexanderzobnin alexanderzobnin added this to the 3.10 milestone Apr 26, 2018
@danielkucera
Copy link

Hi @alexanderzobnin , are you planning to tag a new release with these features any soon?

@alexanderzobnin
Copy link
Collaborator

Yes, I'm going to release new version in next few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants