Setting machine user as Observability user

To set a machine user as an observability user, you must log in to the web interface and access the specific workbench.

You can then run commands in the database pod to update the user status. This process enables monitoring for the selected machine user within your environment.

  1. Log in to Cloudera AI UI.
  2. Click Cloudera AI Workbenches.
  3. Click on the workbench you want to monitor.
  4. To log into the db-0 pod in the Workbench namespace, run the following command:
    kubectl exec -i -t db-0 --container db -n [***workbench-namespace***] -- /bin/bash
  5. Run the following commands:
    1. psql -U sense
    2. UPDATE users SET observability_user = TRUE WHERE username='[***obs-machine-user***]';