-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Description
While working testing HL REST client for Watcher Stats API I have noticed that the metirics parameters seem to be mislabeled:
GET /_xpack/watcher/stats/queued_watches
returns
{
...
"current_watches": []
...
}
while
GET /_xpack/watcher/stats/pending_watches
returns
{
...
"queued_watches": []
...
}
After discussions with @spinscale and @martijnvg, @spinscale suggested that we should
queued_watchesmetric should returnqueued_watchesinstead ofcurrent_watchesandpending_watchesshould be renamed intocurrent_watches
This is a breaking change, but since nobody noticed reported this discrepancy in the last 2 years, its impact will probably be relatively minimal.