Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ if test "$PHP_DDTRACE" != "no"; then
ext/memory_limit.c \
ext/otel_config.c \
ext/priority_sampling/priority_sampling.c \
ext/process_tags.c \
ext/profiling.c \
ext/random.c \
ext/remote_config.c \
Expand Down
1 change: 1 addition & 0 deletions config.w32
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ if (PHP_DDTRACE != 'no') {
DDTRACE_EXT_SOURCES += " logging.c";
DDTRACE_EXT_SOURCES += " memory_limit.c";
DDTRACE_EXT_SOURCES += " otel_config.c";
DDTRACE_EXT_SOURCES += " process_tags.c";
DDTRACE_EXT_SOURCES += " profiling.c";
DDTRACE_EXT_SOURCES += " random.c";
DDTRACE_EXT_SOURCES += " remote_config.c";
Expand Down
1 change: 1 addition & 0 deletions ext/configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ enum ddtrace_sampling_rules_format {
CONFIG(SET, DD_TRACE_HTTP_SERVER_ERROR_STATUSES, "500-599", .ini_change = zai_config_system_ini_change) \
CONFIG(BOOL, DD_CODE_ORIGIN_FOR_SPANS_ENABLED, "true") \
CONFIG(INT, DD_CODE_ORIGIN_MAX_USER_FRAMES, "8") \
CONFIG(BOOL, DD_EXPERIMENTAL_PROPAGATE_PROCESS_TAGS_ENABLED, "false") \
DD_INTEGRATIONS

#ifndef _WIN32
Expand Down
3 changes: 3 additions & 0 deletions ext/ddtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
#include "limiter/limiter.h"
#include "standalone_limiter.h"
#include "priority_sampling/priority_sampling.h"
#include "process_tags.h"
#include "random.h"
#include "autoload_php_files.h"
#include "remote_config.h"
Expand Down Expand Up @@ -1545,6 +1546,7 @@ static PHP_MINIT_FUNCTION(ddtrace) {
ddtrace_live_debugger_minit();
ddtrace_minit_remote_config();
ddtrace_trace_source_minit();
ddtrace_process_tags_minit();

#ifndef _WIN32
ddtrace_signals_minit();
Expand Down Expand Up @@ -1606,6 +1608,7 @@ static PHP_MSHUTDOWN_FUNCTION(ddtrace) {
ddtrace_sidecar_shutdown();

ddtrace_live_debugger_mshutdown();
ddtrace_process_tags_mshutdown();

#if PHP_VERSION_ID >= 80000 && PHP_VERSION_ID < 80100
// See dd_register_span_data_ce for explanation
Expand Down
Loading
Loading