Query Different Datasources

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

server_uptime{serverId=postgres server_id here}

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


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.