You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See also the `FIO_HTTP_LOG_X_REQUEST_START` and `FIO_HTTP_EXACT_LOGGING` compilation flags.
10608
10614
10609
10615
### HTTP WebSocket / SSE Helpers
10610
10616
@@ -10908,6 +10914,19 @@ On the other hand, `FIO_HTTP_EXACT_LOGGING` collects exact time stamps to measur
10908
10914
10909
10915
Due to the preference to err on the side of higher performance, fuzzy time-stamping is the default.
10910
10916
10917
+
10918
+
#### `FIO_HTTP_LOG_X_REQUEST_START`
10919
+
10920
+
```c
10921
+
#ifndef FIO_HTTP_LOG_X_REQUEST_START
10922
+
#define FIO_HTTP_LOG_X_REQUEST_START 1
10923
+
#endif
10924
+
```
10925
+
10926
+
If set, logs will react to an `X-Request-Start` header that provides time in milliseconds.
10927
+
10928
+
An additional `(wait XXms)` data point will be provided in the logs to inform of the delay between the proxy server's `X-Request-Start` start time and the application's start time.
See also the `FIO_HTTP_LOG_X_REQUEST_START` and `FIO_HTTP_EXACT_LOGGING` compilation flags.
813
819
814
820
### HTTP WebSocket / SSE Helpers
815
821
@@ -1113,6 +1119,19 @@ On the other hand, `FIO_HTTP_EXACT_LOGGING` collects exact time stamps to measur
1113
1119
1114
1120
Due to the preference to err on the side of higher performance, fuzzy time-stamping is the default.
1115
1121
1122
+
1123
+
#### `FIO_HTTP_LOG_X_REQUEST_START`
1124
+
1125
+
```c
1126
+
#ifndef FIO_HTTP_LOG_X_REQUEST_START
1127
+
#define FIO_HTTP_LOG_X_REQUEST_START 1
1128
+
#endif
1129
+
```
1130
+
1131
+
If set, logs will react to an `X-Request-Start` header that provides time in milliseconds.
1132
+
1133
+
An additional `(wait XXms)` data point will be provided in the logs to inform of the delay between the proxy server's `X-Request-Start` start time and the application's start time.
0 commit comments