Class: Datadog::Core::ProcessDiscovery

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog/core/process_discovery.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

Class Method Details

._native_close_tracer_memfdObject



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_metadataObject

Class cannot be instantiated from Ruby



8
# File 'ext/libdatadog_api/process_discovery.c', line 8

static VALUE (int argc, VALUE *argv, DDTRACE_UNUSED VALUE _self);

._native_to_rb_intObject



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



7
8
9
10
11
12
13
14
# File 'lib/datadog/core/process_discovery.rb', line 7

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)
  (logger, **)
end