DataDog / helm-charts

Helm charts for Datadog products
Apache License 2.0
343 stars 1.01k forks source link

Relationship between `containerIncludeMetrics` and `prometheusScrape` #1371

Open clarkmcc opened 5 months ago

clarkmcc commented 5 months ago

I've wasted a few hours on an interesting behavior between two related but distinct settings in the values.yaml file of the datadog agent and I'd like to get clarification on what the relationship is between all these settings from a metrics perspective only. I've spent a ton of time reviewing the docs, and the Helm chart readme, and I'm still not clear.

datadog:
  containerInclude: 'name:^app'
  containerIncludeMetrics: 'name:app_1'
  prometheusScrape:
    enabled: true
    additionalConfigs:
      - autodiscovery:
          kubernetes_container_names:
          - app_1