graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #05376
Re: [Question #261634]: Carbon not able to write to whisper file
Question #261634 on Graphite changed:
https://answers.launchpad.net/graphite/+question/261634
Priyanka posted a new comment:
Thanks Dave for your response. This is my sample metric data point which
is being sent to carbon. Let me know if you need to look at any other
configuration. I just have 1 schema for now. The schema file is getting
created correctly.
Sample metric datapoint (uploads every 1 sec)
<timestamp> <metric_name> <metric_value>
1422992255552 edp.test.services.priyanka-dev.TotalDiscoveredItems 10
1422992260572 edp.test.services.priyanka-dev.TotalDiscoveredItems 20
1422992255573 edp.test.services.priyanka-dev.TotalDiscoveredItems 30
1422992255575 edp.test.services.priyanka-dev.TotalDiscoveredItems 40
1422992255577 edp.test.services.priyanka-dev.TotalDiscoveredItems 50
1422992255579 edp.test.services.priyanka-dev.TotalDiscoveredItems 60
1422992255580 edp.test.services.priyanka-dev.TotalDiscoveredItems 70
storage-schemas.conf (I intend to use the last [default] for all the
schema)
[carbon]
pattern = ^carbon\.
retentions = 60:90d
[default_1min_for_1day]
pattern = .*
retentions = 60s:1d
[default]
pattern = .*
retentions = 1s:8h, 1m:3d, 5m:8d, 15m:32d, 1h:1y
====================================
Schema dump
[root@graphitetest priyanka-dev]# whisper-dump.py TotalDiscoveredItems.wsp | more
Meta data:
aggregation method: average
max retention: 86400
xFilesFactor: 0.5
Archive 0 info:
offset: 28
seconds per point: 60
points: 1440
retention: 86400
size: 17280
Archive 0 data:
0: 0, 0
1: 0, 0
2: 0, 0
===================================
creates.log
03/02/2015 09:55:34 :: new metric edp.test.testing.priyanka-dev.TotalDiscoveredItems matched schema default_1min_for_1day
03/02/2015 09:55:34 :: new metric edp.test.testing.priyanka-dev.TotalDiscoveredItems matched aggregation schema default_average
03/02/2015 09:55:34 :: creating database file /opt/graphite/storage/whisper/edp/test/testing/priyanka-dev/TotalDiscoveredItems.wsp (archive=[(60, 1440)] xff=0.5 agg=average)
03/02/2015 11:36:51 :: new metric edp.test.testing.priyanka-dev.TotalDiscoveredItems matched schema default_1min_for_1day
03/02/2015 11:36:51 :: new metric edp.test.testing.priyanka-dev.TotalDiscoveredItems matched aggregation schema default_average
03/02/2015 11:36:51 :: creating database file /opt/graphite/storage/whisper/edp/test/testing/priyanka-dev/TotalDiscoveredItems.wsp (archive=[(60, 1440)] xff=0.5 agg=average)
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.