-
Notifications
You must be signed in to change notification settings - Fork 2k
http_server: add settings for ingress queue #11704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
96f9a47
7d86746
84d14cc
931a956
0582f31
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,6 +47,16 @@ struct flb_config_map flb_http_server_config_map[] = { | |
| 0, FLB_TRUE, offsetof(struct flb_http_server_config, workers), | ||
| "Set the number of HTTP listener workers" | ||
| }, | ||
| { | ||
| FLB_CONFIG_MAP_SIZE, "http_server.ingress_queue_event_limit", "8192", | ||
| 0, FLB_TRUE, offsetof(struct flb_http_server_config, ingress_queue_event_limit), | ||
| "Set the maximum number of deferred ingress queue events. Applies only when http_server.workers > 1." | ||
| }, | ||
| { | ||
| FLB_CONFIG_MAP_SIZE, "http_server.ingress_queue_byte_limit", "256M", | ||
| 0, FLB_TRUE, offsetof(struct flb_http_server_config, ingress_queue_byte_limit), | ||
| "Set the maximum number of deferred ingress queue bytes. Applies only when http_server.workers > 1." | ||
| }, | ||
|
Comment on lines
+50
to
+59
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add the same compatibility aliases the older HTTP-server settings already have. These two options are only registered in 🤖 Prompt for AI Agents |
||
| { | ||
| FLB_CONFIG_MAP_BOOL, "http2", "true", | ||
| 0, FLB_TRUE, offsetof(struct flb_http_server_config, http2), | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| service: | ||
| flush: 1 | ||
| log_level: info | ||
| http_server: on | ||
| http_port: ${FLUENT_BIT_HTTP_MONITORING_PORT} | ||
|
|
||
| pipeline: | ||
| inputs: | ||
| - name: opentelemetry | ||
| port: ${FLUENT_BIT_TEST_LISTENER_PORT} | ||
| http2: off | ||
| tls: off | ||
| http_server.workers: 4 | ||
| http_server.ingress_queue_event_limit: 0 | ||
| http_server.ingress_queue_byte_limit: 1 | ||
|
|
||
| outputs: | ||
| - name: stdout | ||
| match: '*' | ||
|
|
||
| - name: opentelemetry | ||
| match: '*' | ||
| host: 127.0.0.1 | ||
| port: ${TEST_SUITE_HTTP_PORT} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| service: | ||
| flush: 1 | ||
| log_level: info | ||
| http_server: on | ||
| http_port: ${FLUENT_BIT_HTTP_MONITORING_PORT} | ||
|
|
||
| pipeline: | ||
| inputs: | ||
| - name: opentelemetry | ||
| port: ${FLUENT_BIT_TEST_LISTENER_PORT} | ||
| http2: off | ||
| tls: off | ||
| http_server.workers: 4 | ||
| http_server.ingress_queue_event_limit: 1024 | ||
| http_server.ingress_queue_byte_limit: 2000 | ||
|
|
||
| outputs: | ||
| - name: stdout | ||
| match: '*' | ||
|
|
||
| - name: opentelemetry | ||
| match: '*' | ||
| host: 127.0.0.1 | ||
| port: ${TEST_SUITE_HTTP_PORT} |
Uh oh!
There was an error while loading. Please reload this page.