56 std::vector<std::regex> general_process_regex_list_;
59 bool ParseFromCache(
const std::string& cmd_string, std::shared_ptr<ProcessMetrics> metrics);
61 std::unordered_map<std::string, std::shared_ptr<CacheMetric>> cache_;
66 const std::string& cmd_string,
67 std::shared_ptr<ProcessMetrics> metrics,
68 std::shared_ptr<CacheMetric> cache_metric);
70 std::shared_ptr<cyber::Writer<ProcessMetrics>> metric_writer_;