Query data in Promscale

You can query the data such as metrics and traces stored in Promscale. You can use SQL to query both metrics and traces. SQL queries are handled directly by TimescaleDB. You can query the data in Promscale with your preferred SQL tool.

You can use PromQL to only query metrics. PromQL queries have to be directed to the Promscale Connector. Alternatively, you can direct PromQL queries to the Prometheus instance, which reads data from the Connector using the remote_read interface. The Connector, in turn, fetches data from TimescaleDB. You would typically use a visualization tool to run PromQL queries. Learn more about PromQL in the Prometheus documentation.