Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::ImpaladMetrics Class Reference

#include <impalad-metrics.h>

Collaboration diagram for impala::ImpaladMetrics:

Static Public Member Functions

static void CreateMetrics (MetricGroup *m)
 

Static Public Attributes

static IntGaugeHASH_TABLE_TOTAL_BYTES = NULL
 
static IntCounterIMPALA_SERVER_NUM_FRAGMENTS = NULL
 
static IntCounterIMPALA_SERVER_NUM_QUERIES = NULL
 
static IntCounterNUM_QUERIES_EXPIRED = NULL
 
static IntCounterNUM_QUERIES_SPILLED = NULL
 
static IntCounterNUM_RANGES_MISSING_VOLUME_ID = NULL
 
static IntCounterNUM_RANGES_PROCESSED = NULL
 
static IntCounterNUM_SESSIONS_EXPIRED = NULL
 
static IntGaugeCATALOG_NUM_DBS = NULL
 
static IntGaugeCATALOG_NUM_TABLES = NULL
 
static IntGaugeIMPALA_SERVER_NUM_OPEN_BEESWAX_SESSIONS = NULL
 
static IntGaugeIMPALA_SERVER_NUM_OPEN_HS2_SESSIONS = NULL
 
static IntGaugeIO_MGR_NUM_BUFFERS = NULL
 
static IntGaugeIO_MGR_NUM_OPEN_FILES = NULL
 
static IntGaugeIO_MGR_NUM_UNUSED_BUFFERS = NULL
 
static IntGaugeIO_MGR_TOTAL_BYTES = NULL
 
static IntGaugeIO_MGR_BYTES_READ = NULL
 
static IntGaugeIO_MGR_LOCAL_BYTES_READ = NULL
 
static IntGaugeIO_MGR_CACHED_BYTES_READ = NULL
 
static IntGaugeIO_MGR_SHORT_CIRCUIT_BYTES_READ = NULL
 
static IntGaugeIO_MGR_BYTES_WRITTEN = NULL
 
static IntGaugeMEM_POOL_TOTAL_BYTES = NULL
 
static IntGaugeNUM_FILES_OPEN_FOR_INSERT = NULL
 
static IntGaugeRESULTSET_CACHE_TOTAL_NUM_ROWS = NULL
 
static IntGaugeRESULTSET_CACHE_TOTAL_BYTES = NULL
 
static BooleanPropertyCATALOG_READY = NULL
 
static BooleanPropertyIMPALA_SERVER_READY = NULL
 
static StringPropertyIMPALA_SERVER_START_TIME = NULL
 
static StringPropertyIMPALA_SERVER_VERSION = NULL
 

Detailed Description

Global impalad-wide metrics. This is useful for objects that want to update metrics without having to do frequent metrics lookups. These get created by impala-server from the Metrics object in ExecEnv right when the ImpaladServer starts up.

Definition at line 123 of file impalad-metrics.h.

Member Function Documentation

void impala::ImpaladMetrics::CreateMetrics ( MetricGroup m)
static

Definition at line 121 of file impalad-metrics.cc.

References impala::MetricGroup::AddCounter(), impala::MetricGroup::AddGauge(), impala::MetricGroup::AddProperty(), impala::ImpaladMetricKeys::CATALOG_NUM_DBS, CATALOG_NUM_DBS, impala::ImpaladMetricKeys::CATALOG_NUM_TABLES, CATALOG_NUM_TABLES, impala::ImpaladMetricKeys::CATALOG_READY, CATALOG_READY, impala::GetVersionString(), impala::ImpaladMetricKeys::HASH_TABLE_TOTAL_BYTES, HASH_TABLE_TOTAL_BYTES, impala::ImpaladMetricKeys::IMPALA_SERVER_NUM_FRAGMENTS, IMPALA_SERVER_NUM_FRAGMENTS, impala::ImpaladMetricKeys::IMPALA_SERVER_NUM_OPEN_BEESWAX_SESSIONS, IMPALA_SERVER_NUM_OPEN_BEESWAX_SESSIONS, impala::ImpaladMetricKeys::IMPALA_SERVER_NUM_OPEN_HS2_SESSIONS, IMPALA_SERVER_NUM_OPEN_HS2_SESSIONS, impala::ImpaladMetricKeys::IMPALA_SERVER_NUM_QUERIES, IMPALA_SERVER_NUM_QUERIES, impala::ImpaladMetricKeys::IMPALA_SERVER_READY, IMPALA_SERVER_READY, impala::ImpaladMetricKeys::IMPALA_SERVER_START_TIME, IMPALA_SERVER_START_TIME, impala::ImpaladMetricKeys::IMPALA_SERVER_VERSION, IMPALA_SERVER_VERSION, impala::ImpaladMetricKeys::IO_MGR_BYTES_READ, IO_MGR_BYTES_READ, impala::ImpaladMetricKeys::IO_MGR_BYTES_WRITTEN, IO_MGR_BYTES_WRITTEN, impala::ImpaladMetricKeys::IO_MGR_CACHED_BYTES_READ, IO_MGR_CACHED_BYTES_READ, impala::ImpaladMetricKeys::IO_MGR_LOCAL_BYTES_READ, IO_MGR_LOCAL_BYTES_READ, impala::ImpaladMetricKeys::IO_MGR_NUM_BUFFERS, IO_MGR_NUM_BUFFERS, impala::ImpaladMetricKeys::IO_MGR_NUM_OPEN_FILES, IO_MGR_NUM_OPEN_FILES, impala::ImpaladMetricKeys::IO_MGR_NUM_UNUSED_BUFFERS, IO_MGR_NUM_UNUSED_BUFFERS, impala::ImpaladMetricKeys::IO_MGR_SHORT_CIRCUIT_BYTES_READ, IO_MGR_SHORT_CIRCUIT_BYTES_READ, impala::ImpaladMetricKeys::IO_MGR_TOTAL_BYTES, IO_MGR_TOTAL_BYTES, impala::ImpaladMetricKeys::MEM_POOL_TOTAL_BYTES, MEM_POOL_TOTAL_BYTES, impala::ImpaladMetricKeys::NUM_FILES_OPEN_FOR_INSERT, NUM_FILES_OPEN_FOR_INSERT, impala::ImpaladMetricKeys::NUM_QUERIES_EXPIRED, NUM_QUERIES_EXPIRED, impala::ImpaladMetricKeys::NUM_QUERIES_SPILLED, NUM_QUERIES_SPILLED, NUM_RANGES_MISSING_VOLUME_ID, NUM_RANGES_PROCESSED, impala::ImpaladMetricKeys::NUM_SCAN_RANGES_MISSING_VOLUME_ID, impala::ImpaladMetricKeys::NUM_SESSIONS_EXPIRED, NUM_SESSIONS_EXPIRED, impala::ImpaladMetricKeys::RESULTSET_CACHE_TOTAL_BYTES, RESULTSET_CACHE_TOTAL_BYTES, impala::ImpaladMetricKeys::RESULTSET_CACHE_TOTAL_NUM_ROWS, RESULTSET_CACHE_TOTAL_NUM_ROWS, and impala::ImpaladMetricKeys::TOTAL_SCAN_RANGES_PROCESSED.

Referenced by impala::ImpalaServer::ImpalaServer().

Member Data Documentation

IntGauge * impala::ImpaladMetrics::CATALOG_NUM_DBS = NULL
static

Definition at line 135 of file impalad-metrics.h.

Referenced by CreateMetrics(), and impala::ImpalaServer::UpdateCatalogMetrics().

IntGauge * impala::ImpaladMetrics::CATALOG_NUM_TABLES = NULL
static

Definition at line 136 of file impalad-metrics.h.

Referenced by CreateMetrics(), and impala::ImpalaServer::UpdateCatalogMetrics().

BooleanProperty * impala::ImpaladMetrics::CATALOG_READY = NULL
static
IntGauge * impala::ImpaladMetrics::HASH_TABLE_TOTAL_BYTES = NULL
static
IntCounter * impala::ImpaladMetrics::IMPALA_SERVER_NUM_FRAGMENTS = NULL
static

Definition at line 127 of file impalad-metrics.h.

Referenced by CreateMetrics(), and impala::FragmentMgr::FragmentExecThread().

IntGauge * impala::ImpaladMetrics::IMPALA_SERVER_NUM_OPEN_BEESWAX_SESSIONS = NULL
static
IntGauge * impala::ImpaladMetrics::IMPALA_SERVER_NUM_OPEN_HS2_SESSIONS = NULL
static

Definition at line 138 of file impalad-metrics.h.

Referenced by impala::ImpalaServer::CloseSessionInternal(), and CreateMetrics().

IntCounter * impala::ImpaladMetrics::IMPALA_SERVER_NUM_QUERIES = NULL
static

Definition at line 128 of file impalad-metrics.h.

Referenced by CreateMetrics(), and impala::ImpalaServer::Execute().

BooleanProperty * impala::ImpaladMetrics::IMPALA_SERVER_READY = NULL
static

Definition at line 154 of file impalad-metrics.h.

Referenced by CreateMetrics(), main(), and impala::ImpalaServer::SetOffline().

StringProperty * impala::ImpaladMetrics::IMPALA_SERVER_START_TIME = NULL
static

Definition at line 155 of file impalad-metrics.h.

Referenced by CreateMetrics(), and impala::ImpalaServer::ImpalaServer().

StringProperty * impala::ImpaladMetrics::IMPALA_SERVER_VERSION = NULL
static

Definition at line 156 of file impalad-metrics.h.

Referenced by CreateMetrics().

IntGauge * impala::ImpaladMetrics::IO_MGR_BYTES_READ = NULL
static
IntGauge * impala::ImpaladMetrics::IO_MGR_BYTES_WRITTEN = NULL
static

Definition at line 147 of file impalad-metrics.h.

Referenced by CreateMetrics(), and impala::DiskIoMgr::WriteRangeHelper().

IntGauge * impala::ImpaladMetrics::IO_MGR_CACHED_BYTES_READ = NULL
static
IntGauge * impala::ImpaladMetrics::IO_MGR_LOCAL_BYTES_READ = NULL
static
IntGauge * impala::ImpaladMetrics::IO_MGR_NUM_BUFFERS = NULL
static
IntGauge * impala::ImpaladMetrics::IO_MGR_NUM_OPEN_FILES = NULL
static
IntGauge * impala::ImpaladMetrics::IO_MGR_NUM_UNUSED_BUFFERS = NULL
static
IntGauge * impala::ImpaladMetrics::IO_MGR_SHORT_CIRCUIT_BYTES_READ = NULL
static
IntGauge * impala::ImpaladMetrics::IO_MGR_TOTAL_BYTES = NULL
static
IntGauge * impala::ImpaladMetrics::MEM_POOL_TOTAL_BYTES = NULL
static
IntGauge * impala::ImpaladMetrics::NUM_FILES_OPEN_FOR_INSERT = NULL
static
IntCounter * impala::ImpaladMetrics::NUM_QUERIES_EXPIRED = NULL
static

Definition at line 129 of file impalad-metrics.h.

Referenced by CreateMetrics(), and impala::ImpalaServer::ExpireQueries().

IntCounter * impala::ImpaladMetrics::NUM_QUERIES_SPILLED = NULL
static
IntCounter * impala::ImpaladMetrics::NUM_RANGES_MISSING_VOLUME_ID = NULL
static

Definition at line 131 of file impalad-metrics.h.

Referenced by CreateMetrics(), and impala::HdfsScanNode::Prepare().

IntCounter * impala::ImpaladMetrics::NUM_RANGES_PROCESSED = NULL
static

Definition at line 132 of file impalad-metrics.h.

Referenced by CreateMetrics(), and impala::HdfsScanNode::Prepare().

IntCounter * impala::ImpaladMetrics::NUM_SESSIONS_EXPIRED = NULL
static

Definition at line 133 of file impalad-metrics.h.

Referenced by CreateMetrics(), and impala::ImpalaServer::ExpireSessions().

IntGauge * impala::ImpaladMetrics::RESULTSET_CACHE_TOTAL_BYTES = NULL
static
IntGauge * impala::ImpaladMetrics::RESULTSET_CACHE_TOTAL_NUM_ROWS = NULL
static

The documentation for this class was generated from the following files: