Enabling Cloudera Observability Real-time monitoring using Cloudera Manager API

Learn how to enable the Cloudera Observability Real-time monitoring feature when CDP Data Hub 7.2.18.100 and CDP Data Hub 7.2.18.200 clusters are created or upgraded before enabling the necessary entitlement.

Required role

You must have the Cluster Administrator role in Cloudera Manager. Contact Cloudera Support to perform the subsequent steps.

For information on Cloudera Manager user roles, see Default User Roles in the Cloudera Manager documentation.

Ensure that you have the necessary CDP entitlements from Cloudera to access the Cloudera Observability Real-time monitoring feature.
  1. To enable real-time monitoring, set the value to true for the following configuration properties using the Cloudera Manager API (curl command or Swagger API user interface):
    • enable_observability_real_time_jobs
    • enable_observability_metrics_dmp
    Curl command
    curl -X PUT "http://[***URL***]/api/v55/cm/config" -H "accept: application/json" -H "Content-Type: application/json" -u [***CMUSER***]>:[***CMPASSWORD***] -d "{ \"items\": [ { \"name\": \"enable_observability_real_time_jobs\", \"value\": \"true\" } ]}"
    Swagger API user interface
    For information on using the Cloudera Manager API, see Using the Cloudera Manager API in Cloudera Manager documentation.
  2. From the Home > Status tab, click the Actions menu corresponding to the service that you want to restart and select Rolling Restart with the Restart roles with stale configuration only option.

    This restart is required to populate certain sections of the Cloudera Observability user interface for CDP Data Hub premium.

    For information on performing a service or role rolling restart, see Rolling Restart in the Cloudera Manager documentation.
The Cloudera Observability Real-time monitoring feature is enabled.