
Dell EMC GetMetrics
CertifiedEnterprise EditionGet Dell EMC PowerStore performance metrics
Dell EMC GetMetrics
Get Dell EMC PowerStore performance metrics
Generates historical performance metrics for a PowerStore entity via POST /api/rest/metrics/generate.
The response shape depends on entityType; each data point is returned as-is. Unlike the list tasks
in this plugin, /metrics/generate is not paginated: the appliance returns the full data point set
in a single response, which this task must fully receive and parse before fetchType can even be
applied. fetchType=STORE therefore still avoids buffering all data points as Kestra output
variables, but it does not reduce the peak memory used while the response itself is parsed — that
peak scales with interval/history regardless of fetchType.
type: io.kestra.plugin.ee.dellemc.powerstore.arrays.GetMetricsExamples
Get 5-minute interval metrics for a volume.
id: powerstore_get_metrics
namespace: company.team
tasks:
- id: get_metrics
type: io.kestra.plugin.ee.dellemc.powerstore.arrays.GetMetrics
host: "{{ secret('POWERSTORE_HOST') }}"
username: "{{ secret('POWERSTORE_USERNAME') }}"
password: "{{ secret('POWERSTORE_PASSWORD') }}"
entityType: volume
entityId: "{{ inputs.volume_id }}"
interval: Five_Mins
fetchType: FETCH
Properties
entityId *string
Entity ID
ID of the specific entity to retrieve metrics for.
entityType *string
Entity type
Type of PowerStore entity to retrieve metrics for (for example: volume, appliance, cluster).
host *string
PowerStore management address
Hostname or IP address of the PowerStore appliance management interface, optionally including a
port if non-default (for example: powerstore.example.com or 192.168.1.20: 8443).
The REST API is reached at https://{host}/api/rest.
interval *string
Sampling interval
Metric sampling interval (for example: Five_Mins, One_Hour, One_Day). Consult the appliance's supported values.
password *string
PowerStore password
Password for username. Store this value as a Kestra secret and reference it via
{{ secret('POWERSTORE_PASSWORD') }}.
username *string
PowerStore username
Username of a PowerStore local or LDAP account used to authenticate via HTTP Basic Auth.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150fetchType string
STORESTOREFETCHFETCH_ONENONEThe way you want to fetch the results
STORE (default) writes every data point to a file in Kestra internal storage and outputs its uri,
keeping them out of the execution's output variables. FETCH returns all data points in the rows
output. FETCH_ONE returns only the first data point in the row output. NONE returns just the
total count. Note that the underlying /metrics/generate endpoint is not paginated, so the full
data point set is always received and parsed in memory first regardless of fetchType.
skipTlsVerification booleanstring
falseSkip TLS certificate verification
When true, accepts the PowerStore appliance's TLS certificate without validation. Defaults to
false. PowerStore management interfaces are commonly deployed with a self-signed certificate;
set this to true to connect to those without importing the certificate into a trust store.
Intended for lab/non-production use — leave false in production and use a properly signed
certificate instead.
Outputs
row object
First metric data point
The first metric data point. Populated for FETCH_ONE.
rows array
Metric data points
Raw metric data points as returned by the appliance; field names vary by entityType. Populated for FETCH.
total integer
Total number of data points
Populated for FETCH, FETCH_ONE, NONE, and STORE.
uri string
uriStored metrics URI
Internal storage URI of the ION file containing all metric data points. Populated for STORE.