open-nomad/website/content/docs
Tim Gross a51149736d
Rename nomad.broker.total_blocked metric (#15835)
This changeset fixes a long-standing point of confusion in metrics emitted by
the eval broker. The eval broker has a queue of "blocked" evals that are waiting
for an in-flight ("unacked") eval of the same job to be completed. But this
"blocked" state is not the same as the `blocked` status that we write to raft
and expose in the Nomad API to end users. There's a second metric
`nomad.blocked_eval.total_blocked` that refers to evaluations in that
state. This has caused ongoing confusion in major customer incidents and even in
our own documentation! (Fixed in this PR.)

There's little functional change in this PR aside from the name of the metric
emitted, but there's a bit refactoring to clean up the names in `eval_broker.go`
so that there aren't name collisions and multiple names for the same
state. Changes included are:
* Everything that was previously called "pending" referred to entities that were
  associated witht he "ready" metric. These are all now called "ready" to match
  the metric.
* Everything named "blocked" in `eval_broker.go` is now named "pending", except
  for a couple of comments that actually refer to blocked RPCs.
* Added a note to the upgrade guide docs for 1.5.0.
* Fixed the scheduling performance metrics docs because the description for
  `nomad.broker.total_blocked` was actually the description for
  `nomad.blocked_eval.total_blocked`.
2023-01-20 14:23:56 -05:00
..
commands docs: add OIDC login API and CLI docs. (#15818) 2023-01-20 10:07:26 +01:00
concepts docs: networking (#15358) 2023-01-06 11:47:10 -05:00
configuration Add raft snapshot configuration options (#15522) 2023-01-20 14:21:51 -05:00
devices
drivers exec: allow running commands from host volume (#14851) 2022-11-11 09:51:15 -05:00
enterprise fix: website broken links (#14904) 2022-10-17 11:32:10 -04:00
install docs: clarify installing from source requirement on PATH. (#15833) 2023-01-20 16:10:02 +01:00
integrations consul: add client configuration for grpc_ca_file (#15701) 2023-01-11 09:34:28 -06:00
job-specification [docs] Adjusting links for rewrite project (#15810) 2023-01-17 10:55:47 -05:00
networking docs: networking (#15358) 2023-01-06 11:47:10 -05:00
nomad-vs-kubernetes
operations Rename nomad.broker.total_blocked metric (#15835) 2023-01-20 14:23:56 -05:00
other-specifications docs: rename Secure Variables to Variables (#14352) 2022-08-29 11:37:08 -04:00
runtime docs: networking (#15358) 2023-01-06 11:47:10 -05:00
upgrade Rename nomad.broker.total_blocked metric (#15835) 2023-01-20 14:23:56 -05:00
ecosystem.mdx docs: Fixing heading order, adding text for links in /docs/ecosystem (#14549) 2022-09-13 10:59:02 -04:00
faq.mdx [docs] Adjusting links for rewrite project (#15810) 2023-01-17 10:55:47 -05:00
index.mdx website: content updates for developer (#14473) 2022-09-16 10:38:39 -05:00
partnerships.mdx [docs] Adjusting links for rewrite project (#15810) 2023-01-17 10:55:47 -05:00
schedulers.mdx docs: rename Internals to Concepts (#13696) 2022-07-11 16:55:33 -04:00
who-uses-nomad.mdx