Skip to main content
Version: 3.12.0

source-monitoring-metrics

Graph

ParameterDescription
num_active_queriesThe number of changes in the number of active queries.
Formula: The number of started queries minus the number of finished queries within a specified time.
num_active_sessionsThe number of changes in the number of active sessions.
Formula: The number of logged in sessions minus the number of logged out sessions within a specified time.
For example, when querying num_active_sessions.sum.5, if there were 10 sessions logged in and 30 sessions logged out in the last 5 seconds, the value of this metric is -20 (10-30).
num_aggregate_executorsThe number of executions for the Aggregation operator.
num_auth_failed_sessions_bad_username_passwordThe number of sessions where authentication failed due to incorrect username and password.
num_auth_failed_sessions_out_of_max_allowedThe number of sessions that failed to authenticate logins because the value of the parameter FLAG_OUT_OF_MAX_ALLOWED_CONNECTIONS was exceeded.
num_auth_failed_sessionsThe number of sessions in which login authentication failed.
num_indexscan_executorsThe number of executions for index scan operators.
num_killed_queriesThe number of killed queries.
num_opened_sessionsThe number of sessions connected to the server.
num_queriesThe number of queries.
num_query_errors_leader_changesThe number of query errors due to the raft leader changes.
num_query_errorsThe number of query errors.
num_reclaimed_expired_sessionsThe number of expired sessions actively reclaimed by the server.
num_rpc_sent_to_metad_failedThe number of failed RPC requests that the Graphd service sent to the Metad service.
num_rpc_sent_to_metadThe number of RPC requests that the Graphd service sent to the Metad service.
num_rpc_sent_to_storaged_failedThe number of failed RPC requests that the Graphd service sent to the Storaged service.
num_rpc_sent_to_storagedThe number of RPC requests that the Graphd service sent to the Storaged service.
num_sentencesThe number of statements received by the Graphd service.
num_slow_queriesThe number of slow queries.
num_sort_executorsThe number of executions for the Sort operator.
optimizer_latency_usThe latency of executing optimizer statements.
query_latency_usThe latency of queries.
slow_query_latency_usThe latency of slow queries.
num_queries_hit_memory_watermarkThe number of queries reached the memory watermark.
resp_part_completenessThe completeness of the partial success. You need to set accept_partial_success to true in the graph configuration first.

Meta

ParameterDescription
commit_log_latency_usThe latency of committing logs in Raft.
commit_snapshot_latency_usThe latency of committing snapshots in Raft.
heartbeat_latency_usThe latency of heartbeats.
num_heartbeatsThe number of heartbeats.
num_raft_votesThe number of votes in Raft.
transfer_leader_latency_usThe latency of transferring the raft leader.
num_agent_heartbeatsThe number of heartbeats for the AgentHBProcessor.
agent_heartbeat_latency_usThe latency of the AgentHBProcessor.
replicate_log_latency_usThe latency of replicating the log record to most nodes by Raft.
num_send_snapshotThe number of times that Raft sends snapshots to other nodes.
append_log_latency_usThe latency of replicating the log record to a single node by Raft.
append_wal_latency_usThe Raft write latency for a single WAL.
num_grant_votesThe number of times that Raft votes for other nodes.
num_start_electThe number of times that Raft starts an election.

Storage

ParameterDescription
add_edges_latency_usThe latency of adding edges.
add_vertices_latency_usThe latency of adding vertices.
commit_log_latency_usThe latency of committing logs in Raft.
commit_snapshot_latency_usThe latency of committing snapshots in Raft.
delete_edges_latency_usThe latency of deleting edges.
delete_vertices_latency_usThe latency of deleting vertices.
get_neighbors_latency_usThe latency of querying neighbor vertices.
get_dst_by_src_latency_usThe latency of querying the destination vertex by the source vertex.
num_get_propThe number of executions for the GetPropProcessor.
num_get_neighbors_errorsThe number of execution errors for the GetNeighborsProcessor.
num_get_dst_by_src_errorsThe number of execution errors for the GetDstBySrcProcessor.
get_prop_latency_usThe latency of executions for the GetPropProcessor.
num_edges_deletedThe number of deleted edges.
num_edges_insertedThe number of inserted edges.
num_raft_votesThe number of votes in Raft.
num_rpc_sent_to_metad_failedThe number of failed RPC requests that the Storage service sent to the Meta service.
num_rpc_sent_to_metadThe number of RPC requests that the Storaged service sent to the Metad service.
num_tags_deletedThe number of deleted tags.
num_vertices_deletedThe number of deleted vertices.
num_vertices_insertedThe number of inserted vertices.
transfer_leader_latency_usThe latency of transferring the raft leader.
lookup_latency_usThe latency of executions for the LookupProcessor.
num_lookup_errorsThe number of execution errors for the LookupProcessor.
num_scan_vertexThe number of executions for the ScanVertexProcessor.
num_scan_vertex_errorsThe number of execution errors for the ScanVertexProcessor.
update_edge_latency_usThe latency of executions for the UpdateEdgeProcessor.
num_update_vertexThe number of executions for the UpdateVertexProcessor.
num_update_vertex_errorsThe number of execution errors for the UpdateVertexProcessor.
kv_get_latency_usThe latency of executions for the Getprocessor.
kv_put_latency_usThe latency of executions for the PutProcessor.
kv_remove_latency_usThe latency of executions for the RemoveProcessor.
num_kv_get_errorsThe number of execution errors for the GetProcessor.
num_kv_getThe number of executions for the GetProcessor.
num_kv_put_errorsThe number of execution errors for the PutProcessor.
num_kv_putThe number of executions for the PutProcessor.
num_kv_remove_errorsThe number of execution errors for the RemoveProcessor.
num_kv_removeThe number of executions for the RemoveProcessor.
forward_tranx_latency_usThe latency of transmission.
scan_edge_latency_usThe latency of executions for the ScanEdgeProcessor.
num_scan_edge_errorsThe number of execution errors for the ScanEdgeProcessor.
num_scan_edgeThe number of executions for the ScanEdgeProcessor.
scan_vertex_latency_usThe latency of executions for the ScanVertexProcessor.
num_add_edgesThe number of times that edges are added.
num_add_edges_errorsThe number of errors when adding edges.
num_add_verticesThe number of times that vertices are added.
num_start_electThe number of times that Raft starts an election.
num_add_vertices_errorsThe number of errors when adding vertices.
num_delete_vertices_errorsThe number of errors when deleting vertices.
append_log_latency_usThe latency of replicating the log record to a single node by Raft.
num_grant_votesThe number of times that Raft votes for other nodes.
replicate_log_latency_usThe latency of replicating the log record to most nodes by Raft.
num_delete_tagsThe number of times that tags are deleted.
num_delete_tags_errorsThe number of errors when deleting tags.
num_delete_edgesThe number of edge deletions.
num_delete_edges_errorsThe number of errors when deleting edges
num_send_snapshotThe number of times that snapshots are sent.
update_vertex_latency_usThe latency of executions for the UpdateVertexProcessor.
append_wal_latency_usThe Raft write latency for a single WAL.
num_update_edgeThe number of executions for the UpdateEdgeProcessor.
delete_tags_latency_usThe latency of deleting tags.
num_update_edge_errorsThe number of execution errors for the UpdateEdgeProcessor.
num_get_neighborsThe number of executions for the GetNeighborsProcessor.
num_get_dst_by_srcThe number of executions for the GetDstBySrcProcessor.
num_get_prop_errorsThe number of execution errors for the GetPropProcessor.
num_delete_verticesThe number of times that vertices are deleted.
num_lookupThe number of executions for the LookupProcessor.
num_sync_dataThe number of times the Storage service synchronizes data from the Drainer.
num_sync_data_errorsThe number of errors that occur when the Storage service synchronizes data from the Drainer.
sync_data_latency_usThe latency of the Storage service synchronizing data from the Drainer.

Graph space

note

Space-level metrics are created dynamically, so that only when the behavior is triggered in the graph space, the corresponding metric is created and can be queried by the user.

ParameterDescription
num_active_queriesThe number of queries currently being executed.
num_queriesThe number of queries.
num_sentencesThe number of statements received by the Graphd service.
optimizer_latency_usThe latency of executing optimizer statements.
query_latency_usThe latency of queries.
num_slow_queriesThe number of slow queries.
num_query_errorsThe number of query errors.
num_query_errors_leader_changesThe number of query errors due to raft leader changes.
num_killed_queriesThe number of killed queries.
num_aggregate_executorsThe number of executions for the Aggregation operator.
num_sort_executorsThe number of executions for the Sort operator.
num_indexscan_executorsThe number of executions for index scan operators.
num_auth_failed_sessions_bad_username_passwordThe number of sessions where authentication failed due to incorrect username and password.
num_auth_failed_sessionsThe number of sessions in which login authentication failed.
num_opened_sessionsThe number of sessions connected to the server.
num_queries_hit_memory_watermarkThe number of queries reached the memory watermark.
num_reclaimed_expired_sessionsThe number of expired sessions actively reclaimed by the server.
num_rpc_sent_to_metad_failedThe number of failed RPC requests that the Graphd service sent to the Metad service.
num_rpc_sent_to_metadThe number of RPC requests that the Graphd service sent to the Metad service.
num_rpc_sent_to_storaged_failedThe number of failed RPC requests that the Graphd service sent to the Storaged service.
num_rpc_sent_to_storagedThe number of RPC requests that the Graphd service sent to the Storaged service.
slow_query_latency_usThe latency of slow queries.