New
v1.9.1
Highlights
- Logging enhancements:
- Customize log key names to fit your log schema and downstream tooling.
- Prefer
json.Marshaleroverfmt.Stringerwhen emitting JSON logs, improving correctness and structure.
- REST/SSE stability and operability:
- Fix SSE handler blocking and reduce noisy logs by downgrading
SetWriteDeadlineerrors to debug. - Add
SetSSESlowThresholdto help detect slow clients and long writes.
- Fix SSE handler blocking and reduce noisy logs by downgrading
- Diagnostics and performance:
- Improved mapreduce panic stacktraces for faster root-cause analysis.
- Optimized machine performance data reading to reduce runtime overhead.
Detailed Changes
Logging
- Support customizing log keys so you can align emitted fields (e.g., time, level, caller, message) to your organization’s conventions or ingestion pipeline requirements.
PR: feat: support customize of log keys by @WqyJh (@5103)