Sha256: bd11908d494809ab46310dd51724fd1ed39bfabbb5cf3f723ddc71721e0991f9
Contents?: true
Size: 540 Bytes
Versions: 84
Compression:
Stored size: 540 Bytes
Contents
# frozen_string_literal: true module Appsignal module Integrations # @api private module ExconIntegration def self.instrument(name, data, &block) namespace, *event = name.split(".") rails_name = [event, namespace].flatten.join(".") title = if rails_name == "response.excon" data[:host] else "#{data[:method].to_s.upcase} #{data[:scheme]}://#{data[:host]}" end Appsignal.instrument(rails_name, title, &block) end end end end
Version data entries
84 entries across 84 versions & 1 rubygems