9.6.4.2.2 Customizing the Metric Stream

By default, a set of key performance metrics is automatically enabled for streaming. But, you can customize the metric stream by enabling or disabling specific metrics.

  • To include a metric in the metric stream, use the ALTER METRICDEFINITION command and specify streaming=enabled. For example:

    DBMCLI> ALTER METRICDEFINITION N_NIC_KB_TRANS_SEC streaming=enabled
    DBMCLI> ALTER METRICDEFINITION N_MB_SENT,N_MB_RECEIVED streaming=enabled
    DBMCLI> ALTER METRICDEFINITION streaming=enabled WHERE name LIKE 'N_NIC.*'
  • To remove a metric from the metric stream, use the ALTER METRICDEFINITION command and specify streaming=disabled. For example:

    DBMCLI> ALTER METRICDEFINITION N_MB_SENT streaming=disabled
  • At any time, to view the metrics that are included in the metric stream, use the following command:

    DBMCLI> LIST METRICDEFINITION WHERE streaming=enabled
  • At any time, to view all of the metric definition details, including each metric description and whether the metric is included in the metric stream, use the following command:

    DBMCLI> LIST METRICDEFINITION DETAIL