Just wanted to send an update that setting "Custom retention periods per metric." is now possible on the Promscale/TimescaleDB side. Please see the docs at https://github.com/timescale/promscale/blob/master/docs/sql_schema.md#data-retention
-- Mat Arye, Promscale <https://github.com/timescale/promscale> Team Lead On Friday, January 25, 2019 at 3:21:18 AM UTC-5 [email protected] wrote: > We have an issue to track this feature request: > https://github.com/prometheus/prometheus/issues/1381 > > On Thu, Jan 24, 2019 at 2:48 PM Ruairi <[email protected]> wrote: > >> Hi All, >> >> Currently I am working with a Prometheus -> TimescaleDB stack for long >> term storage. We make use of a few custom down-time metrics for SLA >> reporting. >> For long term storage, I am not interested in keeping all metrics >> collected (eg; node_exporter), just the custom metrics. >> I do not see a way to retain on a per-metric basis but thought I would >> confirm. At the moment we just have an SQL job that removes everything from >> the database aside from the custom metrics, but this doesn't seem optimal. >> >> Is there a way to perhaps configure either of the following? >> >> 1) Only push certain metrics to TimescaleDB, so only push the custom >> metrics to the remote end-point. >> 2) Custom retention periods per metric, so discard select metrics of no >> interest after X time. >> >> >> Cheers, >> Ruairi >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Prometheus Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/prometheus-users/eacc91e9-7bdf-4d68-b3cd-c993191f0e50%40googlegroups.com >> >> <https://groups.google.com/d/msgid/prometheus-users/eacc91e9-7bdf-4d68-b3cd-c993191f0e50%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/735d0419-0242-418c-ad78-226936c02760n%40googlegroups.com.

