Skip to content

Commit

Permalink
Merge pull request #370 from ewhorton/fix-datadog-unix-socket-path
Browse files Browse the repository at this point in the history
Fix datadog unix socket path
  • Loading branch information
deepredsky committed Apr 8, 2024
2 parents 37eccd7 + ef6cb37 commit 379e45e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/racecar/cli.rb
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
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

0 comments on commit 379e45e

Please sign in to comment.