diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2023-04-26 19:09:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 19:09:49 +0300 |
commit | 48b1161d505098d7bb3d6927f04c5806b2d74b6a (patch) | |
tree | 0a153dd2e696f92cddbf2c58db8138a7796a8fc8 /web | |
parent | 874fd998aaadc4e4940f3873f7ec8edc9d4d57d6 (diff) |
do not convert to percentage, when the raw option is given (#14969)
Diffstat (limited to 'web')
-rw-r--r-- | web/api/queries/query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/queries/query.c b/web/api/queries/query.c index 3223c1dc61..3770d47701 100644 --- a/web/api/queries/query.c +++ b/web/api/queries/query.c @@ -3416,7 +3416,7 @@ static RRDR *rrd2rrdr_group_by_finalize(RRDR *r_tmp) { qt->window.options &= ~RRDR_OPTION_NONZERO; } - if(options & RRDR_OPTION_PERCENTAGE) + if(options & RRDR_OPTION_PERCENTAGE && !(options & RRDR_OPTION_RETURN_RAW)) rrd2rrdr_convert_to_percentage(r); // update query instance counts in query host and query context |