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

#include <metrics.hpp>

Classes

struct  Frameworks
 
struct  OperationStates
 

Public Types

typedef hashmap< TaskStatus::Reason, process::metrics::CounterReasons
 
typedef hashmap< TaskStatus::Source, ReasonsSourcesReasons
 

Public Member Functions

 Metrics (const Master &master)
 
 ~Metrics ()
 
void incrementOperationState (Offer::Operation::Type type, const OperationState &state)
 
void decrementOperationState (Offer::Operation::Type type, const OperationState &state)
 
void transitionOperationState (Offer::Operation::Type type, const OperationState &oldState, const OperationState &newState)
 
void incrementInvalidSchedulerCalls (const mesos::scheduler::Call &call)
 
void incrementTasksStates (const TaskState &state, const TaskStatus::Source &source, const TaskStatus::Reason &reason)
 

Public Attributes

process::metrics::PullGauge uptime_secs
 
process::metrics::PullGauge elected
 
process::metrics::PullGauge slaves_connected
 
process::metrics::PullGauge slaves_disconnected
 
process::metrics::PullGauge slaves_active
 
process::metrics::PullGauge slaves_inactive
 
process::metrics::PullGauge slaves_unreachable
 
process::metrics::PullGauge frameworks_connected
 
process::metrics::PullGauge frameworks_disconnected
 
process::metrics::PullGauge frameworks_active
 
process::metrics::PullGauge frameworks_inactive
 
process::metrics::PullGauge outstanding_offers
 
OperationStates operation_states
 
hashmap< Offer::Operation::Type, OperationStatesoperation_type_states
 
process::metrics::PushGauge operator_event_stream_subscribers
 
process::metrics::PullGauge tasks_staging
 
process::metrics::PullGauge tasks_starting
 
process::metrics::PullGauge tasks_running
 
process::metrics::PullGauge tasks_unreachable
 
process::metrics::PullGauge tasks_killing
 
process::metrics::Counter tasks_finished
 
process::metrics::Counter tasks_failed
 
process::metrics::Counter tasks_killed
 
process::metrics::Counter tasks_lost
 
process::metrics::Counter tasks_error
 
process::metrics::Counter tasks_dropped
 
process::metrics::Counter tasks_gone
 
process::metrics::Counter tasks_gone_by_operator
 
hashmap< TaskState, SourcesReasonstasks_states
 
process::metrics::Counter dropped_messages
 
process::metrics::Counter http_cache_hits
 
hashmap< std::string, process::Owned< Frameworks > > frameworks
 
process::metrics::Counter messages_register_framework
 
process::metrics::Counter messages_reregister_framework
 
process::metrics::Counter messages_unregister_framework
 
process::metrics::Counter messages_deactivate_framework
 
process::metrics::Counter messages_kill_task
 
process::metrics::Counter messages_status_update_acknowledgement
 
process::metrics::Counter messages_resource_request
 
process::metrics::Counter messages_launch_tasks
 
process::metrics::Counter messages_decline_offers
 
process::metrics::Counter messages_revive_offers
 
process::metrics::Counter messages_suppress_offers
 
process::metrics::Counter messages_reconcile_operations
 
process::metrics::Counter messages_reconcile_tasks
 
process::metrics::Counter messages_framework_to_executor
 
process::metrics::Counter messages_operation_status_update_acknowledgement
 
process::metrics::Counter messages_executor_to_framework
 
process::metrics::Counter messages_register_slave
 
process::metrics::Counter messages_reregister_slave
 
process::metrics::Counter messages_unregister_slave
 
process::metrics::Counter messages_status_update
 
process::metrics::Counter messages_operation_status_update
 
process::metrics::Counter messages_exited_executor
 
process::metrics::Counter messages_update_slave
 
process::metrics::Counter messages_authenticate
 
process::metrics::Counter valid_framework_to_executor_messages
 
process::metrics::Counter invalid_framework_to_executor_messages
 
process::metrics::Counter valid_executor_to_framework_messages
 
process::metrics::Counter invalid_executor_to_framework_messages
 
process::metrics::Counter valid_status_updates
 
process::metrics::Counter invalid_status_updates
 
process::metrics::Counter valid_status_update_acknowledgements
 
process::metrics::Counter invalid_status_update_acknowledgements
 
process::metrics::Counter valid_operation_status_updates
 
process::metrics::Counter invalid_operation_status_updates
 
process::metrics::Counter valid_operation_status_update_acknowledgements
 
process::metrics::Counter invalid_operation_status_update_acknowledgements
 
process::metrics::Counter recovery_slave_removals
 
process::metrics::PullGauge event_queue_messages
 
process::metrics::PullGauge event_queue_dispatches
 
process::metrics::PullGauge event_queue_http_requests
 
process::metrics::Counter slave_registrations
 
process::metrics::Counter slave_reregistrations
 
process::metrics::Counter slave_removals
 
process::metrics::Counter slave_removals_reason_unhealthy
 
process::metrics::Counter slave_removals_reason_unregistered
 
process::metrics::Counter slave_removals_reason_registered
 
process::metrics::Counter slave_shutdowns_scheduled
 
process::metrics::Counter slave_shutdowns_completed
 
process::metrics::Counter slave_shutdowns_canceled
 
process::metrics::Counter slave_unreachable_scheduled
 
process::metrics::Counter slave_unreachable_completed
 
process::metrics::Counter slave_unreachable_canceled
 
std::vector< process::metrics::PullGaugeresources_total
 
std::vector< process::metrics::PullGaugeresources_used
 
std::vector< process::metrics::PullGaugeresources_percent
 
std::vector< process::metrics::PullGaugeresources_revocable_total
 
std::vector< process::metrics::PullGaugeresources_revocable_used
 
std::vector< process::metrics::PullGaugeresources_revocable_percent
 

Member Typedef Documentation

Constructor & Destructor Documentation

mesos::internal::master::Metrics::Metrics ( const Master master)
explicit
mesos::internal::master::Metrics::~Metrics ( )

Member Function Documentation

void mesos::internal::master::Metrics::decrementOperationState ( Offer::Operation::Type  type,
const OperationState &  state 
)
void mesos::internal::master::Metrics::incrementInvalidSchedulerCalls ( const mesos::scheduler::Call &  call)
void mesos::internal::master::Metrics::incrementOperationState ( Offer::Operation::Type  type,
const OperationState &  state 
)
void mesos::internal::master::Metrics::incrementTasksStates ( const TaskState &  state,
const TaskStatus::Source &  source,
const TaskStatus::Reason &  reason 
)
void mesos::internal::master::Metrics::transitionOperationState ( Offer::Operation::Type  type,
const OperationState &  oldState,
const OperationState &  newState 
)

Member Data Documentation

process::metrics::Counter mesos::internal::master::Metrics::dropped_messages
process::metrics::PullGauge mesos::internal::master::Metrics::elected
process::metrics::PullGauge mesos::internal::master::Metrics::event_queue_dispatches
process::metrics::PullGauge mesos::internal::master::Metrics::event_queue_http_requests
process::metrics::PullGauge mesos::internal::master::Metrics::event_queue_messages
hashmap<std::string, process::Owned<Frameworks> > mesos::internal::master::Metrics::frameworks
process::metrics::PullGauge mesos::internal::master::Metrics::frameworks_active
process::metrics::PullGauge mesos::internal::master::Metrics::frameworks_connected
process::metrics::PullGauge mesos::internal::master::Metrics::frameworks_disconnected
process::metrics::PullGauge mesos::internal::master::Metrics::frameworks_inactive
process::metrics::Counter mesos::internal::master::Metrics::http_cache_hits
process::metrics::Counter mesos::internal::master::Metrics::invalid_executor_to_framework_messages
process::metrics::Counter mesos::internal::master::Metrics::invalid_framework_to_executor_messages
process::metrics::Counter mesos::internal::master::Metrics::invalid_operation_status_update_acknowledgements
process::metrics::Counter mesos::internal::master::Metrics::invalid_operation_status_updates
process::metrics::Counter mesos::internal::master::Metrics::invalid_status_update_acknowledgements
process::metrics::Counter mesos::internal::master::Metrics::invalid_status_updates
process::metrics::Counter mesos::internal::master::Metrics::messages_authenticate
process::metrics::Counter mesos::internal::master::Metrics::messages_deactivate_framework
process::metrics::Counter mesos::internal::master::Metrics::messages_decline_offers
process::metrics::Counter mesos::internal::master::Metrics::messages_executor_to_framework
process::metrics::Counter mesos::internal::master::Metrics::messages_exited_executor
process::metrics::Counter mesos::internal::master::Metrics::messages_framework_to_executor
process::metrics::Counter mesos::internal::master::Metrics::messages_kill_task
process::metrics::Counter mesos::internal::master::Metrics::messages_launch_tasks
process::metrics::Counter mesos::internal::master::Metrics::messages_operation_status_update
process::metrics::Counter mesos::internal::master::Metrics::messages_operation_status_update_acknowledgement
process::metrics::Counter mesos::internal::master::Metrics::messages_reconcile_operations
process::metrics::Counter mesos::internal::master::Metrics::messages_reconcile_tasks
process::metrics::Counter mesos::internal::master::Metrics::messages_register_framework
process::metrics::Counter mesos::internal::master::Metrics::messages_register_slave
process::metrics::Counter mesos::internal::master::Metrics::messages_reregister_framework
process::metrics::Counter mesos::internal::master::Metrics::messages_reregister_slave
process::metrics::Counter mesos::internal::master::Metrics::messages_resource_request
process::metrics::Counter mesos::internal::master::Metrics::messages_revive_offers
process::metrics::Counter mesos::internal::master::Metrics::messages_status_update
process::metrics::Counter mesos::internal::master::Metrics::messages_status_update_acknowledgement
process::metrics::Counter mesos::internal::master::Metrics::messages_suppress_offers
process::metrics::Counter mesos::internal::master::Metrics::messages_unregister_framework
process::metrics::Counter mesos::internal::master::Metrics::messages_unregister_slave
process::metrics::Counter mesos::internal::master::Metrics::messages_update_slave
OperationStates mesos::internal::master::Metrics::operation_states
hashmap<Offer::Operation::Type, OperationStates> mesos::internal::master::Metrics::operation_type_states
process::metrics::PushGauge mesos::internal::master::Metrics::operator_event_stream_subscribers
process::metrics::PullGauge mesos::internal::master::Metrics::outstanding_offers
process::metrics::Counter mesos::internal::master::Metrics::recovery_slave_removals
std::vector<process::metrics::PullGauge> mesos::internal::master::Metrics::resources_percent
std::vector<process::metrics::PullGauge> mesos::internal::master::Metrics::resources_revocable_percent
std::vector<process::metrics::PullGauge> mesos::internal::master::Metrics::resources_revocable_total
std::vector<process::metrics::PullGauge> mesos::internal::master::Metrics::resources_revocable_used
std::vector<process::metrics::PullGauge> mesos::internal::master::Metrics::resources_total
std::vector<process::metrics::PullGauge> mesos::internal::master::Metrics::resources_used
process::metrics::Counter mesos::internal::master::Metrics::slave_registrations
process::metrics::Counter mesos::internal::master::Metrics::slave_removals
process::metrics::Counter mesos::internal::master::Metrics::slave_removals_reason_registered
process::metrics::Counter mesos::internal::master::Metrics::slave_removals_reason_unhealthy
process::metrics::Counter mesos::internal::master::Metrics::slave_removals_reason_unregistered
process::metrics::Counter mesos::internal::master::Metrics::slave_reregistrations
process::metrics::Counter mesos::internal::master::Metrics::slave_shutdowns_canceled
process::metrics::Counter mesos::internal::master::Metrics::slave_shutdowns_completed
process::metrics::Counter mesos::internal::master::Metrics::slave_shutdowns_scheduled
process::metrics::Counter mesos::internal::master::Metrics::slave_unreachable_canceled
process::metrics::Counter mesos::internal::master::Metrics::slave_unreachable_completed
process::metrics::Counter mesos::internal::master::Metrics::slave_unreachable_scheduled
process::metrics::PullGauge mesos::internal::master::Metrics::slaves_active
process::metrics::PullGauge mesos::internal::master::Metrics::slaves_connected
process::metrics::PullGauge mesos::internal::master::Metrics::slaves_disconnected
process::metrics::PullGauge mesos::internal::master::Metrics::slaves_inactive
process::metrics::PullGauge mesos::internal::master::Metrics::slaves_unreachable
process::metrics::Counter mesos::internal::master::Metrics::tasks_dropped
process::metrics::Counter mesos::internal::master::Metrics::tasks_error
process::metrics::Counter mesos::internal::master::Metrics::tasks_failed
process::metrics::Counter mesos::internal::master::Metrics::tasks_finished
process::metrics::Counter mesos::internal::master::Metrics::tasks_gone
process::metrics::Counter mesos::internal::master::Metrics::tasks_gone_by_operator
process::metrics::Counter mesos::internal::master::Metrics::tasks_killed
process::metrics::PullGauge mesos::internal::master::Metrics::tasks_killing
process::metrics::Counter mesos::internal::master::Metrics::tasks_lost
process::metrics::PullGauge mesos::internal::master::Metrics::tasks_running
process::metrics::PullGauge mesos::internal::master::Metrics::tasks_staging
process::metrics::PullGauge mesos::internal::master::Metrics::tasks_starting
hashmap<TaskState, SourcesReasons> mesos::internal::master::Metrics::tasks_states
process::metrics::PullGauge mesos::internal::master::Metrics::tasks_unreachable
process::metrics::PullGauge mesos::internal::master::Metrics::uptime_secs
process::metrics::Counter mesos::internal::master::Metrics::valid_executor_to_framework_messages
process::metrics::Counter mesos::internal::master::Metrics::valid_framework_to_executor_messages
process::metrics::Counter mesos::internal::master::Metrics::valid_operation_status_update_acknowledgements
process::metrics::Counter mesos::internal::master::Metrics::valid_operation_status_updates
process::metrics::Counter mesos::internal::master::Metrics::valid_status_update_acknowledgements
process::metrics::Counter mesos::internal::master::Metrics::valid_status_updates

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