Module: XRay::SegmentNaming
- Included in:
- DynamicNaming
- Defined in:
- lib/aws-xray-sdk/segment_naming/segment_naming.rb
Overview
The interface that provides the segment name based on host name, pattern and the fallback name.
Instance Attribute Summary collapse
-
#fallback ⇒ Object
Returns the value of attribute fallback.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
Instance Method Summary collapse
Instance Attribute Details
#fallback ⇒ Object
Returns the value of attribute fallback.
5 6 7 |
# File 'lib/aws-xray-sdk/segment_naming/segment_naming.rb', line 5 def fallback @fallback end |
#pattern ⇒ Object
Returns the value of attribute pattern.
5 6 7 |
# File 'lib/aws-xray-sdk/segment_naming/segment_naming.rb', line 5 def pattern @pattern end |
Instance Method Details
#provide_name(host:) ⇒ Object
6 7 8 |
# File 'lib/aws-xray-sdk/segment_naming/segment_naming.rb', line 6 def provide_name(host:) raise 'Not implemented' end |