Class: Skylight::Core::Normalizers::Normalizer Private
- Inherits:
-
Object
- Object
- Skylight::Core::Normalizers::Normalizer
- 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.
Direct Known Subclasses
ActionController::ProcessAction, ActiveJob::Perform, ActiveModelSerializers::Render, ActiveRecord::Instantiation, ActiveSupport::Cache, Coach::HandlerFinish, Coach::MiddlewareFinish, Elasticsearch::Request, Faraday::Request, Grape::Endpoint, Grape::FormatResponse, Moped::Query, RenderNormalizer, SQL
Instance Attribute Summary collapse
- #config ⇒ Object readonly private
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(config) ⇒ Normalizer
constructor
private
A new instance of Normalizer.
- #normalize(trace, name, payload) ⇒ Object private
- #normalize_after(trace, span, name, payload) ⇒ Object private
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.
59 60 61 62 |
# File 'lib/skylight/core/normalizers.rb', line 59 def initialize(config) @config = config setup if respond_to?(:setup) end |
Instance Attribute Details
#config ⇒ Object (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.
57 58 59 |
# File 'lib/skylight/core/normalizers.rb', line 57 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.
53 54 55 |
# File 'lib/skylight/core/normalizers.rb', line 53 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.
64 65 66 |
# File 'lib/skylight/core/normalizers.rb', line 64 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.
68 69 |
# File 'lib/skylight/core/normalizers.rb', line 68 def normalize_after(trace, span, name, payload) end |