Module: Skylight::Core::Formatters::HTTP
- Defined in:
- lib/skylight/core/formatters/http.rb
Class Method Summary collapse
-
.build_opts(method, _scheme, host, _port, _path, _query) ⇒ Hash
Build instrumentation options for HTTP queries.
Class Method Details
.build_opts(method, _scheme, host, _port, _path, _query) ⇒ Hash
Build instrumentation options for HTTP queries
14 15 16 17 18 |
# File 'lib/skylight/core/formatters/http.rb', line 14 def self.build_opts(method, _scheme, host, _port, _path, _query) { category: "api.http.#{method.downcase}", title: "#{method.upcase} #{host}", meta: { host: host } } end |