title: How to use Micrometer registry.counter
body: <p>i have question, i want to send metrics counter to my datadog... i have try use</p>
  <pre><code>https://docs.spring.io/spring-metrics/docs/current/public/datadog
  </code></pre>
  <p>but when i see and try it use this @EnableDatadogMetrics</p>
  <p>i cannot run it.. and i see this is error.. <code>Caused by: java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.metrics.boot.RecommendedMeterBinders</code></p>
  <p>i think this code example already deprecated.</p>
  <p>my question is if i want to store metrics like this</p>
  <p>registry.counter(&quot;payment.status&quot;, &quot;http-status&quot;, &quot;200/400/500&quot;, &quot;payment-method&quot;, &quot;Paypal/IDB/others&quot; dst...);</p>
  <p>how to do that using micrometer or something ?</p>