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

Implement offset modifier for range vector aggregation in LogQL #3455

Merged
merged 6 commits into from
Mar 22, 2021

Commits on Mar 9, 2021

  1. Implement offset modifier for range vector aggregation in LogQL

    implementation for grafana#2785, the offset modifier allows changing the time offset for range vectors in a query to support e.g. selective timeshift in Grafana
    
    Signed-off-by: garrettlish <[email protected]>
    garrettlish authored and garrettlish committed Mar 9, 2021
    Configuration menu
    Copy the full SHA
    57dab90 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2021

  1. add docs for offset modifier

    garrettlish committed Mar 10, 2021
    Configuration menu
    Copy the full SHA
    82a7e84 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2021

  1. refine offset expr

    garrettlish committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    05e14f9 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2021

  1. add offset unit test in engine.go

    garrettlish committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    d6e39f9 View commit details
    Browse the repository at this point in the history
  2. remove duplicated offset shift

    garrettlish committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    eb53fde View commit details
    Browse the repository at this point in the history
  3. add offset test in range vector test

    garrettlish committed Mar 22, 2021
    Configuration menu
    Copy the full SHA
    1b8f454 View commit details
    Browse the repository at this point in the history