Intro
Observability Metrics lets you pull DomoStats-style reports from target instances and bring them into your primary instance. This article provides information on adding a Domo Token Access account and creating, scheduling, running, and cloning jobs with Observability Metrics.
Access Observability Metrics
-
In the navigation header, go to
More > Admin. The Admin Settings display.
-
In the
Governance menu, select Toolkit.
The Toolkit opens.
-
Under either
Your Tools or Available Tools, select Observability Metrics.
Note:
If the
Toolkit
option does not display in the
Governance
menu, ensure your user role has the required grants. You may need to enable the Toolkit by reaching out to your account team.
Required Grants
To access the Governance Toolkit, you will need one of two grants enabled:
-
Create Custom Pipeline Processes —
Allows you to create, update, share, and delete jobs.
Only allows you to view jobs that they created or jobs that have been shared with them.
-
Administer Custom Pipeline Processes —
Allows you to create, update, share, and delete jobs.
Also allows you to see all jobs within the pipeline.
Grants can be added to a custom user role. By default, the Administer Custom Pipeline Process grant is enabled for Admin users.
In addition to either the Create Custom Pipeline Processes or the Administer Custom Pipeline Processes grant, you must have all the following grants enabled to access the Governance Toolkit:
- Export from Domo
— Allows you to export data, Cards, or reports from Domo to external formats or destinations.
- Manage all access tokens and API clients
— Allows you to create, view, and manage all access tokens and API clients used to connect external tools or services to Domo.
- Manage all Cards, Pages, Apps (App Studio), and Reports (Report Builder)
— Allows you to create, edit, move, and delete any Card, Page, App, or Report in Domo, regardless of ownership.
- Manage DataSet
— Allows you to create, edit, replace, and delete any DataSet in Domo, including its schema and data connections.
- View activity logs
— Allows you to access and review detailed logs of user and system activity within your Domo instance.
- View usage metrics
— Allows you to view instance-level usage data, including activity and resource metrics across Domo.
To learn more about custom roles and grants, see Manage User Roles and Grants.
Add a Domo Access Token Account
To connect to another instance and pull a report, you must create a Domo Access Token account. There are two options for creating this account: an access token or a username and password. Only one option is required.
-
In the navigation header, go to
Data.
-
From the left side rail, select
Accounts.
-
Select
+ Add New > Account to open the Add Account modal.
-
In the modal, search for and select
Domo Access Token.
Two options display for creating an account. Only one option is required.
-
With an access token. To generate an access token, follow the steps in the section below (see Generating Access Tokens). Then, return to this task and paste the token into the
Option 1: Remote Instance Access Token field in the Add Account modal.
-
With a username and password. This is the same username and password used in the target Domo instance.
-
Select
Connect.
Your Domo Access Token account is now created.
Generate an Access Token
-
In the navigation header on your target instance, go to
More > Admin.
-
Under
Authentication, select Access tokens.
-
Select
+ Generate access token and search for the Domo user requesting the access token.
Choose an expiration date and select Generate.
An access token displays.
-
Copy the access token. The token is no longer available when you navigate away from the page.
Create a Job
-
Access Observability Metrics
.
-
Select
+ New Job.
-
In the
Job Details, fill out the following information:
- (Required) Job name
- (Optional) Job description
-
In the
Configuration section of the Job Details tab, specify the following:
- Select the account for your instance (this account must be created prior to creating a job).
- Enter the URL of the instance (domain. domo.com ). Remember to include ” domo.com” at the end of your URL.
- Select an option for where you’d like to save run logs:
- New DataSet
- Creates a new DataSet in your Domo instance. All runs of the job will write logging to the new DataSet.
- Existing DataSet
- Existing DataSet allows you to combine multiple Domo Observability Metric jobs into a single logging DataSet.
- Must be a DataSet created by the Domo Observability Metrics tool.
- The existing DataSet must already contain rows of data.
-
In the
Report and DataSet Mapping section of the Job Details tab, specify the following:
-
Select a report type from the menu.
-
Adjust toggle to either New DataSet or Existing Dataset
- If you choose New DataSet, enter a name in the
New DataSet Name field.
- If you choose Existing Dataset, select a DataSet from the menu.
Important:
- Using an existing DataSet will overwrite the data that exists on that DataSet.
- Each report should have a different DataSet. Different report types cannot use the same DataSet.
-
Select
Submit.
The new job now appears in the job list on the main Observability Metrics page.
-
(Optional) To add multiple reports, select
+ Add Another Report. Repeat the previous steps.
Schedule a Job
-
Access Observability Metrics
.
-
In the
Scheduling tab, complete the following:
- Select the frequency the job should run.
Note:
Some inputs are disabled depending on the chosen reports. Reports for “People” and “Group Membership” are the only reports that can be triggered more frequently than daily. They must be in a job with no other reports to run more frequently.
- Switch the toggle to Active.
The job runs according to your specified frequency.
Run a Job
A job will execute according to the schedule set in the Scheduling tab when the toggle is switched to Active. When the toggle is Disabled, the job only executes when it is manually run.
You can manually run a job by selecting
Job Options > Run Job.
After a job runs, the Report and DataSet Mapping section shows the output DataSets next to each row that has been run. This information can be found in the Job Details view.
You can change the DataSet where run logs are saved in the Report and DataSet Mapping section of the Job Details.
-
Select
Edit in the job’s details.
-
Select the current DataSet.
A search menu displays containing all available DataSets in your instance.
-
Search for the replacement DataSet. Select
Choose DataSet.
The job saves run logs in the updated DataSet.
Important:
The Activity Log report only goes back two weeks from the current date. This is expected behavior.
Clone a Job
To create jobs for more instances with the same reports and run logs DataSet, you can clone an existing job.
-
Access Observability Metrics
.
A list of jobs in your instance displays.
-
Hover over a job in the list. Select
Job Options > Clone. The Clone Job modal displays.
-
Enter a name, optional description, instance URL, and select the instance’s
Access Token account.
- Select
Clone Job. The cloned job appears in the job list on the main Observability Metrics page.