Class: Vitals::Reporters::DnsResolvingStatsdReporter
- Inherits:
-
StatsdReporter
- Object
- BaseReporter
- StatsdReporter
- Vitals::Reporters::DnsResolvingStatsdReporter
- Defined in:
- lib/vitals/reporters/dns_resolving_statsd_reporter.rb
Instance Attribute Summary
Attributes inherited from StatsdReporter
Instance Method Summary collapse
-
#initialize(host: 'localhost', port: 8125, format: nil) ⇒ DnsResolvingStatsdReporter
constructor
A new instance of DnsResolvingStatsdReporter.
Methods inherited from StatsdReporter
Methods inherited from BaseReporter
Constructor Details
#initialize(host: 'localhost', port: 8125, format: nil) ⇒ DnsResolvingStatsdReporter
Returns a new instance of DnsResolvingStatsdReporter.
6 7 8 9 10 11 |
# File 'lib/vitals/reporters/dns_resolving_statsd_reporter.rb', line 6 def initialize(host: 'localhost', port: 8125, format: nil) @host = host @port = port @format = format setup_statsd end |