Skip to content

[Bug] Incorrect calculation of avg() in time serie reducer. #6879

Closed
@bergquist

Description

The avg() reducer counted null values as 0 which makes calculated value of avg lower then it is.

ex
[1, 2, 3, null, null, null] would be reduced to 1. It should be reduced to 2

Metadata

Assignees

Labels

area/alertingGrafana Alertingarea/alerting/evaluationIssues when evaluating alertsprio/highMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions