Skip to content

Can Monitor support sampling? #149

@Fin-chan

Description

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

Is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions