Graphite does not store/show old metrics

(dmitry) #1

HI All,
My apologies if this question was already asked but I found only one topic related.
I am sending metrics using plaintext protocol, like this, each 3 hours a day.
echo $ 39399393 date +%s| nc --send-only graphite_host 2003
39399393 in bytes.

I have carbon configured:
[root@dp-monitoring carbon]# cat storage-schemas.conf
# Schema definitions for Whisper files. Entries are scanned in order,
# and first match wins. This file is scanned for changes every 60 seconds.
# [name]
# pattern = regex
# retentions = timePerPoint:timeToStore, timePerPoint:timeToStore, …

# Carbon's internal metrics. This entry should match what is specified in
#pattern = ^carbon\.
#retentions = 60:90d

#pattern = .*
#retentions = 60s:1d
pattern = ^carbon\.
retentions = 60s:90d
pattern = .*
retentions = 10s:1d,60s:90d,1h:3y

I have a simple graph created, but I am able to see only recent data. I started sending the mertics on 14th of Jan 2019, but do not see it. I see data only from 16th, it looks like data stored only one day?
PLease advise :slight_smile: