22 #ifndef Hypertable_Master_Monitoring_h
23 #define Hypertable_Master_Monitoring_h
59 void add(std::vector<RangeServerStatistics> &stats);
148 void add_table_stats(std::vector<StatsTable> &table_stats,int64_t fetch_timestamp);
179 #endif // Hypertable_Master_Monitoring_h
uint64_t memory_allocated
void invalidate_id_mapping(const String &table_id)
void create_rangeserver_rrd(const String &filename)
void add_server(const String &location, const StatsSystem &system_info)
TableNameMap m_table_name_map
void dump_rangeserver_summary_json(std::vector< RangeServerStatistics > &stats)
std::string String
A String is simply a typedef to std::string.
RangeServerMap m_server_map
void change_id_mapping(const String &table_id, const String &table_name)
uint64_t shadow_cache_memory
TableStatMap m_table_stat_map
Collecting and (de)serializing system-wide statistics.
std::map< String, table_rrd_data > TableStatMap
TableStatMap m_prev_table_stat_map
NameIdMapperPtr m_namemap_ptr
std::shared_ptr< Monitoring > MonitoringPtr
void add(std::vector< RangeServerStatistics > &stats)
void update_table_rrd(const String &filename, struct table_rrd_data &rrd_data)
uint64_t bloom_filter_maybes
int32_t m_last_server_count
void dump_table_summary_json()
double average_value_size
Monitoring(Context *context)
Constructor.
void compute_clock_skew(int64_t server_timestamp, RangeServerStatistics *stats)
void dump_table_id_name_map()
void update_rangeserver_rrd(const String &filename, struct rangeserver_rrd_data &rrd_data)
Collects, serializes and deserializes system-wide statistics.
void create_table_rrd(const String &filename)
std::map< String, RangeServerStatistics * > RangeServerMap
uint64_t table_stats_timestamp
uint64_t block_index_memory
void drop_server(const String &location)
void dump_master_summary_json()
unsigned char m_last_server_set_digest[16]
Execution context for the Master.
A String class based on std::string.
uint64_t bloom_filter_memory
String m_monitoring_table_dir
void run_rrdtool(std::vector< String > &command)
int32_t m_monitoring_interval
void create_dir(const String &dir)
void add_table_stats(std::vector< StatsTable > &table_stats, int64_t fetch_timestamp)
std::shared_ptr< NameIdMapper > NameIdMapperPtr
Smart pointer to NameIdMapper.
String m_monitoring_rs_dir
std::map< String, String > TableNameMap
uint64_t bloom_filter_accesses