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

policyfiltermetrics: Refactor and rename metrics #2784

Merged
merged 2 commits into from
Aug 13, 2024

Commits on Aug 9, 2024

  1. policyfiltermetrics: Use pkg/metrics helpers to define metrics

    This lets us constrain label values (preventing growing cardinality) and drop
    the explicit initialization function.
    
    Signed-off-by: Anna Kapuscinska <[email protected]>
    lambdanis committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    6feacec View commit details
    Browse the repository at this point in the history
  2. policyfiltermetrics: Rename metrics

    Rename `tetragon_policyfilter_metrics_total` metric to
    `tetragon_policyfilter_operations_total`, and its `op` label to `operation` (to
    prevent confusion with ops.OpCode).
    
    Signed-off-by: Anna Kapuscinska <[email protected]>
    lambdanis committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    9a0024a View commit details
    Browse the repository at this point in the history