Dashboard statistics

Good morning.

I can only see statistics in my grafana dashboard from my last 15 days.

Is the reason this configuration?

–log-driver json-file
–log-opt max-size=10m
–log-opt max-file=3 \

Thanks.

How are you feeding the data into grafana? Are you using prometheus? If so, what is your retention settings on prometheus?

I have found into prometheus this that for sure need to be changed:

Storage retention 15d

Now I have to investigate how :slight_smile:

SOLUTION:

Adding this line into docker-compose will change the storage time to 10 years:

- '--storage.tsdb.retention.time=10y'
1 Like