query log batching: one transaction per flush interval, not per query
Gates / frontend (push) Successful in 1m18s
Gates / test (push) Successful in 2m46s
Gates / test-aarch64 (push) Successful in 7m33s
Gates / package (push) Successful in 5m34s
Gates / container (push) Successful in 17s
CI / gates (push) Successful in 16m16s
Gates / frontend (push) Successful in 1m8s
Gates / container (push) Successful in 9s
Release / gates (push) Successful in 9m15s
Release / guard (push) Successful in 19s
Gates / test (push) Successful in 1m34s
Gates / test-aarch64 (push) Successful in 6m46s
Gates / package (push) Successful in 39s
Release / publish (push) Failing after 4m7s

This commit is contained in:
2026-08-20 20:57:11 +02:00
parent 037f209179
commit addf24f92c
18 changed files with 422 additions and 61 deletions
+2
View File
@@ -203,6 +203,7 @@ const LoggingView = struct {
level: []const u8,
retention_days: u16,
query_log_buffer_max: u32,
query_log_flush_interval_s: u16,
hide_domains: bool,
hide_client_ips: bool,
output: []const u8,
@@ -263,6 +264,7 @@ pub fn view(cfg: model.Config) View {
.level = cfg.logging.level.toDb(),
.retention_days = cfg.logging.retention_days,
.query_log_buffer_max = cfg.logging.query_log_buffer_max,
.query_log_flush_interval_s = cfg.logging.query_log_flush_interval_s,
.hide_domains = cfg.logging.hide_domains,
.hide_client_ips = cfg.logging.hide_client_ips,
.output = cfg.logging.output.toDb(),
+3 -1
View File
@@ -2503,13 +2503,14 @@ components:
enum: [strip, forward]
logging:
type: object
required: [level, retention_days, query_log_buffer_max, hide_domains, hide_client_ips, output, file_path, max_size_mb, max_files]
required: [level, retention_days, query_log_buffer_max, query_log_flush_interval_s, hide_domains, hide_client_ips, output, file_path, max_size_mb, max_files]
properties:
level:
type: string
enum: [error, warn, info, debug]
retention_days: { type: integer }
query_log_buffer_max: { type: integer }
query_log_flush_interval_s: { type: integer }
hide_domains: { type: boolean }
hide_client_ips: { type: boolean }
output:
@@ -2651,6 +2652,7 @@ components:
level: { type: string }
retention_days: { type: integer }
query_log_buffer_max: { type: integer }
query_log_flush_interval_s: { type: integer }
hide_domains: { type: boolean }
hide_client_ips: { type: boolean }
output: { type: string }
+1
View File
@@ -598,6 +598,7 @@ const SettingsView = struct {
level: []const u8,
retention_days: u16,
query_log_buffer_max: u32,
query_log_flush_interval_s: u16,
hide_domains: bool,
hide_client_ips: bool,
output: []const u8,