Class: Jaeger::ScopeManager::ScopeIdentifier Private

Inherits:
Object
  • Object
show all
Defined in:
lib/jaeger/scope_manager/scope_identifier.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.

Class Method Summary collapse

Class Method Details

.generate ⇒ 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.



7
8
9
10
# File 'lib/jaeger/scope_manager/scope_identifier.rb', line 7

def self.generate
  # 65..90.chr are characters between A and Z
  "opentracing_#{(0...8).map { rand(65..90).chr }.join}".to_sym
end