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

feat: include lun and namespace templates in KeyPerf #3379

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions conf/keyperf/9.15.0/lun.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Lun
query: api/storage/luns
object: lun

counters:
- ^^uuid => uuid
- ^location.volume.name => volume
- ^name => path
- ^statistics.status => status
- ^svm.name => svm
- statistics.iops_raw.other => other_ops
- statistics.iops_raw.read => read_ops
- statistics.iops_raw.total => total_ops
- statistics.iops_raw.write => write_ops
- statistics.latency_raw.other => other_latency
- statistics.latency_raw.read => avg_read_latency
- statistics.latency_raw.total => total_latency
- statistics.latency_raw.write => avg_write_latency
- statistics.throughput_raw.other => other_data
- statistics.throughput_raw.read => read_data
- statistics.throughput_raw.total => total_data
- statistics.throughput_raw.write => write_data
- statistics.timestamp(timestamp) => timestamp
- hidden_fields:
- statistics
- filter:
- statistics.timestamp=!"-"

plugins:
LabelAgent:
split_regex:
- path `^/[^/]+/([^/]+)(?:/.*?|)/([^/]+)$` volume,lun
- path `^([^/]+)$` lun

export_options:
instance_keys:
- lun
- svm
- volume
37 changes: 37 additions & 0 deletions conf/keyperf/9.15.0/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Namespace
query: api/storage/namespaces
object: namespace

counters:
- ^^uuid => uuid
- ^name => path
- ^statistics.status => status
- ^svm.name => svm
- statistics.iops_raw.other => other_ops
- statistics.iops_raw.read => read_ops
- statistics.iops_raw.total => total_ops
- statistics.iops_raw.write => write_ops
- statistics.latency_raw.other => avg_other_latency
- statistics.latency_raw.read => avg_read_latency
- statistics.latency_raw.total => avg_total_latency
- statistics.latency_raw.write => avg_write_latency
- statistics.throughput_raw.read => read_data
- statistics.throughput_raw.total => total_data
- statistics.throughput_raw.write => write_data
- statistics.timestamp(timestamp) => timestamp
- hidden_fields:
- statistics
- filter:
- statistics.timestamp=!"-"

plugins:
LabelAgent:
split:
- path `/` ,,volume,namespace

export_options:
instance_keys:
- namespace
- path
- svm
- volume
2 changes: 2 additions & 0 deletions conf/keyperf/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ objects:
Cluster: cluster.yaml
FlexCache: flexcache.yaml
LIF: lif.yaml
Lun: lun.yaml
Namespace: namespace.yaml
NFSv3: nfsv3.yaml
NFSv41: nfsv4_1.yaml
NFSv4: nfsv4.yaml
Expand Down
Loading