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 setQuota (const std::string &role, const Quota &quota)
 
void removeQuota (const std::string &role)
 
void addRole (const std::string &role)
 
void removeRole (const std::string &role)
 

Public Attributes

const process::PID
< HierarchicalAllocatorProcess
allocator
 
process::metrics::Gauge event_queue_dispatches
 
process::metrics::Gauge 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::Gauge
resources_total
 
std::vector
< process::metrics::Gauge
resources_offered_or_allocated
 
hashmap< std::string, hashmap
< std::string,
process::metrics::Gauge > > 
quota_allocated
 
hashmap< std::string, hashmap
< std::string,
process::metrics::Gauge > > 
quota_guarantee
 
hashmap< std::string,
process::metrics::Gauge
offer_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::removeQuota ( const std::string &  role)
void mesos::internal::master::allocator::internal::Metrics::removeRole ( const std::string &  role)
void mesos::internal::master::allocator::internal::Metrics::setQuota ( 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::Gauge mesos::internal::master::allocator::internal::Metrics::event_queue_dispatches
process::metrics::Gauge mesos::internal::master::allocator::internal::Metrics::event_queue_dispatches_
hashmap<std::string, process::metrics::Gauge> mesos::internal::master::allocator::internal::Metrics::offer_filters_active
hashmap<std::string, hashmap<std::string, process::metrics::Gauge> > mesos::internal::master::allocator::internal::Metrics::quota_allocated
hashmap<std::string, hashmap<std::string, process::metrics::Gauge> > mesos::internal::master::allocator::internal::Metrics::quota_guarantee
std::vector<process::metrics::Gauge> mesos::internal::master::allocator::internal::Metrics::resources_offered_or_allocated
std::vector<process::metrics::Gauge> mesos::internal::master::allocator::internal::Metrics::resources_total

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