To obtain data, log in to Tracker under the account of a user with full access to the service.
Sign up for Yandex Cloud and create a billing account:
Go to the management console and log in to Yandex Cloud or create an account if you do not have one yet.
On the Billing page, make sure you have a billing account activated and its status is ACTIVE or TRIAL_ACTIVE. If you do not have a billing account, create one.
If you have an active billing account, you can create or select a folder on the cloud page to host your infrastructure.
Click Create cluster. Wait for the created cluster status to change to Alive.
Copy and save the host name for further Cloud Functions setup.
Create an OAuth token for Tracker access
If you use a federated or service account, log in using an IAM token.
To access Yandex Tracker API, you need to obtain an OAuth token. Use the obtained token in the Authorization header when making requests to Yandex Tracker API.
This token grants the same permissions as the user account in Yandex Tracker. For example, if the user is not allowed to change queue settings, API requests to change queue settings will not be available using this token.
To check if you have access to the API, request information about the current user. If no access permission is granted, you will get a response with the 401 Unauthorized code.
Sample curl request for retrieving information about the current user:
In the Datasets drop-down list, select the dataset you created in the previous step.
On the top panel, select a visualization type. By default, the Column chart type is selected.
Create a dashboard and add charts to it
On the DataLens home page, click Create dashboard.
At the top of the dashboard page, click Add → Chart.
Fill in the widget parameters. Pay close attention to the following fields:
Name: Sets the name of the widget. It is displayed at the top of the widget.
Chart: Sets the widget to add.
Description: Sets the description of the widget. It is displayed at the bottom of the widget.
Auto height: Sets the automatic height for Table and Markdown widgets. If this parameter is disabled, you can set the height of the widget on the page using the mouse.
Click Add. The widget will be displayed on the dashboard.
Save the dashboard:
In the top-right corner of the dashboard, click Save.
Enter a name for the dashboard and click Create.
For more information about setting up dashboards, see DataLens dashboard.
Sample dashboard based on data from the v_tracker_issues table
Sample dashboard based on data from the db1.v_tracker_statuses table