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

Purefb Array Total Capacity #67

Open
jmg011 opened this issue Apr 19, 2024 · 1 comment
Open

Purefb Array Total Capacity #67

jmg011 opened this issue Apr 19, 2024 · 1 comment
Assignees

Comments

@jmg011
Copy link

jmg011 commented Apr 19, 2024

In 2021, I had initiated discussion with Pure team to get some answers on how to get the Array's total capacity from Purefb Metrics.

The ask was to get this metric purefb_array_capacity_bytes to show the capacity of the array. In the meantime, I had created the static capacity timeseries metric for dashboards to fill the gap.

I want to re-initiate the follow up on this so that we can get the Array capacity dynamically instead of statically.

def __init__(self, fb):
    self.fb = fb
    self.capacity = GaugeMetricFamily(**'purefb_array_capacity_bytes',**
                                   **'FlashBlade total capacity in bytes',**
                                   labels=[])

Can you please provide some information on this?

Does this metric exist today? if not, is there a way to calculate this based off of current available metrics? If not, is there an API I can use to build this metric?

@chrroberts-pure
Copy link
Collaborator

Hi,

We currently export this metric as

purefb_array_space_bytes{space="capacity",type="array"} 8.9937250028093e+13

Please let me know if this fits your use case.

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

No branches or pull requests

3 participants