diff --git a/tracing/tracing.hh b/tracing/tracing.hh index d4e8b0eb2e..407605211b 100644 --- a/tracing/tracing.hh +++ b/tracing/tracing.hh @@ -151,7 +151,10 @@ struct event_record { struct session_record { gms::inet_address client; - std::unordered_map parameters; + // Keep the container below sorted since some backends require that and it's + // very cheap to always do that because the amount of elements in a + // container is very small. + std::map parameters; sstring request; std::chrono::system_clock::time_point started_at; trace_type command = trace_type::NONE;