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

Refactor monitoring rules #1757

Merged
merged 5 commits into from
Jan 23, 2024

Commits on Jan 15, 2024

  1. Refactor monitoring rules

    Update PrometheusRule generation approach
    based on the changes proposed in
    kubevirt/community#219
    
    Signed-off-by: João Vilaça <jvilaca@redhat.com>
    machadovilaca committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    28604f4 View commit details
    Browse the repository at this point in the history
  2. Update metrics doc generator

    Simplify the collection of metrics
    by using the utility methods added
    in the previous commit
    
    Signed-off-by: João Vilaça <jvilaca@redhat.com>
    machadovilaca committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    caee11b View commit details
    Browse the repository at this point in the history
  3. Update linter metrics collector

    Add recording rules to the collector
    that gathers and list all metrics
    for the linter tool
    
    Signed-off-by: João Vilaça <jvilaca@redhat.com>
    machadovilaca committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    27519e0 View commit details
    Browse the repository at this point in the history
  4. Update prom-rules-verify

    Convert verify-rules to Golang
    and take advantage of metrics and recording
    rules listing utilities added in the previous
    commits
    
    Signed-off-by: João Vilaça <jvilaca@redhat.com>
    machadovilaca committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    faffe65 View commit details
    Browse the repository at this point in the history
  5. Update go.mod

    github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring
    is no longer a indirect dependency, update go.mod
    accordingly
    
    Signed-off-by: João Vilaça <jvilaca@redhat.com>
    machadovilaca committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    e9e195b View commit details
    Browse the repository at this point in the history