Metricbeat have default parameter

Using this seems to work

            - condition.and:
              - equals:
                  kubernetes.annotations.prometheus.io/scrape: "true"
              - not.has_fields:
                  ["kubernetes.annotations.prometheus.io/scrape_interval"]
1 Like