Report period - how often metric is sent to librato server(defaults to 1 minute).
Chart resolution - time between two sequential points on a chart(depends on chart time range).
Reported as delta since last report.
# POST payload to librato server
hit.counter # metric name
20 # Delta since last report
count- how many times delta was reported(depends on chart resolution additively).max- max delta reported for the report period.min- min delta reported for the report period (sporadic: true- means it won't be zero, since delta equals zero isn't reported).sum- sum of deltas(depends on chart resolution additively).avg- average reported delta for the report period.
One has 100 processes:
- 98 of them report 10 increments per minute
- 1 of them report 1 increments per minute
- 1 of them report 20 increments per minute
At chart with minute resolution:
countequals100maxequals20minequals1sumequals98*10 + 1*1 + 1*20 = 1001avgequalssum/count = 1001/100 = 10,01
At chart with hour resolution:
countequalscount minute*60 = 6000maxequals20minequals1sumequalssum minute*60 = 1001*60 = 60060avgequalssum minute*60 / (count minute*60) = 1001*60 / (100*60) = 10,01
Reported as min, max, sum, count for the report period since last report.
# POST payload to librato server
action.latency # metric name
# describe bunch of measurements in ms
max=10
min=1
sum=80
count=14
count- how many times measurement was called(depends on chart resolution additively).max- max measurement for the report periodmin- min measurement for the report periodsum- sum of all measurements during the report period(depends on chart resolution additively)avg- average measurement for the report period
One has 10 processes:
- 5 of them measure 10 events per minute with static latency 7
- 3 of them measure 6 events per minute with static latency 10
- 2 of them measure 2 events per minute with static latency 5
At chart with minute resolution:
countequals10 + 6 + 2 = 18maxequals10minequals5sumequals10*7 + 6*10 + 2*5 = 140avgequalssum/count = 140/18 = 7.77
At chart with hour resolution:
countequalscount minute*60 = 18*60 = 1080maxequals10minequals5sumequalssum minute*60 = 140*60 = 8400avgequalssum minute*60 / (count minute*60) = 140*60 / (18*60) = 7.77
Use chart resolution-independent conversion - set x/p as Transform ƒ in chart metric attributes where p is dynamic value for chart resolution in seconds.