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

A runtime input with namespace selector will filter out namespace-less metrics #1549

Closed
a-thaler opened this issue Oct 22, 2024 · 0 comments
Closed
Assignees
Labels
area/metrics MetricPipeline kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@a-thaler
Copy link
Collaborator

a-thaler commented Oct 22, 2024

Description

A MetricPipeline with input:

    runtime:
      enabled: true
      namespaces:
        include:
        - cap
      resources:
        container:
          enabled: true
        node:
          enabled: true
        pod:
          enabled: true
        volume:
          enabled: true

so having node metrics enabled and a namespace selector defined, will filter out all node metrics as they do not belong to any namespace.

Expected result
The namespace selector will not be effective for namespace-less metrics as I explicitly enabled the selector

Actual result
Namespace-less metrics are getting filtered out

Steps to reproduce

Troubleshooting

Release Notes


@a-thaler a-thaler added kind/bug Categorizes issue or PR as related to a bug. area/metrics MetricPipeline labels Oct 22, 2024
@k15r k15r self-assigned this Oct 24, 2024
@k15r k15r closed this as completed Oct 29, 2024
@a-thaler a-thaler added this to the 1.27.0 milestone Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/metrics MetricPipeline kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants