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.
Log in to the account on whose behalf you will work with the API and go to the generated link.
A sequence of characters will appear on the page — this is the OAuth token. Copy it and save it.
To check if you have access to the API, execute the request for information about the current user. If access was not obtained, the request will return a response with code 401 Unauthorized.
Example request for information about the current user using curl:
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