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

Fix datadog unix socket path #370

Merged
merged 2 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/racecar/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def configure_datadog
Datadog.configure do |datadog|
datadog.host = config.datadog_host unless config.datadog_host.nil?
datadog.port = config.datadog_port unless config.datadog_port.nil?
datadog.socket_path = config.socket_path unless config.socket_path.nil?
datadog.socket_path = config.datadog_socket_path unless config.datadog_socket_path.nil?
datadog.namespace = config.datadog_namespace unless config.datadog_namespace.nil?
datadog.tags = config.datadog_tags unless config.datadog_tags.nil?
end
Expand Down
2 changes: 1 addition & 1 deletion lib/racecar/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class Config < KingKonf::Config
integer :datadog_port

desc "The unix domain socket of the Datadog agent (when set takes precedence over host/port)"
integer :datadog_socket_path
string :datadog_socket_path

desc "The namespace to use for Datadog metrics"
string :datadog_namespace
Expand Down