PromQL cheatsheet

PromQL cheat sheet

Key functions — rate, irate, increase, histogram_quantile, absent, absent_over_time, delta, predict_linear, age Aggregations — sum, count, topk, by/without, quantile_over_time, bool, offset Label manipulation — label_replace, label_join Useful queries — CPU %, pod restarts, error rate, SLO, memory, network by AZ, nodegroup, cardinality Relabeling tricks — drop metrics, series, labels Pre-commit validation — promtool, pint Architecture — agent mode, VictoriaMetrics, Thanos, Mimir Tools Key functions rate vs irate...

April 17, 2026 · 4 min · Oleksandr Kulbida

Loki S3 dynamodb

While using Loki with S3 and Dynamodb it’s mandatory to add provision_config details as default might affect your budget https://grafana.com/docs/loki/latest/configuration/#provision_config [provisioned_write_throughput: <int> | default = 3000] # DynamoDB table default read throughput. # CLI flag: -<prefix>.read-throughput [provisioned_read_throughput: <int> | default = 300]

October 26, 2022 · 1 min · Oleksandr Kulbida

What’s new in Grafana v8.0

What’s new in Grafana v8.0 Grafana includes built-in support for Prometheus Alertmanager. Once you add it as a data source, you can use the Grafana alerting UI to manage silences, contact points as well as notification policies. A drop down option in these pages allows you to switch between Grafana and any configured Alertmanager data sources. https://grafana.com/docs/grafana/latest/datasources/alertmanager/ Prometheus metrics browser https://grafana.com/docs/grafana/latest/datasources/prometheus/#metrics-browser More details: https://grafana.com/docs/grafana/latest/whatsnew/whats-new-in-v8-0/

June 8, 2021 · 1 min · Oleksandr Kulbida

Grafana license

Grafana was relicensed to AGPLv3 https://grafana.com/blog/2021/04/20/grafana-loki-tempo-relicensing-to-agplv3/

April 27, 2021 · 1 min · Oleksandr Kulbida