Skip to content

Commit f0b3801

Browse files
authored
Fix typo in OTEL_TRACES_SAMPLER mapping
1 parent 4bbc100 commit f0b3801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/otel_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ bool ddtrace_conf_otel_sample_rate(zai_env_buffer buf, bool pre_rinit) {
112112
}
113113

114114
if (strcmp(buf.ptr, "always_on") == 0 || strcmp(buf.ptr, "parentbased_always_on") == 0) {
115-
memcpy(buf.ptr, ZEND_STRS("q1"));
115+
memcpy(buf.ptr, ZEND_STRS("1"));
116116
return true;
117117
}
118118
if (strcmp(buf.ptr, "always_off") == 0 || strcmp(buf.ptr, "parentbased_always_off") == 0) {

0 commit comments

Comments
 (0)