Skip to content

Fix UI bug in sum/avg of sliding window#98

Open
git-ryyamauc wants to merge 1 commit into
OpenTSDB:masterfrom
git-ryyamauc:fix-sliding-window-issue
Open

Fix UI bug in sum/avg of sliding window#98
git-ryyamauc wants to merge 1 commit into
OpenTSDB:masterfrom
git-ryyamauc:fix-sliding-window-issue

Conversation

@git-ryyamauc
Copy link
Copy Markdown

@git-ryyamauc git-ryyamauc commented Aug 15, 2023

There is a bug in Alert Details that when sum or avg is used in the sliding window and expression is specified as Condition, a graph with sum or avg applied multiple times is displayed.
For example, this bug occurs when m1 is referenced in e1 and e1 is specified as Condition.
There was a problem with calculating e1 using m1 with sum or avg applied, so I fixed it so that it is applied only to the target specified in Condition.
Also, this change makes it so that the sliding window setting is not applied when "None" is specified for Condition.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant