equal
deleted
inserted
replaced
83 -- Histograms |
83 -- Histograms |
84 local histogram_metric_mt = {} |
84 local histogram_metric_mt = {} |
85 histogram_metric_mt.__index = histogram_metric_mt |
85 histogram_metric_mt.__index = histogram_metric_mt |
86 |
86 |
87 local function new_histogram_metric(buckets, full_name, impl) |
87 local function new_histogram_metric(buckets, full_name, impl) |
88 -- NOTE: even though the more or less proprietrary dogstatsd has its own |
88 -- NOTE: even though the more or less proprietary dogstatsd has Its own |
89 -- histogram implementation, we push the individual buckets in this statsd |
89 -- histogram implementation, we push the individual buckets in this statsd |
90 -- backend for both consistency and compatibility across statsd |
90 -- backend for both consistency and compatibility across statsd |
91 -- implementations. |
91 -- implementations. |
92 local metric = { |
92 local metric = { |
93 _sum_name = full_name..".sum", |
93 _sum_name = full_name..".sum", |