Graph metrics

Metrics for monitoring DSE Graph with dashboard graphs and alerts in OpsCenter.

Reference of available graph metrics in OpsCenter monitoring for DSE Graph. Alerts are also available for all Graph metrics.
Note: DSE Graph metrics are available for DSE versions 5.0 and later. There is one exception: The Graph Request Latencies metric is only supported in OpsCenter for DSE versions 5.0.5 and later due to the underlying JMX MBean for the metric being renamed from datastore-latencies to request-latencies in DSE.
Metrics for monitoring DSE Graph in OpsCenter include:
  • Cache metrics: Cache metrics bound to a specific DSE graph. Per node per graph instance metrics.
  • Request Latencies: Histogram of request latencies.
  • Threadpool metrics: Global-level threadpool metrics for tasks that have active, pending, and completed threads.

Graph cache metrics 

Metrics for hits and misses to the adjacency and index caches used by DSE Graph.
Note: The graph must be configured at schema creation time to use the adjacency or index caches. For more information, see caching edges and properties in the DSE Graph documentation.
Graph: Adjacency Cache Hits
Number of hits against the adjacency cache for this graph.
Graph: Adjacency Cache Misses
Number of misses against the adjacency cache for this graph.
Graph: Index Cache Hits
Number of hits against the index cache for this graph.
Graph: Index Cache Misses
Number of misses against the index cache for this graph.

Graph transaction latencies 

Note: The Graph Request Latencies metric is only supported in OpsCenter versions 6.0.10, 6.1, and later for DSE versions 5.0.5 and later due to the underlying JMX MBean for the metric being renamed from datastore-latencies to request-latencies in DSE.
Graph: Request Latencies
The min, median, max, 90th, and 99th percentile of request latencies during the period.

Graph threadpool metrics 

Graph query threads, Graph scheduled threads, Graph system threads, and Graph Gremlin worker metrics for pending, active, and completed threads in the respective threadpools. Threadpool metrics are global across all graphs.

Graph TP: Graph Query Threads Pending
Number of pending tasks in the GraphQueryThreads thread pool.
Graph TP: Graph Query Threads Active
Number of active tasks in the GraphQueryThreads thread pool.
Graph TP: Graph Query Threads Completed
Number of tasks completed by the GraphQueryThreads thread pool.
Graph TP: Graph Scheduled Threads Pending
Number of pending tasks in the GraphScheduledThreads thread pool.
Graph TP: Graph Scheduled Threads Active
Number of active tasks in the GraphScheduledThreads thread pool.
Graph TP: Graph Scheduled Threads Completed
Number of tasks completed by the GraphScheduledThreads thread pool.
Graph TP: Graph System Threads Pending
Number of pending tasks in the GraphSystemThreads thread pool.
Graph TP: Graph System Threads Active
Number of active tasks in the GraphSystemThreads thread pool.
Graph TP: Graph System Threads Completed
Number of tasks completed by the GraphSystemThreads thread pool.
Graph TP: Gremlin Worker Threads Pending
Number of pending tasks in the GremlinWorkerThreads thread pool.
Graph TP: Gremlin Worker Threads Active
Number of active tasks in the GremlinWorkerThreads thread pool.
Graph TP: Gremlin Worker Threads Completed
Number of tasks completed by the GremlinWorkerThreads thread pool.

Dashboard Graphs for Graph Metrics 

Dashboard graphs are available for all Graph metrics in OpsCenter. Click Cluster > Dashboard > Add Graph. Select the metric from the Metric list in the Add Metric dialog:

Add graph metric dialog

The Graph list is only applicable to the per graph cache metrics.

After adding metrics and clicking Save Graph, the graphs appear on the monitoring dashboard.
Tip: Clone the Default preset tab and give it a name such as DSE Graph to organize your dashboard.

Dashboard graph for a Graph metric

For longer graph titles that are truncated in the dashboard, hover over the graph title to view it in its entirety:

Hover over graph title to view complete name

Graph Alerts 

Alerts are available for all graph metrics. Click Alerts > Notify me when > Advanced > Graph > Graph metric in the Add Alert dialog.

Alerts Advanced Graph menu

Define the notification criteria for each alert required for monitoring your DSE Graph environment.

Graph alert dialog