# Datadog integration instance config components\_discovery has no effect

**URL:** <https://community.sonarsource.com/t/datadog-integration-instance-config-components-discovery-has-no-effect/78998>\
**Category:** SonarQube Server / Community Build\
**Tags:** helm\
**Created:** [December 15, 2022, 6:32pm UTC](https://community.sonarsource.com/t/datadog-integration-instance-config-components-discovery-has-no-effect/78998 "2022-12-15T18:32:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![timofeee](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/timofeee/32/39491_2.png) [@timofeee](https://community.sonarsource.com/u/timofeee)\
**Post date:** [December 15, 2022, 6:32pm UTC](https://community.sonarsource.com/t/datadog-integration-instance-config-components-discovery-has-no-effect/78998/1 "2022-12-15T18:32:17Z")

</div>

Must-share information (formatted with [Markdown](https://commonmark.org/help/)):

- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)  
SonarQube 9.7.1 deployed via helm charts

- what are you trying to achieve  
Set up Datadog integration to report metrics for all projects

- what have you tried so far to achieve this

1. Tried to use the `component_discovery` wildcard to auto discovery projects on our sonarqube instance. I’ve tried setting the wildcard to be “._" or "a_” and running sonar-scanner on a project that adheres to that wildcard. Metrics does not get reported.
2. Authentication is not an issue since I’ve tried listing individual projects under `components` and metrics were properly reported to Datadog. But I do not want to update this list manually to track new projects.

Reference to the config in our helm chart

```auto
            {
              "is_jmx": false,
              "web_endpoint": "<link to our instance>",
              "auth_type": "basic",
              "username": "<username>",
              "password": "<password>",
              "default_tag": "project_key",
              "components": {},
              "components_discovery": {
                "limit": 100,
                "include": {
                  "t*": {
                    "tag": "project_key"
                  }
                }
              }
            }

```

---

<div class="post-metadata">

**Author:** ![Colin](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/colin/32/55255_2.png) [@Colin](https://community.sonarsource.com/u/Colin)\
**Post date:** [December 19, 2022, 9:56am UTC](https://community.sonarsource.com/t/datadog-integration-instance-config-components-discovery-has-no-effect/78998/2 "2022-12-19T09:56:39Z")

</div>

Hey there.

It looks like you’re trying to use [Datadog’s integration with SonarQube](https://docs.datadoghq.com/integrations/sonarqube/?tab=host) – and since it is maintained by Datadog, your best bet is probably to reach out to them.

> ## [Troubleshooting](https://docs.datadoghq.com/integrations/sonarqube/?tab=host#troubleshooting)
> 
> Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
