Retrieving Your Tenant UID
Accessing the metrics of your tenant via the SAP Data Intelligence Monitoring Query API requires knowledge of your tenant UID.
Context
The tenant UID is different from the tenant name. You can obtain it using the vctl tool with the following command:
# login to SAP Data Intelligence as tenant admin vctl login [...] # get the detailed tenant information, including the tenant ID vctl tenant get [EDIT HERE: tenant name] -o yaml
The result should look similar to the following output:
apiVersion: v3 [...] id: 744e5b4f8f4e49579038c820833c3f28 name: default status: Ready [...]
In the example, the name field value default is the tenant name used to authenticate against SAP Data Intelligence, and the ID field 744e5b4f8f4e49579038c820833c3f28 is the tenant UID required in the PromQL expression when accessing the SAP Data Intelligence Monitoring Query API.