Amazon Neptune is a fast, reliable, fully managed graph database service that makes it easy to build and run applications that work with highly connected datasets. The core of Amazon Neptune is a purpose-built, high-performance graph database engine optimized for storing billions of relationships and querying the graph with milliseconds latency.

Amazon Neptune has the following capabilities:

  • Supports popular graph models Property Graph and W3C RDF, and their respective query languages Apache TinkerPop Gremlin and SPARQL.
  • Powers graph use cases such as recommendation engines, fraud detection, knowledge graphs, drug discovery, and network security.

Use the AWS public cloud integration to discover and collect metrics against the AWS service.

External reference

Monitoring Neptune Using Amazon CloudWatch

Setup

To set up the AWS integration and discover the AWS service, go to AWS Integration Discovery Profile and select Neptune DB Cluster or Neptune DB Instance.

Event support

CloudTrail event support

  • Not Supported (Neptune DB Cluster and Neptune DB Instance)

CloudWatch alarm support

  • Supported (Neptune DB Cluster and Neptune DB Instance)
  • Configurable in OpsRamp AWS Integration Discovery Profile.

Supported metrics

OpsRamp MetricAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_neptune_BackupRetentionPeriodStorageUsedBackupRetentionPeriodStorageUsedBackup Retention Period Storage UsedBytesAverageTotal amount of backup storage used to support the Neptune DB cluster backup retention window
aws_neptune_SnapshotStorageUsedSnapshotStorageUsedSnapshot Storage UsedBytesAverageTotal amount of backup storage consumed by all snapshots outside the backup retention window
aws_neptune_TotalBackupStorageBilledTotalBackupStorageBilledTotal Backup Storage BilledBytesAverageTotal amount of backup storage billed for a given cluster, includes BackupRetentionPeriodStorageUsed and SnapshotStorageUsed
aws_neptune_VolumeBytesUsedVolumeBytesUsedVolume Bytes UsedBytesAverageTotal amount of storage allocated to the Neptune DB cluster
aws_neptune_VolumeReadIOPsVolumeReadIOPsVolume Read IO PsCountAverageTotal number of billed read I/O operations from a cluster volume, reported at 5-minute intervals
aws_neptune_VolumeWriteIOPsVolumeWriteIOPsVolume Write IO PsCountAverageTotal number of write disk I/O operations to the cluster volume, reported at 5-minute intervals
aws_neptune_CPUUtilizationCPUUtilizationCPU UtilizationPercentAveragePercentage of CPU utilization
aws_neptune_CPUCreditBalanceCPUCreditBalanceCPU Credit BalanceCountAverageNumber of CPU credits an instance has accumulated, reported at 5-minute intervals
aws_neptune_CPUCreditUsageCPUCreditUsageCPU Credit UsageCountAverageNumber of CPU credits consumed during the specified period, reported at 5-minute intervals
aws_neptune_CPUSurplusCreditBalanceCPUSurplusCreditBalanceCPU Surplus Credit BalanceCountAverageNumber of surplus credits spent by an unlimited instance when CPUCreditBalance is zero
aws_neptune_CPUSurplusCreditsChargedCPUSurplusCreditsChargedCPU Surplus Credits ChargedCountAverageNumber of spent surplus credits not paid down by earned CPU credits, incurring additional charge
aws_neptune_FreeableMemoryFreeableMemoryFreeable MemoryBytesAverageAmount of available RAM
aws_neptune_SwapUsageSwapUsageSwap UsageBytesAverageAmount of swap space used
aws_neptune_BufferCacheHitRatioBufferCacheHitRatioBuffer Cache Hit RatioPercentAveragePercentage of requests served by the buffer cache. Below 99.9% suggests upgrading instance type
aws_neptune_NumResultCacheHitNumResultCacheHitNum Result Cache HitCountAverageNumber of Gremlin result cache hits
aws_neptune_NumResultCacheMissNumResultCacheMissNum Result Cache MissCountAverageNumber of Gremlin result cache misses
aws_neptune_ResultCacheSizeInBytesResultCacheSizeInBytesResult Cache Size In BytesBytesAverageTotal estimated size of all cached items in the Gremlin result cache
aws_neptune_ResultCacheItemCountResultCacheItemCountResult Cache Item CountCountAverageNumber of items in the Gremlin result cache
aws_neptune_ResultCacheOldestItemTimestampResultCacheOldestItemTimestampResult Cache Oldest Item TimestampNoneMinimumTimestamp of the oldest item in the Gremlin result cache
aws_neptune_ResultCacheNewestItemTimestampResultCacheNewestItemTimestampResult Cache Newest Item TimestampNoneMaximumTimestamp of the newest item in the Gremlin result cache
aws_neptune_ClusterReplicaLagClusterReplicaLagCluster Replica LagMillisecondsAverageLag when replicating updates from the primary instance for read replicas
aws_neptune_ClusterReplicaLagMaximumClusterReplicaLagMaximumCluster Replica Lag MaximumMillisecondsMaximumMaximum lag between the primary instance and each Neptune DB instance in the cluster
aws_neptune_ClusterReplicaLagMinimumClusterReplicaLagMinimumCluster Replica Lag MinimumMillisecondsMinimumMinimum lag between the primary instance and each Neptune DB instance in the cluster
aws_neptune_GlobalDbDataTransferBytesGlobalDbDataTransferBytesGlobal Db Data Transfer BytesBytesAverageBytes of redo log data transferred from primary to secondary AWS Region in a global database
aws_neptune_GlobalDbReplicatedWriteIOGlobalDbReplicatedWriteIOGlobal Db Replicated Write IOCountAverageNumber of write I/O operations replicated from primary Region to secondary Region cluster volume
aws_neptune_GlobalDbProgressLagGlobalDbProgressLagGlobal Db Progress LagMillisecondsAverageMilliseconds a secondary cluster is behind the primary cluster for user and system transactions
aws_neptune_NetworkThroughputNetworkThroughputNetwork ThroughputBytes/SecondAverageNetwork throughput received from and transmitted to clients per instance
aws_neptune_NetworkTransmitThroughputNetworkTransmitThroughputNetwork Transmit ThroughputBytes/SecondAverageOutgoing network throughput transmitted to clients per instance
aws_neptune_StorageNetworkReceiveThroughputStorageNetworkReceiveThroughputStorage Network Receive ThroughputBytes/SecondAverageNetwork throughput received from the storage subsystem per instance
aws_neptune_StorageNetworkThroughputStorageNetworkThroughputStorage Network ThroughputBytes/SecondAverageNetwork throughput received from and sent to the storage subsystem per instance
aws_neptune_StorageNetworkTransmitThroughputStorageNetworkTransmitThroughputStorage Network Transmit ThroughputBytes/SecondAverageNetwork throughput sent to the storage subsystem per instance
aws_neptune_TempStorageIOPSTempStorageIOPSTemp Storage IOPSCount/SecondAverageNumber of IOPS for reads and writes on local storage attached to the instance
aws_neptune_TempStorageThroughputTempStorageThroughputTemp Storage ThroughputBytes/SecondAverageData transferred to and from local storage, measured once per second
aws_neptune_EngineUptimeEngineUptimeEngine UptimeSecondsMaximumAmount of time the instance has been running
aws_neptune_NCUUtilizationNCUUtilizationNCU UtilizationPercentAveragePercentage of current NCUs used vs maximum NCU capacity (Neptune Serverless only)
aws_neptune_ServerlessDatabaseCapacityServerlessDatabaseCapacityServerless Database CapacityCountAverageCurrent instance capacity in Neptune Capacity Units. 1 NCU = 2 GiB RAM + associated vCPU + networking
aws_neptune_TotalRequestsPerSecTotalRequestsPerSecTotal Requests Per SecCount/SecondAverageTotal requests per second to the server from all sources
aws_neptune_TotalClientErrorsPerSecTotalClientErrorsPerSecTotal Client Errors Per SecCount/SecondAverageTotal requests per second that errored out due to client-side issues
aws_neptune_TotalServerErrorsPerSecTotalServerErrorsPerSecTotal Server Errors Per SecCount/SecondAverageTotal requests per second that errored out on server due to internal failures
aws_neptune_MainRequestQueuePendingRequestsMainRequestQueuePendingRequestsMain Request Queue Pending RequestsCountAverageNumber of requests waiting in the input queue pending execution
aws_neptune_NumQueuedRequestsPerSecNumQueuedRequestsPerSecNum Queued Requests Per SecCount/SecondAverageNumber of requests queued per second
aws_neptune_NumTxCommittedNumTxCommittedNum Tx CommittedCount/SecondAverageNumber of transactions successfully committed per second
aws_neptune_NumTxOpenedNumTxOpenedNum Tx OpenedCount/SecondAverageNumber of transactions opened on the server per second
aws_neptune_NumTxRolledBackNumTxRolledBackNum Tx Rolled BackCount/SecondAverageNumber of transactions rolled back per second due to errors, or completed read-only transactions per second
aws_neptune_NumIndexDeletesPerSecNumIndexDeletesPerSecNum Index Deletes Per SecCount/SecondAverageNumber of deletes from individual indexes per second, includes rolled-back deletes
aws_neptune_NumIndexInsertsPerSecNumIndexInsertsPerSecNum Index Inserts Per SecCount/SecondAverageNumber of inserts to individual indexes per second, includes rolled-back inserts
aws_neptune_NumIndexReadsPerSecNumIndexReadsPerSecNum Index Reads Per SecCount/SecondAverageNumber of statements scanned from any index per second
aws_neptune_UndoLogListSizeUndoLogListSizeUndo Log List SizeCountAverageCount of undo logs in the undo log list. High or growing values suggest upgrading writer instance
aws_neptune_NumUndoPagesPurgedNumUndoPagesPurgedNum Undo Pages PurgedCountAverageNumber of batches purged, indicates purging progress. Value is 0 for reader instances
aws_neptune_GremlinRequestsPerSecGremlinRequestsPerSecGremlin Requests Per SecCount/SecondAverageNumber of requests per second to the Gremlin engine
aws_neptune_GremlinClientErrorsPerSecGremlinClientErrorsPerSecGremlin Client Errors Per SecCount/SecondAverageNumber of client-side errors per second in Gremlin traversals
aws_neptune_GremlinServerErrorsPerSecGremlinServerErrorsPerSecGremlin Server Errors Per SecCount/SecondAverageNumber of server-side errors per second in Gremlin traversals
aws_neptune_GremlinWebSocketOpenConnectionsGremlinWebSocketOpenConnectionsGremlin Web Socket Open ConnectionsCountAverageNumber of open WebSocket connections to Neptune
aws_neptune_SparqlRequestsPerSecSparqlRequestsPerSecSparql Requests Per SecCount/SecondAverageNumber of requests per second to the SPARQL engine
aws_neptune_SparqlClientErrorsPerSecSparqlClientErrorsPerSecSparql Client Errors Per SecCount/SecondAverageNumber of client-side errors per second in SPARQL queries
aws_neptune_SparqlServerErrorsPerSecSparqlServerErrorsPerSecSparql Server Errors Per SecCount/SecondAverageNumber of SPARQL server errors per second
aws_neptune_OpenCypherRequestsPerSecOpenCypherRequestsPerSecOpen Cypher Requests Per SecCount/SecondAverageNumber of requests per second (both HTTPS and Bolt) to the openCypher engine
aws_neptune_NumOpenCypherRequestsPerSecNumOpenCypherRequestsPerSecNum Open Cypher Requests Per SecCount/SecondAverageNumber of OpenCypher requests per second
aws_neptune_NumOpenCypherClientErrorsPerSecNumOpenCypherClientErrorsPerSecNum Open Cypher Client Errors Per SecCount/SecondAverageNumber of OpenCypher client errors per second
aws_neptune_NumOpenCypherServerErrorsPerSecNumOpenCypherServerErrorsPerSecNum Open Cypher Server Errors Per SecCount/SecondAverageNumber of OpenCypher server errors per second
aws_neptune_OpenCypherBoltOpenConnectionsOpenCypherBoltOpenConnectionsOpen Cypher Bolt Open ConnectionsCountAverageNumber of open Bolt connections to Neptune
aws_neptune_LoaderRequestsPerSecLoaderRequestsPerSecLoader Requests Per SecCount/SecondAverageNumber of loader requests per second
aws_neptune_LoaderClientErrorsPerSecLoaderClientErrorsPerSecLoader Client Errors Per SecCount/SecondAverageNumber of client-side errors per second from loader requests
aws_neptune_LoaderServerErrorsPerSecLoaderServerErrorsPerSecLoader Server Errors Per SecCount/SecondAverageNumber of loader server-side errors per second
aws_neptune_StatsNumStatementsScannedStatsNumStatementsScannedStats Num Statements ScannedCountAverageTotal number of statements scanned for DFE statistics since server started