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

Monitoring Dashboards: Use /query_range to fetch label values #4099

Commits on Jan 29, 2020

  1. Monitoring Dashboards: Use /query_range to fetch label values

    Use `/query_range` instead of `/query` to fetch the available label
    values so that all values during the time range are returned, not just
    the values available right now.
    
    Using `/query_range` is not perfect because it is not 100% guaranteed to
    return all values. Specifically, short lived series could be missed by
    `/query_range`'s data sampling. Although this should be very unlikely in
    practice.
    
    Using `/series` would be guaranteed to return all series, but it is not
    yet available through our API proxy. Using `/series` should also be more
    efficient.
    
    We also can't use `/label/<LABEL>/values` because it doesn't take a
    label selector.
    kyoto committed Jan 29, 2020
    Copy the full SHA
    1ed8e5b View commit details
    Browse the repository at this point in the history