XiaoMi / ozhera

Application Observable Platform in the Cloud Native Era
https://ozhera.m.one.mi.com
Apache License 2.0
59 stars 28 forks source link

[Feature Request] Add Toggle Switch for Immediate Log Collection #371

Open wtt40122 opened 1 week ago

wtt40122 commented 1 week ago

Issue Description

Currently, our logging system lacks a feature that allows users to enable or disable immediate log collection. This can be particularly useful in scenarios where we need to control the log data flow for performance tuning or during specific operational windows.

Proposed Feature

Use Cases

  1. Performance optimization during periods of high traffic where immediate log collection might impact system responsiveness.
  2. Temporarily disabling log collection for environments where logs are not immediately required, such as during overnight batch processing.

Implementation Details

Benefits

sadadw1 commented 1 week ago

I have a question: is this configuration done according to the application dimension?

wtt40122 commented 1 week ago

I have a question: is this configuration done according to the application dimension?

this configuration becomes effective through the dimensions defined by the specific tail parameters, ensuring its functionality and applicability

sadadw1 commented 1 week ago

I have a question: is this configuration done according to the application dimension?

this configuration becomes effective through the dimensions defined by the specific tail parameters, ensuring its functionality and applicability

Okay, I understand. The tail dimension is more detailed than the application dimension. I think this feature is great, and I look forward to its implementation.