lib/semantic_logger/metric/statsd.rb in semantic_logger-4.15.0 vs lib/semantic_logger/metric/statsd.rb in semantic_logger-4.16.0
- old
+ new
@@ -26,9 +26,10 @@
# metric: :statsd,
# url: 'localhost:8125'
# )
def initialize(url: "udp://localhost:8125")
@url = url
+ super()
end
def reopen
uri = URI.parse(@url)
raise('Statsd only supports udp. Example: "udp://localhost:8125"') if uri.scheme != "udp"