Prerequisites
- Grafana version 9.1.1 or later.
- Access to a StarTree Cloud cluster, including its Controller and Broker URLs.
- An API Token for authenticating to your cluster (see Generating an API Token).
Install the plugin
- In Grafana, go to Administration > Plugins and data > Plugins.
- Search for StarTree Pinot.
- Select the plugin and click Install.
Get your Controller and Broker URLs
- Visit the apps page of your StarTree Cloud cluster.
- Note the Pinot Controller URL and Broker URL for your environment, in the form of
pinot.<env-id>.<org-id>.startree.cloudfor the Controller andbroker.<env-id>.<org-id>.startree.cloudfor the Broker.
Create the data source in Grafana
- Go to Connections > Data sources and click Add new data source.
- Select StarTree Pinot from the list.
- Under Connection, enter the Controller URL and Broker URL for your cluster.
- Under Auth, enable token authentication and paste the API token you generated as a prerequisite.
- Click Save & test to confirm Grafana can reach your cluster.
Query data
The plugin supports two ways to build queries against your tables:- Builder mode — pick a Table, Time Column, and Metric Column to produce a time series panel without writing SQL.
- Code editor mode — write a custom Pinot SQL query, then choose a format:
- Table — renders results directly, with an optional time column conversion.
- Time series — requires a time column alias, time format, and metric column to plot results over time.
- Annotations — maps result columns to annotation events on a panel.

