Apache Mesos
|
#include <metrics.hpp>
Public Member Functions | |
Metrics (const HierarchicalAllocatorProcess &allocator) | |
~Metrics () | |
void | updateQuota (const std::string &role, const Quota "a) |
void | updateConsumed (const std::string &role, const ResourceQuantities &consumed) |
void | addRole (const std::string &role) |
void | removeRole (const std::string &role) |
Public Attributes | |
const process::PID< HierarchicalAllocatorProcess > | allocator |
process::metrics::PullGauge | event_queue_dispatches |
process::metrics::PullGauge | event_queue_dispatches_ |
process::metrics::Counter | allocation_runs |
process::metrics::Timer< Milliseconds > | allocation_run |
process::metrics::Timer< Milliseconds > | allocation_run_latency |
std::vector< process::metrics::PullGauge > | resources_total |
std::vector< process::metrics::PullGauge > | resources_offered_or_allocated |
hashmap< std::string, hashmap< std::string, process::metrics::PullGauge > > | quota_allocated |
hashmap< std::string, hashmap< std::string, process::metrics::PushGauge > > | quota_guarantee |
hashmap< std::string, hashmap< std::string, process::metrics::PushGauge > > | quota_limit |
hashmap< std::string, process::metrics::PullGauge > | offer_filters_active |
|
explicit |
mesos::internal::master::allocator::internal::Metrics::~Metrics | ( | ) |
void mesos::internal::master::allocator::internal::Metrics::addRole | ( | const std::string & | role | ) |
void mesos::internal::master::allocator::internal::Metrics::removeRole | ( | const std::string & | role | ) |
void mesos::internal::master::allocator::internal::Metrics::updateConsumed | ( | const std::string & | role, |
const ResourceQuantities & | consumed | ||
) |
void mesos::internal::master::allocator::internal::Metrics::updateQuota | ( | const std::string & | role, |
const Quota & | quota | ||
) |
process::metrics::Timer<Milliseconds> mesos::internal::master::allocator::internal::Metrics::allocation_run |
process::metrics::Timer<Milliseconds> mesos::internal::master::allocator::internal::Metrics::allocation_run_latency |
process::metrics::Counter mesos::internal::master::allocator::internal::Metrics::allocation_runs |
const process::PID<HierarchicalAllocatorProcess> mesos::internal::master::allocator::internal::Metrics::allocator |
process::metrics::PullGauge mesos::internal::master::allocator::internal::Metrics::event_queue_dispatches |
process::metrics::PullGauge mesos::internal::master::allocator::internal::Metrics::event_queue_dispatches_ |
hashmap<std::string, process::metrics::PullGauge> mesos::internal::master::allocator::internal::Metrics::offer_filters_active |
hashmap<std::string, hashmap<std::string, process::metrics::PullGauge> > mesos::internal::master::allocator::internal::Metrics::quota_allocated |
hashmap<std::string, hashmap<std::string, process::metrics::PushGauge> > mesos::internal::master::allocator::internal::Metrics::quota_guarantee |
hashmap<std::string, hashmap<std::string, process::metrics::PushGauge> > mesos::internal::master::allocator::internal::Metrics::quota_limit |
std::vector<process::metrics::PullGauge> mesos::internal::master::allocator::internal::Metrics::resources_offered_or_allocated |
std::vector<process::metrics::PullGauge> mesos::internal::master::allocator::internal::Metrics::resources_total |