a-if

  • Blog

Grafana Historical Data Not Displayed Properly When Using Multi Days Range

Written by

Adashif Commit

at

2026-03-10 13:40:16 (GMT+0700)

TL;DR Fix: if using prometheus, set –storage.tsdb.retention.time to desired value.

Useful command:

# Check Version
prometheus --version

# Set Retention Time
prometheus --storage.tsdb.retention.time=30d

# Check Retention Time
ps aux | grep prometheus
Category: AI-Assisted Q&A

←Prev
Zipping File With Password in Macbook (or Linux-Based Systems)