Coder Social home page Coder Social logo

purestorage-openconnect / pure-fb-openmetrics-exporter Goto Github PK

View Code? Open in Web Editor NEW
12.0 6.0 10.0 19.79 MB

Pure Storage OpenMetrics exporter for FlashBlade

License: Apache License 2.0

Makefile 3.41% Dockerfile 0.84% Go 95.75%
flashblade monitoring purestorage observability openmetrics prometheus metrics prometheus-exporter

pure-fb-openmetrics-exporter's Issues

Volume Level Policy Metric from the Requested Enhancement.

Regarding Volume Level Policy Metric from the Requested Enhancement.

Original Enhancement Request: [(https://github.com//issues/19)]

@genegr - I see purefb_nfs_export_rule policy metric but I do not see that policy name added to any of the filesystem/volume metric.

So the idea is to have one metric with all the policy rules and one of the filesystem metric should have one more label with policy name. That way I can join both the metrics to get all the exports rules for a given volume/filesystem.

Let me know if I missed looking at any filesystem metric. I looked for policy label and I could not find it on any filesystem metric.

Adding a screenshot from previous discussion on this thread.

image

array_hardware_metrics - fill null values for severity: info, warning, critical with 0

Currently only active alerts have values in purefb_alerts_open.

It would be useful to have a 0 value for the known levels of the severity dimension instead of null, if there are no other alerts for that severity.

Example,

Before:

purefb_alerts_open{component_name="example_file_system",component_type="file-systems",severity="warning"} 1.0
purefb_alerts_open{component_name="CH0.FB0",component_type="blades",severity="warning"} 1.0

After:

purefb_alerts_open{component_name="example_file",component_type="file-systems",severity="warning"} 1.0
purefb_alerts_open{component_name="CH0.FB0",component_type="blades",severity="warning"} 1.0
purefb_alerts_open{severity="critical"} 0.0
purefb_alerts_open{severity="info"} 0.0

Missing dimensions in purefb_array_space_bytes

Hi,

On 0.9.0 it seems the exporter does not export the metric purefb.array.space_bytes in the dimension type:array,space:capacity . This is required to report total space available on the flashblade, and needs to be monitored in case of blade or drive failure.

Here is the output I am getting from this metric:

# HELP purefb_array_space_bytes FlashBlade space in bytes
# TYPE purefb_array_space_bytes gauge
purefb_array_space_bytes{space="snapshots",type="array"} 0
purefb_array_space_bytes{space="snapshots",type="file-system"} 0
purefb_array_space_bytes{space="snapshots",type="object-store"} 0
purefb_array_space_bytes{space="total_physical",type="array"} 4.1013406407976e+13
purefb_array_space_bytes{space="total_physical",type="file-system"} 3.802964023162e+13
purefb_array_space_bytes{space="total_physical",type="object-store"} 2.983766176356e+12
purefb_array_space_bytes{space="unique",type="array"} 4.1013406407976e+13
purefb_array_space_bytes{space="unique",type="file-system"} 3.802964023162e+13
purefb_array_space_bytes{space="unique",type="object-store"} 2.983766176356e+12
purefb_array_space_bytes{space="virtual",type="array"} 5.4392994087991e+13
purefb_array_space_bytes{space="virtual",type="file-system"} 5.1398708366336e+13
purefb_array_space_bytes{space="virtual",type="object-store"} 2.994285721655e+12

Make purefb_info available to all metric endpoints

We need to be able to capture the array name and unique ID to correlate and tag all metrics in monitoring platforms. We implemented this for purefa_info which we used in the Dynatrace extension and require the same functionality for purefb_info.

add export policy name to file system space metric(s)

File systems that use an export policy have the export policy data returned similar to rules in the initial get /filesystems. The name of the policy can be used for owner/association of said file system and would be helpful in the metric return.

Currently, the filesystem for NFS looks like this in the exporter:

type Nfs struct {
	V3Enabled  bool   `json:"v3_enabled"`
	V41Enabled bool   `json:"v4_1_enabled"`
	Rules      string `json:"rules"`
}

However, there is an additional dict/None returned for Export policy in the nfs key response:

"nfs": {
    "v3_enabled": true,
    "v4_1_enabled": true,
    "rules": "",
    "export_policy": {
        "id": "string",
        "name": "string",
        "resource_type": "string"
}

Can we implement something like this(expand the above struct) and then add the name to the output metric schema(provisioned space example below)?

	if fs.Nfs.ExportPolicy.Name != "" {
		exppol = fs.Nfs.ExportPolicy.Name
	} else {
		exppol = "None"
	}
	ch <- prometheus.MustNewConstMetric(
		c.SpaceDesc,
		prometheus.GaugeValue,
		float64(fs.Provisioned),
		fs.Name, exppol, nfs, smb, "provisioned",
	)

Expose purefb_array_space_bytes{space="destroyed"} to OME endpoint

While investigating issue 49 I discovered OME latest and previous versions have never returned space metrics for

purefb_array_space_bytes{space="destroyed",type="file-system"}
purefb_array_space_bytes{space="destroyed_virtual",type="file-system"}
purefb_array_space_bytes{space="destroyed",type="object-store"}
purefb_array_space_bytes{space="destroyed_virtual",type="object-store"}

This would be helpful for more granular capacity reporting to understand how much capacity is waiting to be eradicated.
I'm not sure if this is a bug or an enhancement request.

Exposed metrics from OME v1.0.9 for purefb_array_space_bytes

# HELP purefb_array_space_bytes FlashBlade space in bytes
# TYPE purefb_array_space_bytes gauge
purefb_array_space_bytes{space="capacity",type="array"} 1.78628350604839e+14
purefb_array_space_bytes{space="capacity",type="file-system"} 1.78628350604839e+14
purefb_array_space_bytes{space="capacity",type="object-store"} 1.78628350604839e+14
purefb_array_space_bytes{space="empty",type="array"} 1.36556712710542e+14
purefb_array_space_bytes{space="snapshots",type="array"} 2.484569726e+09
purefb_array_space_bytes{space="snapshots",type="file-system"} 2.484569726e+09
purefb_array_space_bytes{space="snapshots",type="object-store"} 0
purefb_array_space_bytes{space="total_physical",type="array"} 4.2071637894297e+13
purefb_array_space_bytes{space="total_physical",type="file-system"} 3.8869690324535e+13
purefb_array_space_bytes{space="total_physical",type="object-store"} 3.201947569762e+12
purefb_array_space_bytes{space="unique",type="array"} 4.2067604064078e+13
purefb_array_space_bytes{space="unique",type="file-system"} 3.8867137439755e+13
purefb_array_space_bytes{space="unique",type="object-store"} 3.200466624323e+12
purefb_array_space_bytes{space="virtual",type="array"} 5.1417848040718e+13
purefb_array_space_bytes{space="virtual",type="file-system"} 4.8126804911104e+13
purefb_array_space_bytes{space="virtual",type="object-store"} 3.291043129614e+12

Output from debug shows metrics are being collected by REST API query.
GET /api/2.12/arrays/space?type=file-system

==============================================================================
2024/02/27 11:17:38.413972 DEBUG RESTY
==============================================================================
~~~ REQUEST ~~~
GET  /api/2.12/arrays/space?type=file-system  HTTP/1.1
HOST   : fb03
HEADERS:
        Accept: application/json
        Content-Type: application/json
        User-Agent: Pure_FB_OpenMetrics_exporter/1.0
        X-Auth-Token: d0c4a9bb-fae9-4e44-9706-c4d3c092d690
BODY   :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS       : 200
PROTO        : HTTP/1.1
RECEIVED AT  : 2024-02-27T11:17:38.41389486Z
TIME DURATION: 4.275515ms
HEADERS      :
        Cache-Control: no-cache, no-store, max-age=0, must-revalidate
        Connection: keep-alive
        Content-Security-Policy: frame-ancestors 'none'
        Content-Type: application/json;charset=UTF-8
        Date: Tue, 27 Feb 2024 11:17:38 GMT
        Expires: 0
        Pragma: no-cache
        Request-Id: 42886705
        Server: nginx
        Strict-Transport-Security: max-age=31536000; includeSubDomains;
        Vary: Origin, Access-Control-Request-Method, Access-Control-Request-Headers
        X-Content-Type-Options: nosniff
        X-Frame-Options: DENY
        X-Xss-Protection: 1; mode=block
BODY         :
{
   "continuation_token": null,
   "total_item_count": 1,
   "items": [
      {
         "name": "FB03",
         "id": "25cb9381-4be2-4ff8-b5c8-ada1bcd4a18c",
         "time": 1709032650000,
         "capacity": 178628350604839,
         "parity": 1.0,
         "space": {
            "virtual": 48126976205824,
            "unique": 38867280110911,
            "snapshots": 2484569726,
            "data_reduction": 1.2382388,
            "total_physical": 38869832995691,
            "total_provisioned": null,
            "destroyed_virtual": 68157440,
            "destroyed": 68315054,
            "available_provisioned": null,
            "available_ratio": null
         }
      }
   ]
}

/api/2.12/arrays/space?type=object-store

==============================================================================
2024/02/27 11:17:38.421215 DEBUG RESTY
==============================================================================
~~~ REQUEST ~~~
GET  /api/2.12/arrays/space?type=object-store  HTTP/1.1
HOST   : fb03
HEADERS:
        Accept: application/json
        Content-Type: application/json
        User-Agent: Pure_FB_OpenMetrics_exporter/1.0
        X-Auth-Token: d0c4a9bb-fae9-4e44-9706-c4d3c092d690
BODY   :
***** NO CONTENT *****
------------------------------------------------------------------------------
~~~ RESPONSE ~~~
STATUS       : 200
PROTO        : HTTP/1.1
RECEIVED AT  : 2024-02-27T11:17:38.421085927Z
TIME DURATION: 4.103292ms
HEADERS      :
        Cache-Control: no-cache, no-store, max-age=0, must-revalidate
        Connection: keep-alive
        Content-Security-Policy: frame-ancestors 'none'
        Content-Type: application/json;charset=UTF-8
        Date: Tue, 27 Feb 2024 11:17:38 GMT
        Expires: 0
        Pragma: no-cache
        Request-Id: 42886707
        Server: nginx
        Strict-Transport-Security: max-age=31536000; includeSubDomains;
        Vary: Origin, Access-Control-Request-Method, Access-Control-Request-Headers
        X-Content-Type-Options: nosniff
        X-Frame-Options: DENY
        X-Xss-Protection: 1; mode=block
BODY         :
{
   "continuation_token": null,
   "total_item_count": 1,
   "items": [
      {
         "name": "FB03",
         "id": "25cb9381-4be2-4ff8-b5c8-ada1bcd4a18c",
         "time": 1709032650000,
         "capacity": 178628350604839,
         "parity": 1.0,
         "space": {
            "virtual": 3291043129614,
            "unique": 3200466624323,
            "snapshots": 0,
            "data_reduction": 1.028301,
            "total_physical": 3201947569762,
            "total_provisioned": null,
            "destroyed_virtual": 1480945439,
            "destroyed": 1480945439,
            "available_provisioned": null,
            "available_ratio": null
         }
      }
   ]
}

podman issue

Hello im trying to put run the container as podman
podman run -p 9491:9491 --name pure-fb-om-exporter quay.io/purestorage/pure-fb-om-exporter
2023/05/10 16:50:32 Error in token file: unknown arguments --host 0.0.0.0

can please have a look

not working when exporter is running is a different cluster and scraping via https

Hi,

I am trying to run the exporter on a k8s cluster behind a load balancer. My prom is set up in another vm and now when i try to get the metrics from flashblade, it is always returning 400 bad request. When i run the same exporter on prom vm and let the prometheus vm communicate via internal ip, able to scrape the metrics.
not sure what is going wrong when scraping on a different kubernetes cluster. my prom config is

  • job_name: 'purestorage-fb'
    scheme: https
    metrics_path: /metrics/array
    bearer_token:
    params:
    endpoint: ['pt-flashblade-001.com]
    static_configs:
    - targets: ["pure-exporter.com"]
    labels:
    location: germany
    site: frankfurt
    instance: pt-flashblade-001

whereas just changing the endpoint to the local container is working

  • job_name: 'purestorage-fb'
    scheme: https
    metrics_path: /metrics/array
    bearer_token:
    params:
    endpoint: ['pt-flashblade-001.com]
    static_configs:
    - targets: ["pure-fb-exporter:9491"]
    labels:
    location: germany
    site: frankfurt
    instance: pt-flashblade-001

Thanks for any help

Purefb Array Total Capacity

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?

RFE - Replication FS data

Looking for information exposed via /file-system-replica-links to be included so we may track record of file systems replicated lag time and whether they are "protected" based on SLA.

readonly user on FB

Hi,
you write in the guide that it is possible to create a new readonly user. I am sure this is not possible. On Flashblades there is only the local pureuser.
You can only add a LDAP-user for monitoring, add it to a ad-group and map this group to readonly. Or is there any method?

Regards

Expose more detail to purefb_open_alerts

Can we implement the same changes to purefb OME as purefa OME with regard to open alerts detail.
PureStorage-OpenConnect/pure-fa-openmetrics-exporter#97

Current cardinality
purefb_alerts_open{component_name="filesystem01",component_type="file-systems",severity="info"} 1

Example open alert from REST API

    {
      "name": "234",
      "index": 234,
      "flagged": true,
      "code": 1101,
      "severity": "info",
      "component_name": "filesystem01",
      "component_type": "file-systems",
      "state": "open",
      "created": 1707324042933,
      "updated": 1709728947957,
      "notified": 1707324163175,
      "summary": "File system 'filesystem01' approaching space quota",
      "description": "The 'alexusmb' file system is at 81% of its space quota of 400.00 G. Pure Storage Support is not notified of this alert. If you would like assistance from our support team, you can open a case by emailing [email protected]. As an INFO-level alert, there will be no reminder notifications unless the issue worsens.",
      "knowledge_base_url": "https://support.purestorage.com/?cid=Alert_1101",
      "action": "Remove data from the file system or increase its space quota.",
      "variables": {
        "CurrentUtilization": "0.814668344259262",
        "FileSystemName": "filesystem01"
      },

Suggest we expose

    {
      "action": "string",
      "code": 0,
      "component_name": "string",
      "component_type": "string",
      "created": 0,
      "description": "string",
      "knowledge_base_url": "string",
      "summary": "string",
    }

Target authorization token is missing

i have kept the token in yaml filen and getting Target authorization token is missing issue.

address: XXX.XXX.XXX.XXX
api_token: XXXXXXXXXXXXXXXXXXXXXXXXXX

New exporter does not have client and filesystem level metrics

I have set up the new exporter for one of the pure arrays. I noticed that all these client and filesystem level metrics are not available in the new exporter. Not available as part of any other new metrics either.

These are important filesystem and client level metrics. Can you please provide more information on why these are deprecated from the new exporter and if there is any plan to add these back?

purefb_client_performance_iops
purefb_client_performance_latency_usec
purefb_client_performance_opns_bytes
purefb_client_performance_throughput_bytes
purefb_filesystem_user_usage_bytes
purefb_filesystem_group_usage_bytes
purefb_filesystem_performance_iops
purefb_filesystem_performance_latency_usec
purefb_filesystem_performance_opns_bytes
purefb_filesystem_performance_throughput_bytes

Need Information about how to get more information in metric labels and custom metric collection

purefb_alerts_open metric has below labels:

  • component_name
  • component_type
  • severity
  1. Is there a way to capture more detailed Alert information - probably short summary and description as part of the labels?
  2. If I want to collect more information about the metrics which are currently not part of the exporter, is there a way for me to build some object template for the data collection that exporter will export?

Alert 1124 Not Parsing Correctly

Description
Alert 1124 is not reported correctly by the exporter

Expected Result
Severity and other cardinalities to report correct state.

Actual result
The following cardinalities are incorrect:

  • component_type
  • created
  • kburl
  • severity
  • summary
purefb_alerts_open
   {
	action="Please verify that the DNS configuration on FlashBlade is correct and that there is no network outage that impacts DNS availability. If this issue persists when DNS is properly configured and available, please contact the group(s) that administer the DNS name servers to ensure that the domain has not had its service records removed unintentionally.", 
	code="Attempting to verify resolution of the issue or checking its status may be done by logging in to FlashBlade and testing the Active Directory configuration. This is possible via ssh and the command line interface, the web UI, or the REST APIs.", 
component_name="Pure Storage Support is not notified of this alert. If you would like assistance from our support team, you can open a case by emailing [email protected].", 
	component_type="1124", 
	created="fbe", 
	env="CPOC", 
	instance="sv16-fbe-b04-01", 
	job="purefb_openmentrics_array_sv16-fbe-b04-01", 
	kburl="active-directory", 
	location="sg", 
	severity="1722451113718", 
	site="Pure Office", 
	summary="https://support.purestorage.com/?cid=Alert_1124"
   }

Further Details
Below is the capture from the OME and REST API for comparison.
Purity 4.3.4
FB //E

curl -H 'Authorization: Bearer T-xxxxxx' -X GET 'http://10.23.37.21:32047/metrics/array?endpoint=10.23.37.50' -s | grep ^purefb_info
purefb_info{array_name="sv16-fbe-b04-01",os="Purity//FB",system_id="10c6ce98-51ad-41e1-9e16-f9586a3ba934",version="4.3.4"} 1
curl -s -k -H 'Content-Type: application/json' -H "x-auth-token: ${auth_token}" -X GET https://${endpoint}/api/${api_ver}/arrays | jq .
{
  "continuation_token": null,
  "total_item_count": 1,
  "items": [
    {
      "name": "sv16-fbe-b04-01",
      "id": "10c6ce98-51ad-41e1-9e16-f9586a3ba934",
      "os": "Purity//FB",
      "revision": "08885135",
      "version": "4.3.4",
      "time_zone": "US/Pacific",
      "banner": null,
      "idle_timeout": 0,
      "ntp_servers": [
        "time1.purestorage.com",
        "time2.purestorage.com",
        "time3.purestorage.com"
      ],
      "smb_mode": "native",
      "product_type": "FlashBlade//E",
      "eradication_config": {
        "manual_eradication": "all-enabled",
        "eradication_delay": 86400000
      },
      "security_update": null,
      "encryption": {
        "data_at_rest": {
          "algorithms": [
            "AES-256-XTS"
          ],
          "entropy_source": "rdseed",
          "enabled": true
        }
      },
      "_as_of": 1724238217371
    }
  ]
}
curl -H 'Authorization: Bearer T-xxxxx' -X GET 'http://10.23.37.21:32047/metrics/array?endpoint=10.23.37.50' -s | grep ^purefb_alerts
purefb_alerts_open{action="Please change the user pureuser's password now. Pure Storage Support is not notified of this alert. If you would like assistance from our support team, you can open a case by emailing [email protected].",code="1123",component_name="pureuser",component_type="security",created="1684876704463",kburl="https://support.purestorage.com/?cid=Alert_1123",severity="warning",summary="Insecure Default pureuser Password"} 1
purefb_alerts_open{action="Please verify that the DNS configuration on FlashBlade is correct and that there is no network outage that impacts DNS availability. If this issue persists when DNS is properly configured and available, please contact the group(s) that administer the DNS name servers to ensure that the domain has not had its service records removed unintentionally.",code="Attempting to verify resolution of the issue or checking its status may be done by logging in to FlashBlade and testing the Active Directory configuration. This is possible via ssh and the command line interface, the web UI, or the REST APIs.",component_name="Pure Storage Support is not notified of this alert. If you would like assistance from our support team, you can open a case by emailing [email protected].",component_type="1124",created="fbe",kburl="active-directory",severity="1722451113718",summary="https://support.purestorage.com/?cid=Alert_1124"} 1
curl -s -k -H 'Content-Type: application/json' -H "x-auth-token: ${auth_token}" -X GET https://${endpoint}/api/${api_ver}/alerts\?filter=state%3D%27open%27 | jq .
{
  "continuation_token": null,
  "total_item_count": 2,
  "items": [
    {
      "name": "2",
      "index": 2,
      "flagged": false,
      "code": 1123,
      "severity": "warning",
      "component_name": "pureuser",
      "component_type": "security",
      "state": "open",
      "created": 1684876704463,
      "updated": 1724237705212,
      "notified": 1724200178170,
      "summary": "Insecure Default pureuser Password",
      "description": "The user pureuser is configured with the default password. There will be notifications weekly.",
      "knowledge_base_url": "https://support.purestorage.com/?cid=Alert_1123",
      "action": "Please change the user pureuser's password now. Pure Storage Support is not notified of this alert. If you would like assistance from our support team, you can open a case by emailing [email protected].",
      "variables": {},
      "id": "e6a68ad8-7a59-b326-72e0-eabef1488cb7"
    },
    {
      "name": "819",
      "index": 819,
      "flagged": false,
      "code": 1124,
      "severity": "warning",
      "component_name": "fbe",
      "component_type": "active-directory",
      "state": "open",
      "created": 1722451113718,
      "updated": 1724237785243,
      "notified": 1722971236529,
      "summary": "An active directory configuration (fbe) in domain poc.local is unhealthy and requires attention",
      "description": "Health checks for the Active Directory configuration fbe, which corresponds to the computer fbe in the poc.local domain, have failed.  Clients attempting to mount and perform file operations over any version of the nfs or smb protocol may be impacted.\nA health check failed while discovering directory servers for the domain in DNS. The failure occurred while querying dns for _ldap._tcp.dc._msdcs.poc.local.\nUnable to discover directory servers for the domain using the configured DNS domain and nameservers.\nThis may be the result of a network disruption or DNS misconfiguration, and can impair communication with the domain that is needed to authenticate and authorize clients.\nThere will be daily notifications for 7 days.",
      "knowledge_base_url": "https://support.purestorage.com/?cid=Alert_1124",
      "action": "Please verify that the DNS configuration on FlashBlade is correct and that there is no network outage that impacts DNS availability. If this issue persists when DNS is properly configured and available, please contact the group(s) that administer the DNS name servers to ensure that the domain has not had its service records removed unintentionally.\nAttempting to verify resolution of the issue or checking its status may be done by logging in to FlashBlade and testing the Active Directory configuration. This is possible via ssh and the command line interface, the web UI, or the REST APIs.\nPure Storage Support is not notified of this alert. If you would like assistance from our support team, you can open a case by emailing [email protected].",
      "variables": {
        "computer_name": "fbe",
        "domain": "poc.local",
        "name": "fbe",
        "failed_test_stages": "dns-directory-server-discovery",
        "id": "34c8ec8c-c1e9-4327-984f-0be19eaef051"
      },
      "id": "c6f576f7-11f9-7865-ec31-6af507632d65"
    }
  ]
}

Prometheus Scrape Job Relabel Configuration

In the previous pure-exporter, there is relabel configuration to support multiple targets.

See below:
relabel_configs:

- source_labels: [__address__]
  target_label: __param_endpoint

- source_labels: [__pure_apitoken]
  target_label: __param_apitoken

- source_labels: [__address__]
  target_label: instance

- target_label: __address__
  replacement: [xxxxx] # CHANGE THIS (pure-exporter address)

In this new openmetrics exporter, what will the configuration looks like? looks like __param_apitoken is not supported anymore.

New set up.

I am trying to set this up on RHEL 7 using docker. I was able to get the docker images deployed but I have multiple endpoints to monitor with different API tokens. I want to set up a files_sd config to be able to add and remove endpoints. The top portion is with the previous pure_exporter, the bottom is the new way.

---
#- targets:
# - INT_IP_ADDR
# labels:
# env: prod
# authorization:
# credentials: SOME_API_KEY
# - INT_IP_ADDR
# labels:
# env: prod
# authorization:
# credentials: SOME_API_KEY

params:
endpoint: INT_IP_ADDR
authorization:
credentials: SOME_API_KEY
endpoint: INT_IP_ADDR
authorization:
credentials: SOME_API_KEY

Is it possible to have a breakdown of the file system?

I pulled the /metrics and I don't see a more granular look at the file system. Below is what I would like to see
purefb-01> purefs list
Name Size Virtual Hard Limit Source Created Protocols Writable Promotion Status
EA1__dss135 10T 3.60T True - 2024-01-11 14:55:53 CST nfsv3 True promoted
nfsv4.1
EA1__dss136 10T 0.00 True - 2024-02-07 11:36:21 CST nfsv3 True promoted
nfsv4.1
EA1__dss137 10T 0.00 True - 2024-02-07 11:37:10 CST nfsv3 True promoted
nfsv4.1
EA1__dss138 10T 0.00 True - 2024-02-07 11:37:55 CST nfsv3 True promoted
nfsv4.1
EA1__dss139 10T 0.00 True - 2024-02-07 11:40:39 CST nfsv3 True promoted
nfsv4.1
EA1__dss140 10T 0.00 True - 2024-02-07 11:41:20 CST nfsv3 True promoted
nfsv4.1
EA1__dss141 10T 0.00 True - 2024-02-07 11:42:04 CST nfsv3 True promoted
nfsv4.1
EA1__dss142 10T 0.00 True - 2024-02-07 11:42:44 CST nfsv3 True promoted
nfsv4.1
EA1__dss143 10T 0.00 True - 2024-02-07 11:43:24 CST nfsv3 True promoted
nfsv4.1
EA1__dss144 10T 0.00 True - 2024-02-07 11:44:10 CST nfsv3 True promoted

I have the attached, but I would like to have a more granular look especially Name,size virtual and maybe protocal
image

Report S3 bucket object count

Bucket object count is available in /buckets and is useful for tracking for growth of an S3 store.

purefb_buckets_object_count

TODO:
metric name and symantec convention submission for review.

scrape time issue with filesystem metrics

Hi,

These two metrics do not return the data within the 2 minutes scrape interval. What is the expected scrape time for these metrics?

purefb_file_system_usage_groups_bytes
purefb_file_system_usage_users_bytes

Other metrics are scrapped fine on the same instances.

add "account" to exposed metrics for buckets

I have a use case where it would be helpful to know the "account" associated with each bucket on a FlashBlade. I think the easiest option would be to add a new label to the purefb_bucket_* metrics called account.

This could be used to make an "account" level dashboard as multiple buckets in the same account are likely related.

The other option would be to have another set of metrics that can be used to map the buckets by account. Such as purefb_account_info where there would be a line per bucket where one of the labels would be the account and one of the labels would be the bucket name. This would also allow for creating a metric for purefb_account_quota_space_bytes since you can set a quota at the account leave that is shared across multiple buckets and this is not currently captured under purefb_buckets_quota_space_bytes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.