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

Instance Method Summary collapse

Instance Attribute Details

#fallbackObject

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

#patternObject

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