Query Different Datasources

Hello,
I’m trying to filter metrics results based on the results from a Postgres query. ie.

Postgres (customer list)
select id, name, server_id from customers

Prometheus
server_uptime{serverId=postgres server_id here}

Is it possible to perform such a query and visualize it in a table?

Thanks

Hi @pmarley,

Have you explored using variables to create dynamic dashboards?

I’d check out this list of official example dashboards that use template variables

I’d also start exploring our documentation on the subject. It is one of the more complex elements to dashboard design, but it’s very powerful.

This topic was automatically closed after 365 days. New replies are no longer allowed.