Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

receiver: Expose stats for all tenants #5470

Merged
merged 4 commits into from Jul 12, 2022

Commits on Jul 12, 2022

  1. receiver: Expose stats for all tenants

    Thanos Receiver supports the Prometheus tsdb status API and can expose
    TSDB stats for a single tenant.
    
    This commit extends that functionality and allows users to request
    TSDB stats for all tenants using the all_tenants=true query parameter.
    
    Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
    fpetkovski committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    3fcb6df View commit details
    Browse the repository at this point in the history
  2. Add back chunk count

    Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
    fpetkovski committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    0fe8598 View commit details
    Browse the repository at this point in the history
  3. Simplify TSDBStats interface

    Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
    fpetkovski committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    b7d3792 View commit details
    Browse the repository at this point in the history
  4. Return empty result for no stats

    Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
    fpetkovski committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    6d6af65 View commit details
    Browse the repository at this point in the history