Dell EMC GetMetrics

Dell EMC GetMetrics

Certified
Enterprise Edition

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.

yaml
type: io.kestra.plugin.ee.dellemc.powerstore.arrays.GetMetrics

Get 5-minute interval metrics for a volume.

yaml
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

Entity ID

ID of the specific entity to retrieve metrics for.

Entity type

Type of PowerStore entity to retrieve metrics for (for example: volume, appliance, cluster).

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.

Sampling interval

Metric sampling interval (for example: Five_Mins, One_Hour, One_Day). Consult the appliance's supported values.

PowerStore password

Password for username. Store this value as a Kestra secret and reference it via {{ secret('POWERSTORE_PASSWORD') }}.

PowerStore username

Username of a PowerStore local or LDAP account used to authenticate via HTTP Basic Auth.

DefaultSTORE
Possible Values
STOREFETCHFETCH_ONENONE

The 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.

Reference (ref) of the pluginDefaults to apply to this task.

Defaultfalse

Skip 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.

First metric data point

The first metric data point. Populated for FETCH_ONE.

SubTypeobject

Metric data points

Raw metric data points as returned by the appliance; field names vary by entityType. Populated for FETCH.

Total number of data points

Populated for FETCH, FETCH_ONE, NONE, and STORE.

Formaturi

Stored metrics URI

Internal storage URI of the ION file containing all metric data points. Populated for STORE.