Open alisonelizabeth opened 4 years ago
Pinging @elastic/es-ui (Team:Elasticsearch UI)
Pinging @elastic/kibana-management (Team:Kibana Management)
This needs to be triaged again to see if it's still valid. There were some improvements made to the way we display the watch status in https://github.com/elastic/kibana/pull/138563.
Summary
The watch execution history UI shows an
OK
state when the condition is met, but throttling is still in effect.Steps to reproduce:
Create a new watch that is expected to fire. Specify
throttle_period_in_millis
(docs).Navigate to the watch execution history page.
Firing
stateFiring
state, but also showThrottled
in theComment
column.Prevent the watch from firing.
OK
state.Trigger the watch condition again within the throttle period.
OK
state.Expected behavior: The last execution from step 4 should have a state equal to
Firing
and also showThrottled
in theComment
column.Watch status data from step 2(b):
Watch status data from step 4
It looks like this is occurring because we are returning an
OK
state whenever theack
state equalsawaits_successful_execution
(code). We probably also need to check theexecution_state
to see if it is throttled.