From 329807bd7fba109a7a96ef52cb98692d5ffa5648 Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Fri, 18 Nov 2022 10:55:17 -0500 Subject: [PATCH] docs: add cpu-allocated and memory-allocated (#15299) Document the Autoscaler Nomad APM paramemeters `cpu-allocated` and `memory-allocated` that were implemented in https://github.com/hashicorp/nomad-autoscaler/pull/324 and https://github.com/hashicorp/nomad-autoscaler/pull/334 --- website/content/tools/autoscaling/plugins/apm/nomad.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/content/tools/autoscaling/plugins/apm/nomad.mdx b/website/content/tools/autoscaling/plugins/apm/nomad.mdx index d384df335..83b86fc8f 100644 --- a/website/content/tools/autoscaling/plugins/apm/nomad.mdx +++ b/website/content/tools/autoscaling/plugins/apm/nomad.mdx @@ -119,7 +119,13 @@ The metric value can be: - `cpu` - allocated CPU as reported by calculating total allocatable against the total allocated by the scheduler. +- `cpu-allocated` - the percentage of CPU used out of the total CPU allocated + for the allocation. + - `memory` - allocated memory as reported by calculating total allocatable against the total allocated by the scheduler. +- `memory-allocated` - the percentage of memory used out of the total memory + allocated for the allocation. + [nomad_telemetry_stanza]: /docs/configuration/telemetry#inlinecode-publish_allocation_metrics