elastic / fleet-server

The Fleet server allows managing a fleet of Elastic Agents.
Other
11 stars 81 forks source link

HTTP Request log sampling #4145

Open michel-laterman opened 1 day ago

michel-laterman commented 1 day ago

HTTP logs are only written if the Debug level is enabled, or if a request results in a non-2XX response. We should change this to allow logging of 2XX responses with some level of sampling when Debug is not enabled.

A BurstSampler may be a good fit for this as it would limit the logs emitted during during activity spikes.