Enable metric streaming

Metrics for managed resources can be streamed at a specified interval. You can do the following steps to enable the metric relay:

Enabling metric streaming APIs using REST APIs
  1. Get list of resource types and metrics that can be configured for live streaming.

    GET /rest/metrics/capability

  2. Configure the live metric stream.

    PUT /rest/metrics/configuration

  3. Receive the live stream of metrics on AMQP message exchange – MSMB

    msmb


[NOTE: ]

NOTE: MSMB (Metric Streaming Message Bus) is an interface that uses asynchronous messaging to notify subscribers about the most recent metric of the managed resources.

Metrics are streamed for servers with ILO Advanced Licenses only. Supported servers are G7, Gen 8, and Gen 9.


Fetch metric streaming capability

You can fetch the list of resource types and supported metrics that HPE OneView is capable of relaying.

Fetching metric streaming capability using REST APIs
  1. Get list of resource types and metrics.

    GET /rest/metrics/capability

Fetch metric streaming configuration

You can fetch the current configuration for which metrics are being streamed.

Fetching metric streaming configuration using REST APIs
  1. Get configuration for metrics.

    GET /rest/metrics/configuration

Update metric streaming configuration

You can update the metrics configuration with new values. An update overwrites the existing configuration.

Updating metric streaming configuration using REST APIs
  1. Update the metric streaming configuration.

    PUT /rest/metrics/configuration