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.getVertexByID0.4.4, 0.5.4, 1.0.0GlobalCounter
db.getVerticesByID0.4.4, 0.5.4, 1.0.0GlobalCounter
<store>.acquireLock.calls0.4.4, 0.5.4, 1.0.0Graph StoreCounter
<store>.acquireLock.time0.4.4, 0.5.4, 1.0.0Graph StoreTimer (Histogram+Meter)
<store>.getKeys.calls0.5.4, 1.0.0Graph StoreCounter
<store>.getKeys.iterator.hasNext.calls0.5.4, 1.0.0Graph StoreCounter
<store>.getKeys.iterator.hasNext.time0.5.4, 1.0.0Graph StoreTimer (Histogram+Meter)
<store>.getKeys.iterator.next.calls0.5.4, 1.0.0Graph StoreCounter
<store>.getKeys.iterator.next.time0.5.4, 1.0.0Graph StoreTimer (Histogram+Meter)
<store>.getKeys.time0.5.4, 1.0.0Graph StoreTimer (Histogram+Meter)
<store>.getSlice.calls0.4.4, 0.5.4, 1.0.0Graph StoreCounter
<store>.getSlice.entries-histogram0.4.4, 0.5.4, 1.0.0Graph StoreHistogram
<store>.getSlice.entries-returned0.4.4, 0.5.4, 1.0.0Graph StoreCounter
<store>.getSlice.time0.4.4, 0.5.4, 1.0.0Graph StoreTimer (Histogram+Meter)
<store>.storeManager.mutate.calls1.0.0Graph StoreCounter
<store>.storeManager.mutate.time1.0.0Graph StoreTimer
global.storeManager.closeManager.calls 1.0.0GlobalCounter
global.storeManager.openDatabase.calls 1.0.0GlobalCounter
global.storeManager.startTransaction.calls 1.0.0GlobalCounter
query.graph.execute.calls0.4.4, 0.5.4, 1.0.0GlobalCounter
query.graph.execute.exceptions0.5.4GlobalCounter
query.graph.execute.time0.4.4, 0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
query.graph.getNew.calls0.4.4, 0.5.4, 1.0.0GlobalCounter
query.graph.getNew.time0.4.4, 0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
query.graph.hasDeletions.calls0.4.4, 0.5.4, 1.0.0GlobalCounter
query.graph.hasDeletions.time0.4.4, 0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
query.graph.isDeleted.calls0.4.4, 0.5.4GlobalCounter
query.graph.isDeleted.time0.4.4, 0.5.4GlobalTimer (Histogram+Meter)
query.vertex.execute.calls0.4.4, 0.5.4, 1.0.0GlobalCounter
query.vertex.execute.time0.4.4, 0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
query.vertex.getNew.calls0.4.4, 0.5.4, 1.0.0GlobalCounter
query.vertex.getNew.time0.4.4, 0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
query.vertex.hasDeletions.calls0.4.4, 0.5.4, 1.0.0GlobalCounter
query.vertex.hasDeletions.time0.4.4, 0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
query.vertex.isDeleted.calls0.5.4GlobalCounter
query.vertex.isDeleted.time0.5.4GlobalTimer (Histogram+Meter)
schemacache.name.misses0.5.4GlobalCounter
schemacache.name.retrievals0.5.4GlobalCounter
schemacache.relations.misses0.5.4GlobalCounter
schemacache.relations.retrievals0.5.4GlobalCounter
stores.acquireLock.calls0.4.4, 0.5.4, 1.0.0GlobalCounter
stores.acquireLock.time0.4.4, 0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
stores.getKeys.calls0.5.4, 1.0.0GlobalCounter
stores.getKeys.iterator.hasNext.calls0.5.4, 1.0.0GlobalCounter
stores.getKeys.iterator.hasNext.time0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
stores.getKeys.iterator.next.calls0.5.4, 1.0.0GlobalCounter
stores.getKeys.iterator.next.time0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
stores.getKeys.time0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
stores.getSlice.calls0.4.4, 0.5.4, 1.0.0GlobalCounter
stores.getSlice.entries-histogram0.4.4, 0.5.4, 1.0.0GlobalHistogram
stores.getSlice.entries-returned0.4.4, 0.5.4, 1.0.0GlobalCounter
stores.getSlice.time0.4.4, 0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
sys.schemacache.name.misses1.0.0GlobalCounter
sys.schemacache.name.retrievals1.0.0GlobalCounter
sys.schemacache.relations.misses1.0.0GlobalCounter
sys.schemacache.relations.retrievals1.0.0GlobalCounter
sys.<store>.getSlice.calls0.4.4, 0.5.4, 1.0.0System StoreCounter
sys.<store>.getSlice.entries-histogram0.4.4, 0.5.4, 1.0.0System StoreHistogram
sys.<store>.getSlice.entries-returned0.4.4, 0.5.4, 1.0.0System StoreCounter
sys.<store>.getSlice.time0.4.4, 0.5.4, 1.0.0System StoreTimer (Histogram+Meter)
sys.<store>.mutate.calls0.4.4, 0.5.4, 1.0.0System StoreCounter
sys.<store>.mutate.time0.4.4, 0.5.4, 1.0.0System StoreTimer (Histogram+Meter)
sys.stores.getSlice.calls0.4.4, 0.5.4, 1.0.0GlobalCounter
sys.stores.getSlice.entries-histogram0.4.4, 0.5.4, 1.0.0GlobalHistogram
sys.stores.getSlice.entries-returned0.4.4, 0.5.4, 1.0.0GlobalCounter
sys.stores.getSlice.time0.4.4, 0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
sys.stores.mutate.calls0.4.4, 0.5.4, 1.0.0GlobalCounter
sys.stores.mutate.time0.4.4, 0.5.4, 1.0.0GlobalTimer (Histogram+Meter)
sys.storeManager.mutate.calls1.0.0GlobalCounter
sys.storeManager.mutate.time1.0.0GlobalTimer
sys.schema.query.graph.execute.calls1.0.0GlobalCounter
sys.schema.query.graph.execute.time1.0.0GlobalTimer
sys.schema.query.graph.getNew.calls1.0.0GlobalCounter
sys.schema.query.graph.getNew.time1.0.0GlobalTimer
sys.schema.query.graph.hasDeletions.calls1.0.0GlobalCounter
sys.schema.query.graph.hasDeletions.time1.0.0GlobalTimer
sys.schema.stores.getSlice.calls1.0.0GlobalCounter
sys.schema.stores.getSlice.entries-histogram1.0.0GlobalHistogram
sys.schema.stores.getSlice.entries-returned1.0.0GlobalCounter
sys.schema.stores.getSlice.time1.0.0GlobalTimer
sys.schema.tx.begin1.0.0GlobalCounter
sys.schema.tx.rollback1.0.0GlobalCounter
sys.schema.v100_edgestore.getSlice.calls1.0.0GlobalCounter
sys.schema.v100_edgestore.getSlice.entries-histogram1.0.0GlobalHistogram
sys.schema.v100_edgestore.getSlice.entries-returned 1.0.0GlobalCounter
sys.schema.v100_edgestore.getSlice.time1.0.0GlobalTimer
sys.schema.v100_graphindex.getSlice.calls1.0.0GlobalCounter
sys.schema.v100_graphindex.getSlice.entries-histogram1.0.0GlobalHistogram
sys.schema.v100_graphindex.getSlice.entries-returned1.0.0GlobalCounter
sys.schema.v100_graphindex.getSlice.time1.0.0GlobalTimer
tx.begin0.4.4, 0.5.4, 1.0.0GlobalCounter
tx.commit0.4.4, 0.5.4, 1.0.0GlobalCounter
tx.commit.exceptions0.5.4GlobalCounter
tx.rollback0.5.4GlobalCounter

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-size0.4.4, 0.5.4, 1.0.0Gauge
<ddb>.<prefix>_ListTablesPagesTimer0.4.4, 0.5.4, 1.0.0Histogram
<ddb>.<prefix>_ListTablesHistogram0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.<prefix>_mutateManyGauge0.4.4, 0.5.4Timer (Histogram+Meter)
<ddb>.<prefix>_mutateMany1.0.0Timer (Histogram+Meter)
<ddb>.<prefix>_mutateManyKeys1.0.0Meter
<ddb>.<prefix>_mutateManyStores1.0.0Meter
<ddb>.<prefix>_mutateManyUpdateOrDeleteItemCalls1.0.0Meter
<ddb>.CreateTable.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.DeleteItem.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.DeleteItemConsumedCapacity.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Meter
<ddb>.DeleteItemRetries.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Meter
<ddb>.DeleteItemThrottling.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.DeleteTable.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.DescribeTable.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.GetItem.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.GetItemConsumedCapacity.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Meter
<ddb>.GetItemRetries.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Meter
<ddb>.GetItemThrottling.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.Query.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.QueryConsumedCapacity.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Meter
<ddb>.QueryItemCountCounter.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Counter
<ddb>.QueryItemCountHistogram.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Histogram
<ddb>.QueryPages.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Histogram
<ddb>.QueryRetries.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Meter
<ddb>.QueryThrottling.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.Scan.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.ScanConsumedCapacity.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Meter
<ddb>.ScanItemCountCounter.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Counter
<ddb>.ScanItemCountHistogram.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Histogram
<ddb>.ScanPages.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Histogram
<ddb>.ScanRetries.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Meter
<ddb>.ScanThrottling.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.UpdateItem.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)
<ddb>.UpdateItemBytes.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Histogram
<ddb>.UpdateItemConsumedCapacity.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Meter
<ddb>.UpdateItemRetries.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Meter
<ddb>.UpdateItemThrottling.<prefix>_<store>0.4.4, 0.5.4, 1.0.0Timer (Histogram+Meter)