-
Notifications
You must be signed in to change notification settings - Fork 97
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
How to add a datadog.yaml configuration file? #184
Comments
Hello @jeffblake! For Heroku, we need to make some modifications to the datadog.yaml file in order to make it work correctly in this platform. My suggestion for what you want to do, would be to modify (not overwrite) the datadog.yaml file in your pre-run script (https://docs.datadoghq.com/agent/basic_agent_usage/heroku/#prerun-script). You could add there a line that modifies Let me know if that works for you, and we can add documentation around it. |
Thanks @arapulido , the block of configuration that I need to add (shown above) is rather unwieldy to add via |
+1 for this feature. Been trying to add a list of blacklist items for process_config and using sed is a pain. |
Yes this feature would be nice! For what it's worth, I finally figured out how to do this myself using Sidekiq integrationAdd this to the
May be worth adding it to the docs somewhere... I'll speak for other Heroku users and say we don't like to figure things out ourselves :) @arapulido FYI the datadog docs here https://app.datadoghq.com/account/settings#integrations/sidekiq |
Thanks for the feature request! I agree this could be done better, and we will work on this |
+1 my setup is picking up log/lograge.log but I'm trying to figure out how to get Datadog to pick up an additional log, i.e. log/app.log. How do I do that? |
Ah, I figured this out once upon a time. #174 In my Rails app, we have a file datadog/conf.d/ruby.yaml logs:
- type: file
path: /app/log/lograge.log
source: ruby
sourcecategory: sourcecode Is this different than the purpose of the datadog.yaml file? |
|
Basic question, how do I add an agent configuration file?
I'm trying to integrate Sidekiq and need to add:
to the agent
datadog.yaml
configuration file. Looking at the run script, it doesn't appear to be possible?The text was updated successfully, but these errors were encountered: