Dashboards in Grafana - combining PromQL and LogQL to monitor an application end-to-end
1. Retomando: dados prontos, falta visualizar A stack unificada do artigo anterior já coleta métricas das duas mini apps, recebe seus logs e processa seus traces. Mas até aqui, toda consulta foi feita manualmente — uma expressão PromQL de cada vez no Prometheus, uma query LogQL de cada vez no Explore do Grafana. Este artigo constrói um dashboard real, com vários painéis lado a lado, para…
The article describes building a dashboard in Grafana to monitor two mini apps, one written in Python and the other in PHP. The dashboard displays metrics such as request rate, latency, and error volume, as well as logs from both apps. It uses Prometheus for metrics and Loki for logs, and features a variable that allows switching between the two apps without needing to duplicate the dashboard.
The dashboard is organized to show general metrics at the top and detailed logs at the bottom, facilitating investigation of issues.
Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.