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, ActionController::SendFile, ActionDispatch::ProcessMiddleware, ActiveJob::Perform, ActiveModelSerializers::Render, ActiveRecord::Instantiation, ActiveStorage, ActiveSupport::Cache, Coach::HandlerFinish, Coach::MiddlewareFinish, CouchPotato::Query, Elasticsearch::Request, Faraday::Request, Grape::Endpoint, Grape::FormatResponse, GraphQL::Base, Graphiti::Render, Graphiti::Resolve, 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.
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
#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.
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 |