Neo4j is a graph database management system and an ACID-compliant transactional database with native graph storage and processing. Neo licenses Neo4j with these extensions under closed-source commercial terms.
Prerequisite
- Edit the neo4j.conf file as follows:
metrics.prometheus.enabled=true
metrics.prometheus.endpoint=localhost:2004
- The prometheus endpoint should be placed in the
/opt/opsramp/agent/conf/app/neo4j/auto-monitoring.yaml
file under the configs section. - For Virtual machines, install the Linux agent.
Configuring the application
Virtual machine
Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-detection.yaml
- name: neo4j
instance-checks:
service-check:
- neo4j
process-check:
- neo4j
port-check:
- 7474
Docker environment
Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-container-detection.yaml
- name: neo4j
container-checks:
image-check:
- neo4j
port-check:
- 7474
Kubernetes environment
Configure the application in config.yaml
- name: neo4j
container-checks:
image-check:
- neo4j
port-check:
- 7474
Validate
Go to Resources under the Infrastructure tab to check if your resources are onboarded and the metrics are collected.
Metrics
OpsRamp Metric | Metric Display Name | Unit | Description |
---|---|---|---|
neo4j_transaction_committed_total | Transaction Committed | Number of transaction committed | |
neo4j_transaction_rollbacks_read_total | Transaction Rollbacks Read | Number of transaction rollbacks read | |
neo4j_transaction_active_write | Transaction Active Write | Number of transaction active write | |
neo4j_transaction_peak_concurrent_total | Transaction Peak Concurrent | Number of transaction peak concurrent | |
neo4j_cypher_replan_events_total | Cypher Replan Events | Number of cypher replan events | |
neo4j_store_size_database | Store Size Database | Number of store size database | |
neo4j_pool_transaction_customers_total_used | Pool Transaction Customers Used | Number of pool transaction customers used | |
neo4j_pool_transaction_movies_total_used | Pool Transaction Movies Used | Number of pool transaction movies used | |
neo4j_transaction_committed_write_total | Transaction Committed Write | Number of transaction committed write | |
neo4j_transaction_rollbacks_write_total | Transaction Rollbacks Write | Number of transaction rollbacks write | |
neo4j_transaction_committed_read_total | Transaction Committed Read | Number of transaction committed read | |
neo4j_ids_in_use_property | Ids In Use Property | Number of ids in use property | |
neo4j_transaction_rollbacks_total | Transaction Rollbacks | Number of transaction rollbacks | |
neo4j_transaction_last_committed_tx_id_total | Transaction Last Committed Tx Id Total | Number of transaction last committed tx id total | |
neo4j_store_size_total | Store Size | bytes | store size |
neo4j_pool_transaction_system_total_used | Pool Transaction System Used | pool transaction system used | |
neo4j_check_point_total_time_total | Check Point Time | check point time | |
neo4j_transaction_active_read | Transaction Active Read | transaction active read | |
neo4j_ids_in_use_relationship | Ids In Use Relationship | Number of ids in use relationship | |
neo4j_check_point_duration | Check Point Duration | milliseconds | check point duration |
neo4j_ids_in_use_node | Ids In Use Node | Number of ids in use noden |