Class: StackifyRubyAPM::Context Private
- Inherits:
-
Object
- Object
- StackifyRubyAPM::Context
- Includes:
- NaivelyHashable
- Defined in:
- lib/stackify_apm/context.rb,
lib/stackify_apm/context/prefix.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,
lib/stackify_apm/context/request/headers.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
Classes: Prefix, Request, Response
Instance Attribute Summary collapse
- #aws ⇒ Object private
- #category ⇒ Object private
- #custom ⇒ Object readonly private
- #prefix ⇒ Object 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.
20 21 22 23 24 |
# File 'lib/stackify_apm/context.rb', line 20 def initialize @custom = {} @tags = {} @prefix = Context::Prefix.new 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.
17 18 19 |
# File 'lib/stackify_apm/context.rb', line 17 def aws @aws end |
#category ⇒ 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.
17 18 19 |
# File 'lib/stackify_apm/context.rb', line 17 def category @category 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.
18 19 20 |
# File 'lib/stackify_apm/context.rb', line 18 def custom @custom end |
#prefix ⇒ 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.
17 18 19 |
# File 'lib/stackify_apm/context.rb', line 17 def prefix @prefix 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.
17 18 19 |
# File 'lib/stackify_apm/context.rb', line 17 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.
17 18 19 |
# File 'lib/stackify_apm/context.rb', line 17 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.
18 19 20 |
# File 'lib/stackify_apm/context.rb', line 18 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
29 30 31 |
# File 'lib/stackify_apm/context.rb', line 29 def add_aws_context ctx @aws = ctx end |