Class: Sidekiq::Datadog::Monitor::MetricsSender
- Inherits:
-
Object
- Object
- Sidekiq::Datadog::Monitor::MetricsSender
- Defined in:
- lib/sidekiq/datadog/monitor/metrics_sender.rb
Instance Attribute Summary collapse
-
#statsd ⇒ Object
readonly
Returns the value of attribute statsd.
-
#tags_builder ⇒ Object
readonly
Returns the value of attribute tags_builder.
Instance Method Summary collapse
-
#initialize(statsd, tags_builder) ⇒ MetricsSender
constructor
A new instance of MetricsSender.
- #send_metrics ⇒ Object
Constructor Details
#initialize(statsd, tags_builder) ⇒ MetricsSender
Returns a new instance of MetricsSender.
8 9 10 11 |
# File 'lib/sidekiq/datadog/monitor/metrics_sender.rb', line 8 def initialize(statsd, ) @statsd = statsd @tags_builder = end |
Instance Attribute Details
#statsd ⇒ Object (readonly)
Returns the value of attribute statsd.
7 8 9 |
# File 'lib/sidekiq/datadog/monitor/metrics_sender.rb', line 7 def statsd @statsd end |
#tags_builder ⇒ Object (readonly)
Returns the value of attribute tags_builder.
7 8 9 |
# File 'lib/sidekiq/datadog/monitor/metrics_sender.rb', line 7 def @tags_builder end |