Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 2.95 KB

File metadata and controls

57 lines (36 loc) · 2.95 KB

grafana + qryn = correlated logs, traces, metrics

This repository hosts a ClickHouse centric alternative for the Grafana blog post on tail sampling functionality

💡 qryn APIs are transparently compatible with Grafana Loki and Tempo APIs - no plugins!

📦 The repository features a Docker Compose file that includes:

image

Running

Ensure you have both Docker and Docker Compose installed, and then in a terminal simply run:

docker-compose up -d

This will stand up all the required components

Usage

Follow the Grafana blog post

Two data sources have been pre-provisioned: Tempo and Loki. Loki contains log output from the demo app — including trace IDs — and Tempo is storing the traces. At the start, all of the traces being emitted from the demo app are being stored. We can quickly verify that by going to the Explore page in Grafana and looking at all of the logs.

image

Let’s look at some traces by expanding some of the loglines:

image

Use the Tempo derived field link to access the traces:

image


Disclaimer

  • All rights belong to their respective owners
  • Grafana®, Loki™ and Tempo® are a Trademark of Raintank, Grafana Labs.
  • ClickHouse® is a Trademark of ClickHouse Inc.