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

Watcher: fix metric stats names #34951

Merged
merged 3 commits into from
Nov 1, 2018

Conversation

imotov
Copy link
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
Collaborator

Pinging @elastic/es-core-infra

Copy link
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
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
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
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
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