Skip to content

Commit

Permalink
Fix typo in OTEL_TRACES_SAMPLER mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoebi authored Jun 11, 2024
1 parent 4bbc100 commit f0b3801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/otel_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ bool ddtrace_conf_otel_sample_rate(zai_env_buffer buf, bool pre_rinit) {
}

if (strcmp(buf.ptr, "always_on") == 0 || strcmp(buf.ptr, "parentbased_always_on") == 0) {
memcpy(buf.ptr, ZEND_STRS("q1"));
memcpy(buf.ptr, ZEND_STRS("1"));
return true;
}
if (strcmp(buf.ptr, "always_off") == 0 || strcmp(buf.ptr, "parentbased_always_off") == 0) {
Expand Down

0 comments on commit f0b3801

Please sign in to comment.