Apache Mesos
Public Member Functions | Public Attributes | List of all members
mesos::internal::master::allocator::internal::Metrics Struct Reference

#include <metrics.hpp>

Public Member Functions

 Metrics (const HierarchicalAllocatorProcess &allocator)
 
 ~Metrics ()
 
void updateQuota (const std::string &role, const Quota &quota)
 
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< HierarchicalAllocatorProcessallocator
 
process::metrics::PullGauge event_queue_dispatches
 
process::metrics::PullGauge event_queue_dispatches_
 
process::metrics::Counter allocation_runs
 
process::metrics::Timer< Millisecondsallocation_run
 
process::metrics::Timer< Millisecondsallocation_run_latency
 
std::vector< process::metrics::PullGaugeresources_total
 
std::vector< process::metrics::PullGaugeresources_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::PullGaugeoffer_filters_active
 

Constructor & Destructor Documentation

mesos::internal::master::allocator::internal::Metrics::Metrics ( const HierarchicalAllocatorProcess allocator)
explicit
mesos::internal::master::allocator::internal::Metrics::~Metrics ( )

Member Function Documentation

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 
)

Member Data Documentation

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

The documentation for this struct was generated from the following file: