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

Disabled DogStatsD looks like an error. #3491

Open
cory-stripe opened this issue Aug 23, 2017 · 0 comments
Open

Disabled DogStatsD looks like an error. #3491

cory-stripe opened this issue Aug 23, 2017 · 0 comments
Assignees

Comments

@cory-stripe
Copy link
Contributor

Summary

When using the config option use_dogstatsd: false there are various aspects of the agent's status that make it look like something is broken. Some examples:

Status

When running status an error is shown:

====================
Dogstatsd (v 5.14.1)
====================

  Dogstatsd is not running.
  You can get more details in the logs:
    <stderr>, /var/log/datadog/dogstatsd.log

It seems like this could be avoided since the config knows that DogStatsD is intentionally disabled.

Supervisor

I can't repro atm, but I've seen the following error when starting / restarting / etc the agent:

datadog-agent:dogstatsd FATAL Exited too quickly (process log may have details)

This is likely because dogstatsd is bailing and supervisor isn't aware it shouldn't start. Again, predicating the need to start on the config option would be helpful!

Motivation

We don't use DogStatsD internally. We realize this is likely not the common case. Unfortunately if our teammates try and manipulate the agent these errors end up being a false positive, as they aren't errors at all for us!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants