mon,mgr: make osd_metric more popular and report slow ops to mgr
Reviewed-by: Kefu Chai <kchai@redhat.com>
const std::map<std::string,std::string>& metadata);
int service_daemon_update_status(
std::map<std::string,std::string>&& status);
- void update_osd_health(std::vector<OSDHealthMetric>&& metrics);
+ void update_daemon_health(std::vector<DaemonHealthMetric>&& metrics);
private:
- void send_stats();
- void send_report();
+ void _send_stats();
+ void _send_pgstats();
+ void _send_report();
};
#endif