Graphite - aggregation / retention -
i bit newbie in graphite grateful if me / give hints configuration files. need:
- having multiple servers , being able send metrics these servers. metrics should summarised ( aggregationmethod: sum ). if have registration metric , there 3 registration per 5 min on 1 server , 2 registration per 5 min on second one, should see 5 registration per 5 min in graphite. please correct me if wrong, should possible ( in storage-aggregation.conf ):
[all] pattern = .* xfilesfactor = 0 aggregationmethod = sum
- i need have 1 metric 1s:3y resolution , being able aggregate during 3 hours. mean should report following:
name: custom_metric time: 00000 value: 1 ( reported ) name: custom_metric time: 00001 value: 1 ( reported 1 second ) .............. name: custom_metric time: 00000 value: 1 ( reported 2h 59m )
eventually, should see value of 2 custom_metric @ time 0000.
as far understand, statsd not suitable me because accepts real-time metrics.
any highly appreciated!
it looks want carbon-aggregator service.
look in /opt/graphite/conf/aggregation-rules.conf.example example configuration file , documentation here: graphite carbon-aggregation.conf documentation
i use statsd instead of this. carbon-relay-ng aggregation well.
Comments
Post a Comment