sdinteractive / SomethingDigital_InfluxDb

Base module for sending data for InfluxDB.
3 stars 2 forks source link

Add support for writing to specific retention policies #13

Open mpchadwick opened 8 years ago

mpchadwick commented 8 years ago

We may want to vary the retention policy by measurement rather than just always writing to the DEFAULT RP. This could potentially be handled in the config. E.g.

<sd_influxdb>
    <groups>
        <one_minute>
            <inventory>
                <model>sd_influxdb/measurement_inventory</model>
                <retention_policy>ninety_days</retention_policy>
            </inventory>
        </one_minute>
    </groups>
</sd_influxdb>