Configuring the Yugabyte data source plugin
Configuring the Yugabyte plugin is a two step process:
- Installing the yugabyte plugin
- Configuring the yugabyte data source
Installing the Yugabyte plugin
To install a plugin, see Install Grafana plugins.
To install the Yugabyte plugin, see Installation on the Yugabyte plugin page.
Configuring the Yugabyte data source
For general information on adding a data source see Add a data source. Only users with the organization administrator
role can add data sources.
Set the Yugabyte data source’s basic configuration options:
Name | Description |
---|---|
Name | The data source name. This is how you refer to the data source in panels and queries. |
Default | Default data source means that it will be pre-selected for new panels. |
Host URL | The IP address/hostname and port of your Yugabyte instance. |
Database | Name of your Yugabyte database. |
User | Database user’s login/username. |
Password | Database user’s password. |
Configure the data source with provisioning
It is possible to configure data sources using configuration files with Grafana’s provisioning system. To read about how it works, including and all the settings that you can set for this data source, refer to Provisioning Grafana data sources.
Here is a provisioning example for this data source:
apiVersion: 1
datasources:
- name: Yugabyte
type: grafana-yugabyte-datasource
url: localhost:5433
user: yugabyte
jsonData:
database: yb_demo
secureJsonData:
password: 123456