question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

It is not possible to set a host-tag for Datadog

See original GitHub issue

Setting my Spring Boot 1.x application (actually Grails 3.x) properties of datadog metrics to:

management:
    metrics:
        export:
            datadog:
                enabled: true
                api-key: ***
                host-tag: myapp-dev
                steps: 1m

causes host not to be sent into datadog. I even found a problematic code which doesn’t make sense at all to me.

Am I missing something or is there a bug?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jkschneidercommented, Nov 5, 2018

@randysecrist Fair point, and honestly one that many have struggled with. We should do better.

1reaction
randysecristcommented, Nov 4, 2018

@jkschneider It took me forever to figure out that the host-tag was referencing the common DD tag used to send the hostname. I kept thinking that host-tag meant that is the place in configuration to set the hostname & didn’t realize that I had to also set the common tag. It may be just me being slow; but it could also be that the initial docs a developer reads don’t clarify that. Might be a hidden documentation issue around this…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Assigning Tags - Datadog Docs
Learn how to assign tags in Datadog. ... the Agent where possible. Note: If you choose to use the Agent only, some integration...
Read more >
Set Primary Tags to Scope - Datadog Docs
If you added a host tag other than env:<ENVIRONMENT> to your traces, it can be set as a primary tag along with the...
Read more >
Tags - Datadog Docs
The tag endpoint allows you to assign tags to hosts, for example: role:database . Those tags are applied to all metrics sent by...
Read more >
Best Practices for Tagging Your Infrastructure and Applications
When you tag your systems, you create meaningful connections to your application data so you can pivot between all datapoints in Datadog. Tags ......
Read more >
Custom Metrics - Datadog Docs
Unicode is not supported. Metric names must not exceed 200 characters. Fewer than 100 is preferred from a UI perspective. Note: Metric names...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found