--storage.tsdb.retention.time prometheus syntax

32 views
Skip to first unread message

Rodolphe Ghio

unread,
Dec 11, 2020, 10:26:06 AM12/11/20
to Prometheus Users

Hi everyone,

I was looking for an explanation about the syntax of the flag but I didn't find anything, I would have liked to know the syntax to put a retention in months and minutes because I know that for the years it's "y" and for the days it's "d". Would anyone know the possible syntax? or it's just not possible ?

Kind regards,
Ghio Rodolphe

Brett Larson

unread,
Dec 18, 2020, 6:29:13 PM12/18/20
to Prometheus Users
From a comment in the code it looks like..
Units Supported: y, w, d, h, m, s, ms.

Reply all
Reply to author
Forward
0 new messages