17 #ifndef __MASTER_ALLOCATOR_MESOS_METRICS_HPP__
18 #define __MASTER_ALLOCATOR_MESOS_METRICS_HPP__
40 class HierarchicalAllocatorProcess;
53 void addRole(
const std::string& role);
99 #endif // __MASTER_ALLOCATOR_MESOS_METRICS_HPP__
const process::PID< HierarchicalAllocatorProcess > allocator
Definition: metrics.hpp:56
process::metrics::Counter allocation_runs
Definition: metrics.hpp:67
process::metrics::Timer< Milliseconds > allocation_run_latency
Definition: metrics.hpp:73
hashmap< std::string, hashmap< std::string, process::metrics::Gauge > > quota_guarantee
Definition: metrics.hpp:87
hashmap< std::string, hashmap< std::string, process::metrics::Gauge > > quota_allocated
Definition: metrics.hpp:83
Metrics(const HierarchicalAllocatorProcess &allocator)
Definition: counter.hpp:26
Definition: hashmap.hpp:38
void removeQuota(const std::string &role)
Definition: hierarchical.hpp:73
std::vector< process::metrics::Gauge > resources_offered_or_allocated
Definition: metrics.hpp:79
process::metrics::Timer< Milliseconds > allocation_run
Definition: metrics.hpp:70
void removeRole(const std::string &role)
std::vector< process::metrics::Gauge > resources_total
Definition: metrics.hpp:76
hashmap< std::string, process::metrics::Gauge > offer_filters_active
Definition: metrics.hpp:90
A "process identifier" used to uniquely identify a process when dispatching messages.
Definition: pid.hpp:279
process::metrics::Gauge event_queue_dispatches_
Definition: metrics.hpp:64
Definition: metrics.hpp:44
void addRole(const std::string &role)
process::metrics::Gauge event_queue_dispatches
Definition: metrics.hpp:59
void setQuota(const std::string &role, const Quota "a)