Skip to content

Commit b7f5073

Browse files
committed
otel: set keep-hostname() to FALSE even if the global is TRUE
Signed-off-by: Balazs Scheidler <[email protected]>
1 parent 903d001 commit b7f5073

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/grpc/otel/otel-source.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ otel_sd_new(GlobalConfig *cfg)
259259
s->super.worker_options.super.stats_source = stats_register_type("opentelemetry");
260260
s->super.format_stats_key = _format_stats_key;
261261
s->super.worker_construct = _construct_worker;
262+
s->super.worker_options.super.keep_hostname = TRUE;
263+
s->super.worker_options.super.chain_hostnames = FALSE;
262264

263265
return &s->super.super.super;
264266
}

0 commit comments

Comments
 (0)