Menu
Amazon DynamoDB
Developer Guide (API Version 2012-08-10)

DynamoDB Storage Backend for Titan Metrics

Titan uses the Metrics-core package to record and emit metrics. Metrics-core supports reporting metrics over JMX, HTTP, STDOUT, CSV, SLF4j, Ganglia, and Graphite. There are more reporters available as third-party plugins. You can learn more about the Metrics-core package from the Metrics website at https://dropwizard.github.io/metrics/3.1.0/manual/core/.

The DynamoDB Storage Backend for Titan generates metrics in addition to those generated by Titan.

They relate to statistics the low-level DynamoDB operations, and are listed below.

Titan Metrics

The metrics for Titan 1.0.0 and 0.5.4 are a superset of the metrics generated by Titan 0.4.4.

Note

  • <store> indicates the graph store that the metric is associated with.

Metric name Titan Version Scope Instrumentation type
db.getVertexByID 0.4.4, 0.5.4, 1.0.0 Global Counter
db.getVerticesByID 0.4.4, 0.5.4, 1.0.0 Global Counter
<store>.acquireLock.calls 0.4.4, 0.5.4, 1.0.0 Graph Store Counter
<store>.acquireLock.time 0.4.4, 0.5.4, 1.0.0 Graph Store Timer (Histogram+Meter)
<store>.getKeys.calls 0.5.4, 1.0.0 Graph Store Counter
<store>.getKeys.iterator.hasNext.calls 0.5.4, 1.0.0 Graph Store Counter
<store>.getKeys.iterator.hasNext.time 0.5.4, 1.0.0 Graph Store Timer (Histogram+Meter)
<store>.getKeys.iterator.next.calls 0.5.4, 1.0.0 Graph Store Counter
<store>.getKeys.iterator.next.time 0.5.4, 1.0.0 Graph Store Timer (Histogram+Meter)
<store>.getKeys.time 0.5.4, 1.0.0 Graph Store Timer (Histogram+Meter)
<store>.getSlice.calls 0.4.4, 0.5.4, 1.0.0 Graph Store Counter
<store>.getSlice.entries-histogram 0.4.4, 0.5.4, 1.0.0 Graph Store Histogram
<store>.getSlice.entries-returned 0.4.4, 0.5.4, 1.0.0 Graph Store Counter
<store>.getSlice.time 0.4.4, 0.5.4, 1.0.0 Graph Store Timer (Histogram+Meter)
<store>.storeManager.mutate.calls 1.0.0 Graph Store Counter
<store>.storeManager.mutate.time 1.0.0 Graph Store Timer
global.storeManager.closeManager.calls 1.0.0 Global Counter
global.storeManager.openDatabase.calls 1.0.0 Global Counter
global.storeManager.startTransaction.calls 1.0.0 Global Counter
query.graph.execute.calls 0.4.4, 0.5.4, 1.0.0 Global Counter
query.graph.execute.exceptions 0.5.4 Global Counter
query.graph.execute.time 0.4.4, 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
query.graph.getNew.calls 0.4.4, 0.5.4, 1.0.0 Global Counter
query.graph.getNew.time 0.4.4, 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
query.graph.hasDeletions.calls 0.4.4, 0.5.4, 1.0.0 Global Counter
query.graph.hasDeletions.time 0.4.4, 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
query.graph.isDeleted.calls 0.4.4, 0.5.4 Global Counter
query.graph.isDeleted.time 0.4.4, 0.5.4 Global Timer (Histogram+Meter)
query.vertex.execute.calls 0.4.4, 0.5.4, 1.0.0 Global Counter
query.vertex.execute.time 0.4.4, 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
query.vertex.getNew.calls 0.4.4, 0.5.4, 1.0.0 Global Counter
query.vertex.getNew.time 0.4.4, 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
query.vertex.hasDeletions.calls 0.4.4, 0.5.4, 1.0.0 Global Counter
query.vertex.hasDeletions.time 0.4.4, 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
query.vertex.isDeleted.calls 0.5.4 Global Counter
query.vertex.isDeleted.time 0.5.4 Global Timer (Histogram+Meter)
schemacache.name.misses 0.5.4 Global Counter
schemacache.name.retrievals 0.5.4 Global Counter
schemacache.relations.misses 0.5.4 Global Counter
schemacache.relations.retrievals 0.5.4 Global Counter
stores.acquireLock.calls 0.4.4, 0.5.4, 1.0.0 Global Counter
stores.acquireLock.time 0.4.4, 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
stores.getKeys.calls 0.5.4, 1.0.0 Global Counter
stores.getKeys.iterator.hasNext.calls 0.5.4, 1.0.0 Global Counter
stores.getKeys.iterator.hasNext.time 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
stores.getKeys.iterator.next.calls 0.5.4, 1.0.0 Global Counter
stores.getKeys.iterator.next.time 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
stores.getKeys.time 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
stores.getSlice.calls 0.4.4, 0.5.4, 1.0.0 Global Counter
stores.getSlice.entries-histogram 0.4.4, 0.5.4, 1.0.0 Global Histogram
stores.getSlice.entries-returned 0.4.4, 0.5.4, 1.0.0 Global Counter
stores.getSlice.time 0.4.4, 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
sys.schemacache.name.misses 1.0.0 Global Counter
sys.schemacache.name.retrievals 1.0.0 Global Counter
sys.schemacache.relations.misses 1.0.0 Global Counter
sys.schemacache.relations.retrievals 1.0.0 Global Counter
sys.<store>.getSlice.calls 0.4.4, 0.5.4, 1.0.0 System Store Counter
sys.<store>.getSlice.entries-histogram 0.4.4, 0.5.4, 1.0.0 System Store Histogram
sys.<store>.getSlice.entries-returned 0.4.4, 0.5.4, 1.0.0 System Store Counter
sys.<store>.getSlice.time 0.4.4, 0.5.4, 1.0.0 System Store Timer (Histogram+Meter)
sys.<store>.mutate.calls 0.4.4, 0.5.4, 1.0.0 System Store Counter
sys.<store>.mutate.time 0.4.4, 0.5.4, 1.0.0 System Store Timer (Histogram+Meter)
sys.stores.getSlice.calls 0.4.4, 0.5.4, 1.0.0 Global Counter
sys.stores.getSlice.entries-histogram 0.4.4, 0.5.4, 1.0.0 Global Histogram
sys.stores.getSlice.entries-returned 0.4.4, 0.5.4, 1.0.0 Global Counter
sys.stores.getSlice.time 0.4.4, 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
sys.stores.mutate.calls 0.4.4, 0.5.4, 1.0.0 Global Counter
sys.stores.mutate.time 0.4.4, 0.5.4, 1.0.0 Global Timer (Histogram+Meter)
sys.storeManager.mutate.calls 1.0.0 Global Counter
sys.storeManager.mutate.time 1.0.0 Global Timer
sys.schema.query.graph.execute.calls 1.0.0 Global Counter
sys.schema.query.graph.execute.time 1.0.0 Global Timer
sys.schema.query.graph.getNew.calls 1.0.0 Global Counter
sys.schema.query.graph.getNew.time 1.0.0 Global Timer
sys.schema.query.graph.hasDeletions.calls 1.0.0 Global Counter
sys.schema.query.graph.hasDeletions.time 1.0.0 Global Timer
sys.schema.stores.getSlice.calls 1.0.0 Global Counter
sys.schema.stores.getSlice.entries-histogram 1.0.0 Global Histogram
sys.schema.stores.getSlice.entries-returned 1.0.0 Global Counter
sys.schema.stores.getSlice.time 1.0.0 Global Timer
sys.schema.tx.begin 1.0.0 Global Counter
sys.schema.tx.rollback 1.0.0 Global Counter
sys.schema.v100_edgestore.getSlice.calls 1.0.0 Global Counter
sys.schema.v100_edgestore.getSlice.entries-histogram 1.0.0 Global Histogram
sys.schema.v100_edgestore.getSlice.entries-returned 1.0.0 Global Counter
sys.schema.v100_edgestore.getSlice.time 1.0.0 Global Timer
sys.schema.v100_graphindex.getSlice.calls 1.0.0 Global Counter
sys.schema.v100_graphindex.getSlice.entries-histogram 1.0.0 Global Histogram
sys.schema.v100_graphindex.getSlice.entries-returned 1.0.0 Global Counter
sys.schema.v100_graphindex.getSlice.time 1.0.0 Global Timer
tx.begin 0.4.4, 0.5.4, 1.0.0 Global Counter
tx.commit 0.4.4, 0.5.4, 1.0.0 Global Counter
tx.commit.exceptions 0.5.4 Global Counter
tx.rollback 0.5.4 Global Counter

Additional Amazon DynamoDB Storage Backend for Titan Metrics

Note

  • <prefix> is the table prefix configured in the properties file.

  • <ddb> is the DynamoDB metrics prefix configured in the properties file.

  • <store> indicates the graph store that the metric is associated with.

Metric name Titan Version Instrumentation type
<ddb>.<prefix>_executor-queue-size 0.4.4, 0.5.4, 1.0.0 Gauge
<ddb>.<prefix>_ListTablesPagesTimer 0.4.4, 0.5.4, 1.0.0 Histogram
<ddb>.<prefix>_ListTablesHistogram 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.<prefix>_mutateManyGauge 0.4.4, 0.5.4 Timer (Histogram+Meter)
<ddb>.<prefix>_mutateMany 1.0.0 Timer (Histogram+Meter)
<ddb>.<prefix>_mutateManyKeys 1.0.0 Meter
<ddb>.<prefix>_mutateManyStores 1.0.0 Meter
<ddb>.<prefix>_mutateManyUpdateOrDeleteItemCalls 1.0.0 Meter
<ddb>.CreateTable.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.DeleteItem.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.DeleteItemConsumedCapacity.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Meter
<ddb>.DeleteItemRetries.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Meter
<ddb>.DeleteItemThrottling.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.DeleteTable.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.DescribeTable.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.GetItem.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.GetItemConsumedCapacity.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Meter
<ddb>.GetItemRetries.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Meter
<ddb>.GetItemThrottling.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.Query.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.QueryConsumedCapacity.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Meter
<ddb>.QueryItemCountCounter.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Counter
<ddb>.QueryItemCountHistogram.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Histogram
<ddb>.QueryPages.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Histogram
<ddb>.QueryRetries.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Meter
<ddb>.QueryThrottling.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.Scan.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.ScanConsumedCapacity.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Meter
<ddb>.ScanItemCountCounter.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Counter
<ddb>.ScanItemCountHistogram.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Histogram
<ddb>.ScanPages.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Histogram
<ddb>.ScanRetries.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Meter
<ddb>.ScanThrottling.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.UpdateItem.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)
<ddb>.UpdateItemBytes.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Histogram
<ddb>.UpdateItemConsumedCapacity.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Meter
<ddb>.UpdateItemRetries.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Meter
<ddb>.UpdateItemThrottling.<prefix>_<store> 0.4.4, 0.5.4, 1.0.0 Timer (Histogram+Meter)