Class: Skylight::Core::Normalizers::Normalizer Private

Inherits:
Object
  • Object
show all
Defined in:
lib/skylight/core/normalizers.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ Normalizer

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Normalizer.


58
59
60
61
# File 'lib/skylight/core/normalizers.rb', line 58

def initialize(config)
  @config = config
  setup if respond_to?(:setup)
end

Instance Attribute Details

#configObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


56
57
58
# File 'lib/skylight/core/normalizers.rb', line 56

def config
  @config
end

Class Method Details

.register(name, opts = {}) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


52
53
54
# File 'lib/skylight/core/normalizers.rb', line 52

def self.register(name, opts = {})
  Normalizers.register(name, self, opts)
end

Instance Method Details

#normalize(_trace, _name, _payload) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


63
64
65
# File 'lib/skylight/core/normalizers.rb', line 63

def normalize(_trace, _name, _payload)
  :skip
end

#normalize_after(trace, span, name, payload) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


67
# File 'lib/skylight/core/normalizers.rb', line 67

def normalize_after(trace, span, name, payload); end