41 emit_interval_ = interval;
47 meter_ = std::move(custom_meter);
54 std::shared_ptr<metrics::meter>
meter;
67 bool enabled_{
true };
69 std::shared_ptr<metrics::meter> meter_{
nullptr };
Definition metrics_options.hxx:29
auto build() const -> built
Definition metrics_options.hxx:57
auto emit_interval(std::chrono::milliseconds interval) -> metrics_options &
Definition metrics_options.hxx:39
static constexpr std::chrono::milliseconds default_emit_interval
Definition metrics_options.hxx:31
auto enable(bool enable) -> metrics_options &
Definition metrics_options.hxx:33
auto meter(std::shared_ptr< metrics::meter > custom_meter) -> metrics_options &
Definition metrics_options.hxx:45
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
Definition metrics_options.hxx:51
std::shared_ptr< metrics::meter > meter
Definition metrics_options.hxx:54
bool enabled
Definition metrics_options.hxx:52
std::chrono::milliseconds emit_interval
Definition metrics_options.hxx:53