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

Can't set listeners or config providers #611

Open
devinmatte opened this issue Feb 17, 2020 · 1 comment
Open

Can't set listeners or config providers #611

devinmatte opened this issue Feb 17, 2020 · 1 comment

Comments

@devinmatte
Copy link
Member

When following https://docs.datadoghq.com/agent/docker/log/?tab=hostinstallation for collecting logs from docker, it asks to use listeners and config_providers, however it doesn't appear those are available through the puppet module

@albertvaka
Copy link
Contributor

Hi @devinmatte!

For any options that don't have explicit parameters, you can use the agent_extra_options argument. This argument takes a dictionary that gets merged with the rest of the settings, so you can pass any setting you want to end up in datadog.yaml:

class { "datadog_agent":
    < your other parameters >,
    agent_extra_options => {
        'listeners' => [
            { 'name' => 'docker' }
        ],
        'config_providers' => [
            { 'name' => 'docker', 'polling' => 'true' }
        ]
    }
}

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

2 participants