
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 *Requiredstring
Entity ID
ID of the specific entity to retrieve metrics for.
entityType *Requiredstring
Entity type
Type of PowerStore entity to retrieve metrics for (for example: volume, appliance, cluster).
host *Requiredstring
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 *Requiredstring
Sampling interval
Metric sampling interval (for example: Five_Mins, One_Hour, One_Day). Consult the appliance's supported values.
password *Requiredstring
PowerStore password
Password for username. Store this value as a Kestra secret and reference it via
{{ secret('POWERSTORE_PASSWORD') }}.
username *Requiredstring
PowerStore username
Username of a PowerStore local or LDAP account used to authenticate via HTTP Basic Auth.
fetchType 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.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
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.