Class: SolidApm::SpanSubscriber::NetHttp
- Inherits:
-
Base
- Object
- Base
- SolidApm::SpanSubscriber::NetHttp
show all
- Defined in:
- app/models/solid_apm/span_subscriber/net_http.rb
Defined Under Namespace
Modules: NetHttpInstrumentationPrepend
Constant Summary
collapse
- PATTERN =
'request.net_http'
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Base
inherited, subscribe!
Class Method Details
.subscribe ⇒ Object
13
14
15
16
17
18
|
# File 'app/models/solid_apm/span_subscriber/net_http.rb', line 13
def self.subscribe
if defined?(::Net::HTTP)
::Net::HTTP.prepend(NetHttpInstrumentationPrepend)
super
end
end
|
Instance Method Details
#summary(payload) ⇒ Object
9
10
11
|
# File 'app/models/solid_apm/span_subscriber/net_http.rb', line 9
def summary(payload)
payload
end
|