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

docs: improve wait_for_index metrics description #10717

Merged
merged 2 commits into from
Jun 9, 2021
Merged

Conversation

schmichael
Copy link
Member

Old description of {plan,worker}.wait_for_index described the metric
in terms of waiting for a snapshot which has two problems:

  1. "Snapshot" is an overloaded term in Nomad and operators can't be
    expected to know which use we're referring to here.
  2. The most important thing about the metric is what we're waiting on
    before taking a snapshot: the raft index of the object to be
    processed (plan or eval).

The new description tries to cram all of that context into the tiny
space provided.

See #5791 for details about the wait_for_index mechanism in general.

@schmichael schmichael requested review from notnoop and tgross June 7, 2021 17:33
Old description of `{plan,worker}.wait_for_index` described the metric
in terms of waiting for a snapshot which has two problems:

1. "Snapshot" is an overloaded term in Nomad and operators can't be
   expected to know which use we're referring to here.
2. The most important thing about the metric is what we're waiting *on*
   before taking a snapshot: the raft index of the object to be
   processed (plan or eval).

The new description tries to cram all of that context into the tiny
space provided.

See #5791 for details about the `wait_for_index` mechanism in general.
Label is "host" not "Host"
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

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

LGTM!

@tgross tgross merged commit 594ceb7 into main Jun 9, 2021
@tgross tgross deleted the docs-wait-for-index branch June 9, 2021 12:53
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants