module Datadog::Core::Environment::Identity
For runtime identity
Public Instance Methods
id()
click to toggle source
Retrieves number of classes from runtime
# File lib/datadog/core/environment/identity.rb, line 16 def id @id ||= SecureRandom.uuid # Check if runtime has changed, e.g. forked. after_fork! { @id = SecureRandom.uuid } @id end
lang()
click to toggle source
# File lib/datadog/core/environment/identity.rb, line 25 def lang Core::Environment::Ext::LANG end
lang_engine()
click to toggle source
# File lib/datadog/core/environment/identity.rb, line 29 def lang_engine Core::Environment::Ext::LANG_ENGINE end
lang_interpreter()
click to toggle source
# File lib/datadog/core/environment/identity.rb, line 33 def lang_interpreter Core::Environment::Ext::LANG_INTERPRETER end
lang_platform()
click to toggle source
# File lib/datadog/core/environment/identity.rb, line 37 def lang_platform Core::Environment::Ext::LANG_PLATFORM end
lang_version()
click to toggle source
# File lib/datadog/core/environment/identity.rb, line 41 def lang_version Core::Environment::Ext::LANG_VERSION end
tracer_version()
click to toggle source
# File lib/datadog/core/environment/identity.rb, line 45 def tracer_version Core::Environment::Ext::TRACER_VERSION end