---
title: "Graph Metrics Reference"
description: "Reference guide for Aerospike Graph Service metrics covering Gremlinserver, JVM, and process-level monitoring."
---

# Graph Metrics Reference

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

See the [Metrics command examples](https://aerospike.com/docs/database/tools/metrics-examples) for information on usage.

 

## Gremlinserver

#### `ENGINE-NAME.session.SESSION-ID.class-cache.average-load-penalty`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.average-load-penalty`

Description: Average time spent compiling new scripts for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.estimated-size`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.estimated-size`

Description: Estimated size of the class cache for compiled scripts for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.eviction-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.eviction-count`

Description: Number of times a script compiled to a class has been evicted from the cache for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.eviction-weight`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.eviction-weight`

Description: Sum of the weights of evicted entries from the class cache for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.hit-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.hit-count`

Description: Number of times cache look up for a compiled script returned a cached value for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.hit-rate`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.hit-rate`

Description: Hit rate of the class cache for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.load-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.load-count`

Description: Total number of times the cache lookup method attempted to compile new scripts for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.load-failure-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.load-failure-count`

Description: Total number of times the cache lookup method failed to compile a new script for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.load-failure-rate`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.load-failure-rate`

Description: Ratio of script compilation attempts that failed for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.load-success-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.load-success-count`

Description: Total number of times the cache lookup method succeeded to compile a new script for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.long-run-compilation-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.long-run-compilation-count`

Description: Number of compilations that extended beyond the expected compilation time for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.miss-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.miss-count`

Description: Total number of times the cache lookup method returned a newly compiled script for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.miss-rate`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.miss-rate`

Description: Ratio of script compilation attempts that were misses for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.request-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.request-count`

Description: Total number of times the cache lookup method returned a cached or uncached value for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.session.SESSION-ID.class-cache.total-load-time`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.session.SESSION-ID.class-cache.total-load-time`

Description: Total number of nanoseconds that the cache spent compiling scripts for the session SESSION-ID with ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.average-load-penalty`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.average-load-penalty`

Description: Average time spent compiling new scripts for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.estimated-size`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.estimated-size`

Description: Estimated size of the class cache for compiled scripts for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.eviction-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.eviction-count`

Description: Number of times a script compiled to a class has been evicted from the cache for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.eviction-weight`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.eviction-weight`

Description: Sum of the weights of evicted entries from the class cache for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.hit-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.hit-count`

Description: Number of times cache look up for a compiled script returned a cached value for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.hit-rate`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.hit-rate`

Description: Hit rate of the class cache for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.load-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.load-count`

Description: Total number of times the cache lookup method attempted to compile new scripts for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.load-failure-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.load-failure-count`

Description: Total number of times the cache lookup method failed to compile a new script for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.load-failure-rate`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.load-failure-rate`

Description: Ratio of script compilation attempts that failed for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.load-success-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.load-success-count`

Description: Total number of times the cache lookup method succeeded to compile a new script for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.long-run-compilation-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.long-run-compilation-count`

Description: Number of compilations that extended beyond the expected compilation time for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.miss-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.miss-count`

Description: Total number of times the cache lookup method returned a newly compiled script for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.miss-rate`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.miss-rate`

Description: Ratio of script compilation attempts that were misses for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.request-count`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.request-count`

Description: Total number of times the cache lookup method returned a cached or uncached value for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `ENGINE-NAME.sessionless.class-cache.total-load-time`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_ENGINE-NAME.sessionless.class-cache.total-load-time`

Description: Total number of nanoseconds that the cache spent compiling scripts for the sessionless ENGINE-NAME engine.

Introduced: 1.1.0

Removed: \-

---

#### `errors`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_errors`

Description: The number of total errors, mean rate, as well as the 1, 5, and 15-minute error rates.

Introduced: 1.1.0

Removed: \-

---

#### `op.eval`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_op.eval`

Description: Number of script evaluations, mean rate, 1, 5, and 15 minute rates, minimum, maximum, median, mean, and standard deviation evaluation times, as well as the 75th, 95th, 98th, 99th and 99.9th percentile evaluation times . These time apply to both sessionless and in-session requests.

Introduced: 1.1.0

Removed: \-

---

#### `op.traversal`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_op.traversal`

Description: Number of Traversal bytecode-based executions, mean rate, 1, 5, and 15 minute rates, minimum, maximum, median, mean, and standard deviation evaluation times, as well as the 75th, 95th, 98th, 99th and 99.9th percentile evaluation times.

Introduced: 1.1.0

Removed: \-

---

#### `sessions`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlinserver_sessions`

Description: The number of sessions open at the time the metric was last measured. For the UnifiedChannelizer, each request creates a “session”, even a so-called “sessionless request”, which is basically a session that will only execute within the context of that single request.

Introduced: 1.1.0

Removed: \-

---

## Jvm

#### `buffer_pool_capacity_bytes`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_buffer_pool_capacity_bytes`

Description: Bytes capacity of a given JVM buffer pool.

Introduced: 1.1.0

Removed: \-

---

#### `buffer_pool_used_buffers`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_buffer_pool_used_buffers`

Description: Used buffers of a given JVM buffer pool.

Introduced: 1.1.0

Removed: \-

---

#### `buffer_pool_used_bytes`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_buffer_pool_used_bytes`

Description: Used bytes of a given JVM buffer pool.

Introduced: 1.1.0

Removed: \-

---

#### `classes_currently_loaded`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_classes_currently_loaded`

Description: The number of classes that are currently loaded in the JVM

Introduced: 1.1.0

Removed: \-

---

#### `classes_loaded`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_classes_loaded`

Description: The total number of classes that have been loaded since the JVM has started execution

Introduced: 1.1.0

Removed: \-

---

#### `classes_unloaded`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_classes_unloaded`

Description: The total number of classes that have been unloaded since the JVM has started execution

Introduced: 1.1.0

Removed: \-

---

#### `gc_collection_seconds`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_gc_collection_seconds`

Description: Time spent in a given JVM garbage collector in seconds.

Introduced: 1.1.0

Removed: \-

---

#### `gremlin_queue_size`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_gremlin_queue_size`

Description: The number of pending Gremlin queries to execute. It is normal for this to be a number in the order of magnitude of 4x CPU count of the AGS node.

Introduced: 2.5.0

Removed: \-

---

#### `info`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_info`

Description: VM version info

Introduced: 1.1.0

Removed: \-

---

#### `memory_bytes_committed`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_bytes_committed`

Description: Committed (bytes) of a given JVM memory area.

Introduced: 1.1.0

Removed: \-

---

#### `memory_bytes_init`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_bytes_init`

Description: Initial bytes of a given JVM memory area.

Introduced: 1.1.0

Removed: \-

---

#### `memory_bytes_max`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_bytes_max`

Description: Max (bytes) of a given JVM memory area.

Introduced: 1.1.0

Removed: \-

---

#### `memory_bytes_used`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_bytes_used`

Description: Used bytes of a given JVM memory area.

Introduced: 1.1.0

Removed: \-

---

#### `memory_objects_pending_finalization`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_objects_pending_finalization`

Description: The number of objects waiting in the finalizer queue.

Introduced: 1.1.0

Removed: \-

---

#### `memory_pool_allocated_bytes`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_pool_allocated_bytes`

Description: Total bytes allocated in a given JVM memory pool. Only updated after GC, not continuously.

Introduced: 1.1.0

Removed: \-

---

#### `memory_pool_bytes_committed`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_pool_bytes_committed`

Description: Committed bytes of a given JVM memory pool.

Introduced: 1.1.0

Removed: \-

---

#### `memory_pool_bytes_init`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_pool_bytes_init`

Description: Initial bytes of a given JVM memory pool.

Introduced: 1.1.0

Removed: \-

---

#### `memory_pool_bytes_max`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_pool_bytes_max`

Description: Max bytes of a given JVM memory pool.

Introduced: 1.1.0

Removed: \-

---

#### `memory_pool_bytes_used`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_pool_bytes_used`

Description: Used bytes of a given JVM memory pool.

Introduced: 1.1.0

Removed: \-

---

#### `memory_pool_collection_committed_bytes`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_pool_collection_committed_bytes`

Description: Committed after last collection bytes of a given JVM memory pool.

Introduced: 1.1.0

Removed: \-

---

#### `memory_pool_collection_init_bytes`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_pool_collection_init_bytes`

Description: Initial after last collection bytes of a given JVM memory pool.

Introduced: 1.1.0

Removed: \-

---

#### `memory_pool_collection_max_bytes`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_pool_collection_max_bytes`

Description: Max bytes after last collection of a given JVM memory pool.

Introduced: 1.1.0

Removed: \-

---

#### `memory_pool_collection_used_bytes`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_memory_pool_collection_used_bytes`

Description: Used bytes after last collection of a given JVM memory pool.

Introduced: 1.1.0

Removed: \-

---

#### `server_connection_queue_size`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_server_connection_queue_size`

Description: The number of pending connections to for the server to create. Pending connections may be the result of a client not closing connections or an application which establishes new connections frequently.

Introduced: 2.5.0

Removed: \-

---

#### `server_io_queue_size`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_server_io_queue_size`

Description: The number of pending read/write operations on the server’s connection to any connected clients. Pending read/write operations may be the result of a busy connection or network, or a query which returns a lot of results to the client or has a large input from the client.

Introduced: 2.5.0

Removed: \-

---

#### `server_queue_size`

Context: gremlinserver

Prometheus Name: `aerospike_graph_service_aerospike_graph_service_server_queue_size`

Description: The number of network I/O operations pending in the server queue. This includes connection requests and network read/write operations. It’s normal when there are a small number of operations in progress as compared to the value of [`aerospike.graph-service.threadPoolWorker`](https://aerospike.com/docs/graph/reference/config#aerospikegraph-servicethreadpoolworker).

Introduced: 2.4.0

Removed: \-

---

#### `threads_current`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_threads_current`

Description: Current thread count of a JVM

Introduced: 1.1.0

Removed: \-

---

#### `threads_daemon`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_threads_daemon`

Description: Daemon thread count of a JVM

Introduced: 1.1.0

Removed: \-

---

#### `threads_deadlocked`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_threads_deadlocked`

Description: Cycles of JVM-threads that are in deadlock waiting to acquire object monitors or ownable synchronizers

Introduced: 1.1.0

Removed: \-

---

#### `threads_deadlocked_monitor`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_threads_deadlocked_monitor`

Description: Cycles of JVM-threads that are in deadlock waiting to acquire object monitors

Introduced: 1.1.0

Removed: \-

---

#### `threads_peak`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_threads_peak`

Description: Peak thread count of a JVM

Introduced: 1.1.0

Removed: \-

---

#### `threads_started`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_threads_started`

Description: Started thread count of a JVM

Introduced: 1.1.0

Removed: \-

---

#### `threads_state`

Context: jvm

Prometheus Name: `aerospike_graph_service_jvm_threads_state`

Description: Current count of threads by state

Introduced: 1.1.0

Removed: \-

---

## Process

#### `cpu_seconds`

Context: process

Prometheus Name: `aerospike_graph_service_process_cpu_seconds`

Description: Total user and system CPU time spent in seconds.

Introduced: 1.1.0

Removed: \-

---

#### `max_fds`

Context: process

Prometheus Name: `aerospike_graph_service_process_max_fds`

Description: Maximum number of open file descriptors.

Introduced: 1.1.0

Removed: \-

---

#### `open_fds`

Context: process

Prometheus Name: `aerospike_graph_service_process_open_fds`

Description: Number of open file descriptors.

Introduced: 1.1.0

Removed: \-

---

#### `resident_memory_bytes`

Context: process

Prometheus Name: `aerospike_graph_service_process_resident_memory_bytes`

Description: Resident memory size in bytes.

Introduced: 1.1.0

Removed: \-

---

#### `start_time_seconds`

Context: process

Prometheus Name: `aerospike_graph_service_process_start_time_seconds`

Description: Start time of the process since unix epoch in seconds.

Introduced: 1.1.0

Removed: \-

---

#### `virtual_memory_bytes`

Context: process

Prometheus Name: `aerospike_graph_service_process_virtual_memory_bytes`

Description: Virtual memory size in bytes.

Introduced: 1.1.0

Removed: \-

---