-
Notifications
You must be signed in to change notification settings - Fork 55
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
[Agent 6] Put check config in <check>.d directory #39
Conversation
f48a9fb
to
e4221f3
Compare
e4221f3
to
030fe9d
Compare
Hello @KSerrania , Also, if checks are already present in {{ datadog_install_settings.confd_path }}/ instead of {{ datadog_install_settings.confd_path }}/{{ check_name }}.d/ (because we are using version 2.0 of this formula), when we will migrate to v3.0 or v2.1.1, the checks on old locations will be moved / removed, or they will be duplicated ? |
Hi @hegyre, As you guessed, for now when going from 2.1 to 3.0, the checks will be duplicated. This is a bug, as the Agent will pick up both config files, resulting in multiple instances of the check to be run. I'll do a follow-up PR for this and a bugfix release for 3.x. I'll then create a 2.2 release with both this PR + the fix for the aforementioned issue. |
Hello @KSerrania, Thanks in advance. |
Hey @KSerrania , |
Here's the release PR: #55. I'll do some sanity checks on the |
What does this PR do?
If Agent 6 is installed, puts the check config files in their respective
<check>.d
folder.Motivation
Check config files were put in the
conf.d
folder directly, which is the standard for Agent 5, but not Agent 6.