You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
247 B
9 lines
247 B
6 months ago
|
require 'statsd'
|
||
|
|
||
|
begin
|
||
|
Statsd.host = Cartodb.get_config(:graphite, 'host')
|
||
|
Statsd.port = Cartodb.get_config(:graphite, 'port')
|
||
|
rescue StandardError => e
|
||
|
Rails.logger.info "Ignoring statsd, because there were a error loading the config"
|
||
|
end
|