Skip to content

Commit

Permalink
docs: Update naming of v0.32 metrics (#4977)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis committed Oct 31, 2023
1 parent 325a4b9 commit a4503b4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
13 changes: 7 additions & 6 deletions hack/docs/metrics_gen_docs.go
Expand Up @@ -263,13 +263,14 @@ func getIdentMapping(identName string) (string, error) {
"metrics.Namespace": metrics.Namespace,
"Namespace": metrics.Namespace,

"NodeSubsystem": "nodes",
"metrics.NodeSubsystem": "nodes",
"machineSubsystem": "machines",
"nodeClaimSubsystem": "nodeclaims",
"nodePoolSubsystem": "nodepools",
"NodeSubsystem": "nodes",
"metrics.NodeSubsystem": "nodes",
"machineSubsystem": "machines",
"nodeClaimSubsystem": "nodeclaims",
// TODO @joinnis: We should eventually change this subsystem to be
// plural so that it aligns with the other subsystems
"nodePoolSubsystem": "nodepool",
"interruptionSubsystem": "interruption",
"nodeTemplateSubsystem": "nodetemplate",
"deprovisioningSubsystem": "deprovisioning",
"disruptionSubsystem": "disruption",
"consistencySubsystem": "consistency",
Expand Down
6 changes: 3 additions & 3 deletions website/content/en/preview/reference/metrics.md
Expand Up @@ -130,12 +130,12 @@ Number of nodeclaims registered in total by Karpenter. Labeled by the owning nod
### `karpenter_nodeclaims_terminated`
Number of nodeclaims terminated in total by Karpenter. Labeled by reason the nodeclaim was terminated and the owning nodepool.

## Nodepools Metrics
## Nodepool Metrics

### `karpenter_nodepools_limit`
### `karpenter_nodepool_limit`
The nodepool limits are the limits specified on the provisioner that restrict the quantity of resources provisioned. Labeled by nodepool name and resource type.

### `karpenter_nodepools_usage`
### `karpenter_nodepool_usage`
The nodepool usage is the amount of resources that have been provisioned by a particular nodepool. Labeled by nodepool name and resource type.

## Provisioner Metrics
Expand Down
6 changes: 3 additions & 3 deletions website/content/en/v0.32/reference/metrics.md
Expand Up @@ -130,12 +130,12 @@ Number of nodeclaims registered in total by Karpenter. Labeled by the owning nod
### `karpenter_nodeclaims_terminated`
Number of nodeclaims terminated in total by Karpenter. Labeled by reason the nodeclaim was terminated and the owning nodepool.

## Nodepools Metrics
## Nodepool Metrics

### `karpenter_nodepools_limit`
### `karpenter_nodepool_limit`
The nodepool limits are the limits specified on the provisioner that restrict the quantity of resources provisioned. Labeled by nodepool name and resource type.

### `karpenter_nodepools_usage`
### `karpenter_nodepool_usage`
The nodepool usage is the amount of resources that have been provisioned by a particular nodepool. Labeled by nodepool name and resource type.

## Provisioner Metrics
Expand Down

0 comments on commit a4503b4

Please sign in to comment.