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 $myhost.df.pool_1.total.value 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.
# pattern = regex
# retentions = timePerPoint:timeToStore, timePerPoint:timeToStore, …
# Carbon's internal metrics. This entry should match what is specified in # CARBON_METRIC_PREFIX and CARBON_METRIC_INTERVAL settings [carbon] #pattern = ^carbon\. #retentions = 60:90d #[default_1min_for_1day] #pattern = .* #retentions = 60s:1d pattern = ^carbon\. retentions = 60s:90d [default_db_size] 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?