4 ms·
Is it possible to use M3 without a retention downsampling policy? For example, to retain timeseries metrics at the 1 second resolution indefinitely for one or t
by pininja 8y ago
Is it possible to use M3 without a retention downsampling policy? For example, to retain timeseries metrics at the 1 second resolution indefinitely for one or two days worth of data.
Edit: I was interested in M3 for this instead of just a time series DB because I’d also like to aggregate the metrics at lower resolutions and higher resolutions.
- roskilli 8y agoHey, it is yes - by default all metrics are unaggregated, it’s only until you set aggregation and mapping rules that downsampling occurs. It’s mainly just disk space that is the primary bottleneck.
- pininja 8y agoOh ok, is it possible to also maintain an aggregated “view” at the same time as an event view?
- roskilli 8y agoYup indeed, we have to make this more friendly because you have to curl an HTTP/JSON endpoint right now to set the configuration (we’ll release an embedded UI for policy rules editing soon, called m3ctl). Basically though when you set retention mapping rules, metrics are downsampled to whatever resolution you choose (10s, 1min, 10min, etc) and then stored for whatever time the retention the namespace you have setup for that policy. And with respect to my comment about disk space being the bottleneck - unless you have a huge dataset you actually might not be bottlenecked by disk, it’s just we’ve encountered that at times with our really high cardinality data sets.