Tencent/flare

Can Monitor support sampling?

Fin-chan opened this issue · 0 comments

 internal::QueueDpc([essentials = std::move(essentials)] {
    bool sample = flare::Random(1, 100) <= FLAGS_flare_monitor_zhiyan_sample_rate;
    if(!sample){
       return;
    }
  ....
  });

Is this possible?