OSS observability on AWS with Mimir Loki Tempo & Pyroscope

Photo by Kyle Glenn on Unsplash

OSS observability on AWS with Mimir Loki Tempo & Pyroscope

Mimir: For Metrics

Loki: For logs

Tempo: For Traces

Pyroscope: Continuous Profiles

Grafana: Dashboard

Find anomalies in metrics

Find a needle in a haystack with log queries?

Loki : Log

Trade off: One log line searching time consuming.

Quey Language: LogQL

TSDB index same used in prometheus.

Line based deletes: As occasionally some secrets will be logged in logs :)

Find where latency and error originate across many services with traces?

Tempo

Distributed call graph.

TraceQL ----- PromQL

{resource.service="server"&&span.target="/account"}>>{status=error}

Show me all the spans where the request was received by my server on the account endpoint.

Profile - Pyroscope

Sampling Profile

Flame graph and icle graph