backport of commit b75f9bd459700112cb31a329dc54ddeba46d749e (#17942)

This pull request was automerged via backport-assistant
This commit is contained in:
hc-github-team-nomad-core 2023-07-13 17:26:01 -05:00 committed by GitHub
parent 90a4579208
commit 2f7892667f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -78,9 +78,15 @@ The metric value can be:
- `cpu` - CPU usage as reported by the `nomad.client.allocs.cpu.total_percent`
metric.
- `cpu-allocated` - the percentage of CPU used out of the total CPU allocated
for the allocation.
- `memory` - Memory usage as reported by the `nomad.client.allocs.memory.usage`
metric.
- `memory-allocated` - the percentage of memory used out of the total memory
allocated for the allocation.
## Policy Configuration Options - Client Nodes
The Nomad APM allows querying Nomad to understand the current allocated resource
@ -119,13 +125,7 @@ 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_block]: /nomad/docs/configuration/telemetry#inlinecode-publish_allocation_metrics