Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datadog telemetry #1815

Closed
jippi opened this issue Oct 15, 2016 · 5 comments
Closed

datadog telemetry #1815

jippi opened this issue Oct 15, 2016 · 5 comments

Comments

@jippi
Copy link
Contributor

jippi commented Oct 15, 2016

Hi!

It would be nice if nomad could emit telemetry in datadog statsd format ( https://docs.datadoghq.com/guides/dogstatsd/ )

example: users.online:1|c|@0.5|#country:china

@jippi
Copy link
Contributor Author

jippi commented Oct 15, 2016

Seems like @armon already got DataDog support in the metrics library?

https://github.com/armon/go-metrics/blob/master/datadog/dogstatsd.go :)

@tanveergill
Copy link

tanveergill commented May 11, 2017

Hi @jippi,

I tried the datadog telemetry config: https://www.nomadproject.io/docs/agent/configuration/telemetry.html#datadog

With this config I expected the host info to be encoded in dogstatsd tags format for these metrics: https://www.nomadproject.io/docs/agent/telemetry.html#host-metrics. But the metrics seem exactly the same as when using the statsd config.

Can you please help me understand if I am doing something wrong?

This is the config I used for testing:

{ "server": {
        "enabled": true,
        "bootstrap_expect": 3
    },
    "telemetry": {
        "statsd_address": "127.0.0.1:8125"
    },
    "datacenter": "netsil-data-center",
    "region": "us-west",
    "data_dir": "/nomad/data/",
    "bind_addr": "0.0.0.0",
    "advertise": {
        "http": "127.0.0.1:4646",
        "rpc": "127.0.0.1:4647",
        "serf": "127.0.0.1:4648"
    },
    "enable_debug": true }

nomad version: 0.5.0

Best,
Tanveer

@jippi
Copy link
Contributor Author

jippi commented May 11, 2017

@tanveergill i moved on and did this project instead; https://github.com/seatgeek/statsd-rewrite-proxy

it will take the normal consul/nomad statsd, and rewrite on the fly to statsd metrics as i would expect.. proper tagged metrics seem to be a bit out timeline wise still for hashi projects :)

@tanveergill
Copy link

thanks @jippi!

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants