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

Add some new metrics for pod ephemeral storage #3

Merged
merged 3 commits into from
Sep 20, 2021

Conversation

superbrothers
Copy link
Contributor

@superbrothers superbrothers commented Sep 17, 2021

This PR adds some new metrics for pod ephemeral storage.

- `kube_summary_pod_ephemeral_storage_available_bytes`: Number of bytes of Ephemeral storage that aren't consumed by the pod
- `kube_summary_pod_ephemeral_storage_capacity_bytes`: Number of bytes of Ephemeral storage that can be consumed by the pod
- `kube_summary_pod_ephemeral_storage_used_bytes`: Number of bytes of Ephemeral storage that are consumed by the pod
- `kube_summary_pod_ephemeral_storage_inodes_free`: Number of available Inodes for pod Ephemeral storage
- `kube_summary_pod_ephemeral_storage_inodes`: Number of Inodes for pod Ephemeral storage
- `kube_summary_pod_ephemeral_storage_inodes_used`: Number of used Inodes for pod Ephemeral storage

@superbrothers
Copy link
Contributor Author

@ribbybibby Could you review this PR?

Copy link
Contributor

@ribbybibby ribbybibby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @superbrothers. Thanks for the contribution! It looks good.

A few things:

  • Can you move the manifests to a separate PR? I'd like to review those separately.
  • Could you implement the inodes metrics, like we do for the other fsstats?

@superbrothers
Copy link
Contributor Author

I've moved sample manifest files to #6.

@superbrothers
Copy link
Contributor Author

Could you implement the inodes metrics, like we do for the other fsstats?

Yes, but I'm going to do it in a different PR.

@ribbybibby
Copy link
Contributor

Yes, but I'm going to do it in a different PR.

How come? Seems like it would fit into this one.

@superbrothers superbrothers force-pushed the ephemeral-storage branch 2 times, most recently from 231fd47 to cfc51a6 Compare September 20, 2021 11:15
@superbrothers
Copy link
Contributor Author

I misread your comment:bow:

I have added the following metrics:

  • kube_summary_pod_ephemeral_storage_inodes_free: Number of available Inodes for pod Ephemeral storage
  • kube_summary_pod_ephemeral_storage_inodes: Number of Inodes for pod Ephemeral storage
  • kube_summary_pod_ephemeral_storage_inodes_used: Number of used Inodes for pod Ephemeral storage

- `kube_summary_pod_ephemeral_storage_available_bytes`: Number of bytes of Ephemeral storage that aren't consumed by the pod
- `kube_summary_pod_ephemeral_storage_capacity_bytes`: Number of bytes of Ephemeral storage that can be consumed by the pod
- `kube_summary_pod_ephemeral_storage_used_bytes`: Number of bytes of Ephemeral storage that are consumed by the pod
- `kube_summary_pod_ephemeral_storage_inodes_free`: Number of available Inodes for pod Ephemeral storage
- `kube_summary_pod_ephemeral_storage_inodes`: Number of Inodes for pod Ephemeral storage
- `kube_summary_pod_ephemeral_storage_inodes_used`: Number of used Inodes for pod Ephemeral storage
@ribbybibby ribbybibby merged commit 57a0806 into utilitywarehouse:master Sep 20, 2021
@superbrothers superbrothers deleted the ephemeral-storage branch September 20, 2021 11:34
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.

2 participants