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 METRICDEFINITIONcommand and specifystreaming=enabled. For example:DBMCLI> ALTER METRICDEFINITION N_NIC_KB_TRANS_SEC streaming=enabledDBMCLI> ALTER METRICDEFINITION N_MB_SENT,N_MB_RECEIVED streaming=enabledDBMCLI> ALTER METRICDEFINITION streaming=enabled WHERE name LIKE 'N_NIC.*' -
To remove a metric from the metric stream, use the
ALTER METRICDEFINITIONcommand and specifystreaming=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
Parent topic: Uploading Metric Observations to a Collection Platform