Connect Grafana to Tiger Cloud
To visualize the results of your queries, enable Grafana to read the data in your service:
- Log in to Grafana
In your browser, log in to either: - Self-hosted Grafana: at http://localhost:3000/. The default credentials are admin, admin. - Grafana Cloud: use the URL and credentials you set when you created your account.
- Add your service as a data source
- Open
Connections>Data sources, then clickAdd new data source. - Select
PostgreSQLfrom the list. - Configure the connection:
Host URL,Database name,Username, andPassword
- Open
Configure using your [connection details][connection-info]. Host URL is in the format <host>:<port>. - TLS/SSL Mode: select require. - PostgreSQL options: enable TimescaleDB. - Leave the default setting for all other fields.
- Click
Save & test.
Grafana checks that your details are set correctly.
===== PAGE: https://docs.tigerdata.com/_partials/_prereqs-cloud-project-and-self/ =====
To follow the procedure on this page you need to:
- Create a [Tiger Data account][create-account].
This procedure also works for [self-hosted TimescaleDB][enable-timescaledb].
===== PAGE: https://docs.tigerdata.com/_partials/_caggs-function-support/ =====
The following table summarizes the aggregate functions supported in continuous aggregates:
| Function, clause, or feature | TimescaleDB 2.6 and earlier | TimescaleDB 2.7, 2.8, and 2.9 | TimescaleDB 2.10 and later |
|---|---|---|---|
| Parallelizable aggregate functions | ✅ | ✅ | ✅ |
| [Non-parallelizable SQL aggregates][postgres-parallel-agg] | ❌ | ✅ | ✅ |
ORDER BY | ❌ | ✅ | ✅ |
| Ordered-set aggregates | ❌ | ✅ | ✅ |
| Hypothetical-set aggregates | ❌ | ✅ | ✅ |
DISTINCT in aggregate functions | ❌ | ✅ | ✅ |
FILTER in aggregate functions | ❌ | ✅ | ✅ |
FROM clause supports JOINS | ❌ | ❌ | ✅ |
DISTINCT works in aggregate functions, not in the query definition. For example, for the table:
The following works:
This does not:
===== PAGE: https://docs.tigerdata.com/_partials/_psql-installation-macports/ =====
Installing psql using MacPorts
===== PAGE: https://docs.tigerdata.com/_partials/_toolkit-install-update-redhat-base/ =====
To follow this procedure:
- [Install TimescaleDB][red-hat-install].
- Create a TimescaleDB repository in your
yumrepo.ddirectory.