Any idea how to drop certain metrics? This is my `...
# support
a
Any idea how to drop certain metrics? This is my
k8s-infra
values file:
Copy code
presets:
  otlpExporter:
    enabled: true
  loggingExporter:
    enabled: false
  hostMetrics:
    enabled: false
  resourceDetection:
    detectors:
      - eks
  clusterMetrics:
    enabled: false
  kubeletMetrics:
    enabled: false
    collectionInterval: 60s  # Collect metrics every minute
    metricGroups:
      - pod

otelAgent:
  config:
    processors:
      filter/drop_metrics_by_name_regex:
        metrics:
          exclude:
            match_type: regexp
            metric_names:
              - system.*
              - k8s_.*
    service:
      pipelines:
        metrics:
          processors:
            - filter/drop_metrics_by_name_regex
            - batch


otelDeployment:
  config:
    processors:
      filter/drop_metrics_by_name_regex:
        metrics:
          exclude:
            match_type: regexp
            metric_names:
              - system.*
              - k8s_.*
    service:
      pipelines:
        metrics/internal:
          processors:
            - filter/drop_metrics_by_name_regex
            - batch
        metrics/scraper:
          processors:
            - filter/drop_metrics_by_name_regex
            - batch
I tried following the docs here and no variation appears to be working 🤷 am i missing something?
n
@Prashant Shahi ^
m
@Amit Lin Did you get this working? I'm having the same issue.