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

[Alerts] [HealthAvailability] Streams perMinuteRequests and perMinuteResponses gets events with a wrong timeout window #425

Closed
rmsamitha opened this issue Feb 22, 2018 · 0 comments

Comments

@rmsamitha
Copy link
Member

Description:
In APIMAnalytics-RequestSummarizer-RequestSummarizer-realtime1.siddhiql, Streams perMinuteRequests and perMinuteResponses receives events with a uniqueExternalTimeBatch window which has lesser timeout value than the window.

This occurs when events are inserted into perMinuteRequestsTemp stream from perSecondRequestsWithUniqueId stream. Time Window is defined as 60 seconds but timeout value is 10 seconds. So events are flushed into perMinuteRequests stream multiple times within 60 seconds. So time window of 60 seconds gets neglected.
[This occurs similarly when events are inserted into perMinuteResponsesTemp stream from perSecondResponsesWithUniqueId stream ]

This bug causes the health availability alert's request/response count percentiles related triggering cause. Pattern count can gets incremented more than once in each minute and so alerts get triggered by lesser number of occurrences, than expected.

Affected Product Version:
2.0.0, 2.1.0, 2.2.0

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

2 participants