title: Spring micrometer actuator StatsD tags definition
body: <p>I'm trying to configure spring actuator metrics along with micrometer to be sent to Datadog stastd agent.</p>
  <p>Still, I'd like to get them all sent with a tag, so that I can filter in my Datadog dashboard just my service metrics, and not considering other services metrics.</p>
  <p>I've added:</p>
  <pre><code>management:
    metrics:
      tags:
        application: my_app
  </code></pre>
  <p>to my service metrics configuration, but I can't see this tag value in Datadog dashboard. I'm not seeing anything weird in app logs nor actuator logfile neither.</p>
  <p>I have nothing else regarding metrics in my service, as I don't want to implement custom metrics, just want to use the one provided by actuator.</p>
  <p>This is how the whole metrics configuration looks like:</p>
  <pre><code>management:
    metrics:
      export:
        statsd:
          host: ${STATSD_AGENT_HOST}
          port: ${STATSD_AGENT_HOST_PORT}
          flavor: datadog
      tags:
        application: my_app
    endpoints:
      web:
        exposure:
          include: &quot;*&quot;
    endpoint:
      health:
        show-details: ALWAYS
  </code></pre>
  <p>Versions:</p>
  <p>micrometer version: 1.6.4</p>
  <p>actuator version: 2.4.3</p>
  <p>spring version: 2.3.8</p>
  <p>Any clue about what I could be missing to get the tag reaching Datadog?</p>
  <p>Thanks!</p>