summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http_request.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_http_request.c')
-rw-r--r--src/nxt_http_request.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_http_request.c b/src/nxt_http_request.c
index 417b5a39..722197b8 100644
--- a/src/nxt_http_request.c
+++ b/src/nxt_http_request.c
@@ -322,6 +322,8 @@ nxt_http_request_start(nxt_task_t *task, void *obj, void *data)
r = obj;
+ NXT_OTEL_TRACE();
+
r->state = &nxt_http_request_body_state;
skcf = r->conf->socket_conf;
@@ -593,6 +595,8 @@ nxt_http_request_ready(nxt_task_t *task, void *obj, void *data)
r = obj;
action = r->conf->socket_conf->action;
+ NXT_OTEL_TRACE();
+
if (r->chunked) {
ret = nxt_http_request_chunked_transform(r);
if (nxt_slow_path(ret != NXT_OK)) {