Class: ApplicationInsights::Channel::SynchronousSender
- Inherits:
-
SenderBase
- Object
- SenderBase
- ApplicationInsights::Channel::SynchronousSender
- Defined in:
- lib/application_insights/channel/synchronous_sender.rb
Overview
A synchronous sender that works in conjunction with the SynchronousQueue. The queue will call ApplicationInsights::Channel::SenderBase#send on the current instance with the data to send.
Constant Summary collapse
- SERVICE_ENDPOINT_URI =
'https://dc.services.visualstudio.com/v2/track'
Instance Attribute Summary
Attributes inherited from SenderBase
#logger, #queue, #send_buffer_size, #service_endpoint_uri
Instance Method Summary collapse
-
#initialize(service_endpoint_uri = SERVICE_ENDPOINT_URI) ⇒ SynchronousSender
constructor
Initializes a new instance of the class.
Methods inherited from SenderBase
Constructor Details
#initialize(service_endpoint_uri = SERVICE_ENDPOINT_URI) ⇒ SynchronousSender
Initializes a new instance of the class. telemetry data to.
12 13 14 |
# File 'lib/application_insights/channel/synchronous_sender.rb', line 12 def initialize(service_endpoint_uri = SERVICE_ENDPOINT_URI) super service_endpoint_uri end |