Skip to content

Watcher: fix metric stats names#34951

Merged
imotov merged 3 commits intoelastic:masterfrom
imotov:issue-34865-fix-watcher-stats-metrics
Nov 1, 2018
Merged

Watcher: fix metric stats names#34951
imotov merged 3 commits intoelastic:masterfrom
imotov:issue-34865-fix-watcher-stats-metrics

Conversation

@imotov
Copy link
Copy Markdown
Contributor

@imotov imotov commented Oct 28, 2018

The current watcher stats metric names doesn't match the current
documentation. This commit fixes the behavior of queued_watches
metric, deprecates pending_watches metric and adds current_watches
to match the documented behavior. It also fixes the documentation, which
introduced executing_watches metric that was never added.

Fixes #34865

The current watcher stats metric names doesn't match the current
documentation. This commit fixes the behavior of `queued_watches`
metric, deprecates `pending_watches` metric and adds `current_watches`
to match the documented behavior. It also fixes the documentation, which
introduced `executing_watches` metric that was never added.

Fixes elastic#34865
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-infra

@imotov imotov requested review from hub-cap and spinscale October 29, 2018 13:21
Copy link
Copy Markdown
Contributor

@hub-cap hub-cap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol, looks like youve dealt with deprecations before :P

LGTM but would like @spinscale to have a look since im not super familiar w these params

Copy link
Copy Markdown
Contributor

@spinscale spinscale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor typo. LGTM otherwise. Thanks for doing it!

"Test watcher stats current watches":
- skip:
version: " - 6.99.99"
reason: materics were fixed in 7.0.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: metrics?

"Test watcher stats queued watches":
- skip:
version: " - 6.99.99"
reason: materics were fixed in 7.0.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: metrics?

"Test watcher stats queued watches using pending_watches":
- skip:
version: " - 6.99.99"
reason: materics were fixed in 7.0.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: metrics?

@imotov imotov merged commit 7b13d05 into elastic:master Nov 1, 2018
imotov added a commit that referenced this pull request Nov 1, 2018
The current watcher stats metric names doesn't match the current
documentation. This commit fixes the behavior of `queued_watches`
metric, deprecates `pending_watches` metric and adds `current_watches`
to match the documented behavior. It also fixes the documentation, which
introduced `executing_watches` metric that was never added.

Fixes #34865
@imotov imotov deleted the issue-34865-fix-watcher-stats-metrics branch May 1, 2020 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Watcher Stats metrics parameters are mislabeled

5 participants