Class: StackifyRubyAPM::Context Private
- Inherits:
-
Object
- Object
- StackifyRubyAPM::Context
- Includes:
- NaivelyHashable
- Defined in:
- lib/stackify_apm/context.rb,
lib/stackify_apm/context/request.rb,
lib/stackify_apm/context/response.rb,
lib/stackify_apm/context/request/url.rb,
lib/stackify_apm/context/request/socket.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.
Defined Under Namespace
Instance Attribute Summary collapse
- #aws ⇒ Object private
- #custom ⇒ Object readonly private
- #request ⇒ Object private
- #response ⇒ Object private
- #tags ⇒ Object readonly private
Instance Method Summary collapse
-
#add_aws_context(ctx) ⇒ Object
private
add aws context to context instance.
-
#initialize ⇒ Context
constructor
private
A new instance of Context.
Methods included from NaivelyHashable
Constructor Details
#initialize ⇒ Context
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 Context.
18 19 20 21 |
# File 'lib/stackify_apm/context.rb', line 18 def initialize @custom = {} @tags = {} end |
Instance Attribute Details
#aws ⇒ 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.
15 16 17 |
# File 'lib/stackify_apm/context.rb', line 15 def aws @aws end |
#custom ⇒ 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.
16 17 18 |
# File 'lib/stackify_apm/context.rb', line 16 def custom @custom end |
#request ⇒ 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.
15 16 17 |
# File 'lib/stackify_apm/context.rb', line 15 def request @request end |
#response ⇒ 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.
15 16 17 |
# File 'lib/stackify_apm/context.rb', line 15 def response @response end |
#tags ⇒ 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.
16 17 18 |
# File 'lib/stackify_apm/context.rb', line 16 def @tags end |
Instance Method Details
#add_aws_context(ctx) ⇒ 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.
add aws context to context instance
values arn
26 27 28 |
# File 'lib/stackify_apm/context.rb', line 26 def add_aws_context ctx @aws = ctx end |