Apache Mesos
|
#include <metrics.hpp>
Classes | |
struct | Frameworks |
struct | OperationStates |
Public Types | |
typedef hashmap< TaskStatus::Reason, process::metrics::Counter > | Reasons |
typedef hashmap< TaskStatus::Source, Reasons > | SourcesReasons |
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) |
typedef hashmap<TaskStatus::Reason, process::metrics::Counter> mesos::internal::master::Metrics::Reasons |
typedef hashmap<TaskStatus::Source, Reasons> mesos::internal::master::Metrics::SourcesReasons |
|
explicit |
mesos::internal::master::Metrics::~Metrics | ( | ) |
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 | ||
) |
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 |