Skip to content

Use storage.tsdb.retention.time instead of storage.tsdb.retention(DEPRECATED) #2058

@luyomo

Description

@luyomo

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    bin/prometheus/prometheus -h
    usage: prometheus []

The Prometheus monitoring server
... ...
--storage.tsdb.retention=STORAGE.TSDB.RETENTION
[DEPRECATED] How long to retain samples in storage. This flag has been deprecated, use "storage.tsdb.retention.time" instead.
--storage.tsdb.retention.time=STORAGE.TSDB.RETENTION.TIME
How long to retain samples in storage. When this flag is set it overrides "storage.tsdb.retention". If neither this flag nor
"storage.tsdb.retention" nor "storage.tsdb.retention.size" is set, the retention time defaults to 15d. Units Supported: y, w, d, h, m, s, ms.

  1. What did you expect to see?
    Used the deprecated configuration.

  2. What did you see instead?
    Used the deprecated configuration.

  3. What version of TiUP are you using (tiup --version)?
    tiup --version
    1.11.0 tiup
    Go Version: go1.19.1
    Git Ref: v1.11.0
    GitHash: 1a4714d

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugCategorizes issue as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions