summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_http.h')
-rw-r--r--src/nxt_http.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nxt_http.h b/src/nxt_http.h
index 5369c8e1..19bbdda3 100644
--- a/src/nxt_http.h
+++ b/src/nxt_http.h
@@ -8,6 +8,7 @@
#define _NXT_HTTP_H_INCLUDED_
#include <nxt_regex.h>
+#include <nxt_otel.h>
typedef enum {
@@ -190,6 +191,10 @@ struct nxt_http_request_s {
nxt_http_response_t resp;
+#if (NXT_HAVE_OTEL)
+ nxt_otel_state_t *otel;
+#endif
+
nxt_http_status_t status:16;
uint8_t log_route; /* 1 bit */