9.6.4.2.1 Controlling the Automatic Metric Upload Frequency
The metricStreamIntvlInSec attribute sets the upload
interval (in seconds) for automatic uploads to the metric streaming endpoints
specified by the metricStreamEndPoint attribute.
-
To enable automatic metric uploads, set the
metricStreamIntvlInSecattribute to a non-zero value.For example:
DBMCLI> ALTER DBSERVER metricStreamIntvlInSec=25The
metricStreamIntvlInSecsetting is related to the fine-grained collection frequency specified in themetricFGCollIntvlInSecattribute:-
When automatic metric upload and fine-grained collection are both enabled (
metricStreamIntvlInSec>0andmetricFGCollIntvlInSec>0),metricStreamIntvlInSecmust be between 5 and 30 timesmetricFGCollIntvlInSec. For example, ifmetricFGCollIntvlInSecis set to 5, thenmetricStreamIntvlInSecmust be between 25 and 150. -
When automatic metric upload is enabled and fine-grained collection is disabled (
metricStreamIntvlInSec>0andmetricFGCollIntvlInSec=0), the automatic upload frequency must be between 5 and 30 minutes (metricStreamIntvlInSecmust be between 300 and 1800).
-
-
To disable automatic metric uploads, set
metricStreamIntvlInSec=0.For example:
DBMCLI> ALTER DBSERVER metricStreamIntvlInSec=0
Parent topic: Uploading Metric Observations to a Collection Platform