diff --git a/lib/racecar/cli.rb b/lib/racecar/cli.rb index f2635dd..046d7cd 100644 --- a/lib/racecar/cli.rb +++ b/lib/racecar/cli.rb @@ -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 diff --git a/lib/racecar/config.rb b/lib/racecar/config.rb index 069e41e..93a0616 100644 --- a/lib/racecar/config.rb +++ b/lib/racecar/config.rb @@ -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