Class: Datadog::Core::ProcessDiscovery
- Inherits:
-
Object
- Object
- Datadog::Core::ProcessDiscovery
- Defined in:
- lib/datadog/core/process_discovery.rb,
lib/datadog/core/process_discovery/tracer_memfd.rb,
ext/libdatadog_api/process_discovery.c
Overview
Class used to store tracer metadata in a native file descriptor.
Defined Under Namespace
Classes: TracerMemfd
Class Method Summary collapse
- ._native_close_tracer_memfd ⇒ Object
-
._native_store_tracer_metadata ⇒ Object
Class cannot be instantiated from Ruby.
- ._native_to_rb_int ⇒ Object
- .get_and_store_metadata(settings, logger) ⇒ Object
Class Method Details
._native_close_tracer_memfd ⇒ Object
10 |
# File 'ext/libdatadog_api/process_discovery.c', line 10
static VALUE _native_close_tracer_memfd(DDTRACE_UNUSED VALUE _self, VALUE tracer_memfd, VALUE logger);
|
._native_store_tracer_metadata ⇒ Object
Class cannot be instantiated from Ruby
8 |
# File 'ext/libdatadog_api/process_discovery.c', line 8
static VALUE _native_store_tracer_metadata(int argc, VALUE *argv, DDTRACE_UNUSED VALUE _self);
|
._native_to_rb_int ⇒ Object
9 |
# File 'ext/libdatadog_api/process_discovery.c', line 9
static VALUE _native_to_rb_int(DDTRACE_UNUSED VALUE _self, VALUE tracer_memfd);
|
.get_and_store_metadata(settings, logger) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/datadog/core/process_discovery.rb', line 9 def self.(settings, logger) if (libdatadog_api_failure = Datadog::Core::LIBDATADOG_API_FAILURE) logger.debug("Cannot enable process discovery: #{libdatadog_api_failure}") return end = (settings) memfd = (logger, **) memfd.logger = logger if memfd memfd end |