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

Added ephemeral_storage_node_* metrics #42

Merged
merged 1 commit into from
Nov 27, 2023
Merged

Conversation

jmcgrath207
Copy link
Owner

@jmcgrath207 jmcgrath207 commented Nov 27, 2023

New metric type ephemeral_storage_node_* and granular control of metrics.

# HELP ephemeral_storage_adjusted_polling_rate AdjustTime polling rate time after a Node API queries in Milliseconds
# TYPE ephemeral_storage_adjusted_polling_rate gauge
ephemeral_storage_adjusted_polling_rate{node_name="ephemeral-metrics-cluster-control-plane"} 14977
ephemeral_storage_adjusted_polling_rate{node_name="ephemeral-metrics-cluster-worker"} 14978
# HELP ephemeral_storage_node_available Available ephemeral storage for a node
# TYPE ephemeral_storage_node_available gauge
ephemeral_storage_node_available{node_name="ephemeral-metrics-cluster-control-plane"} 6.37831856128e+11
ephemeral_storage_node_available{node_name="ephemeral-metrics-cluster-worker"} 6.37831856128e+11
# HELP ephemeral_storage_node_capacity Capacity of ephemeral storage for a node
# TYPE ephemeral_storage_node_capacity gauge
ephemeral_storage_node_capacity{node_name="ephemeral-metrics-cluster-control-plane"} 9.83036076032e+11
ephemeral_storage_node_capacity{node_name="ephemeral-metrics-cluster-worker"} 9.83036076032e+11
# HELP ephemeral_storage_node_percentage Percentage of ephemeral storage used on a node
# TYPE ephemeral_storage_node_percentage gauge
ephemeral_storage_node_percentage{node_name="ephemeral-metrics-cluster-control-plane"} 64.88387066145039
ephemeral_storage_node_percentage{node_name="ephemeral-metrics-cluster-worker"} 64.88387066145039

values.yaml

metrics:
  # -- Current ephemeral byte usage of pod
  ephemeral_storage_pod_usage: true
  # -- Available ephemeral storage for a node
  ephemeral_storage_node_available: true
  # -- Capacity of ephemeral storage for a node
  ephemeral_storage_node_capacity: true
  # -- Percentage of ephemeral storage used on a node
  ephemeral_storage_node_percentage: true
  # -- Create the ephemeral_storage_adjusted_polling_rate metrics to report Adjusted Poll Rate in milliseconds. Typically used for testing.
  adjusted_polling_rate: false

@jmcgrath207 jmcgrath207 merged commit 6c4b439 into master Nov 27, 2023
1 check passed
@jmcgrath207 jmcgrath207 deleted the node-ephemeral-metrics branch March 31, 2024 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant