carbonapi icon indicating copy to clipboard operation
carbonapi copied to clipboard

asPercent seems to misbehave

Open grobian opened this issue 10 years ago • 3 comments

http://graphite.readthedocs.org/en/latest/functions.html#graphite.render.functions.asPercent

When used with two metrics and no value to determine the 100%, carbonapi draws a 100% value, graphite-web draws two lines with the corresponding percentage calculations based on the sum of both.

grobian avatar Mar 09 '16 10:03 grobian

I can't reproduce this.

dgryski avatar Aug 15 '16 12:08 dgryski

I have a failing test case now.

dgryski avatar Sep 07 '16 14:09 dgryski

Can you please share (commit?) the test case?

Civil avatar Apr 26 '17 07:04 Civil

It looks bug is extremely old and since then asPercent received a bunch of bug fixes, so closing that.

Civil avatar Dec 06 '22 00:12 Civil