Logging is here!

Neo4j

Agent Check Agent Check

Overview

Get metrics from Neo4j service in real time to:

  • Visualize and monitor Neo4j states.
  • Be notified about Neo4j failovers and events.

Setup

The Neo4j check is NOT included in the Datadog Agent package.

Installation

To install the Neo4j check on your host:

  1. Download the Datadog Agent.
  2. Download the check.py file for Neo4j.
  3. Place it in the Agent’s checks.d directory.
  4. Rename it to neo4j.py.

Configuration

To configure the Neo4j check:

  1. Create a neo4j.d/ folder in the conf.d/ folder at the root of your Agent’s directory.
  2. Create a conf.yaml file in the neo4j.d/ folder previously created.
  3. Consult the sample neo4j.yaml file and copy its content in the conf.yaml file.
  4. Edit the conf.yaml file to configure the servers to monitor:

    • neo4j_url: Set to the url of the server (i.e http://ec2-54-85-23-10.compute-1.amazonaws.com)
    • port: Set to the http port used by Neo4j. Default is 7474
    • username: Set to a valid Neo4j username
    • password: Set to the password for the username
    • connect_timeout: Setting for the length of time to attempt to connect to the Neo4j server
    • server_name: Set to what should be displayed in DataDog
    • version: Set to the Neo4j version
  5. Restart the Agent.

Validation

Run the Agent’s status subcommand and look for neo4j under the Checks section.

Data Collected

Metrics

neo4j.arraystore.size
(gauge)
The size of the array store
shown as unit
neo4j.bytes.read
(gauge)
The total number of bytes read
shown as unit
neo4j.bytes.written
(gauge)
The total number of bytes written
shown as unit
neo4j.dbms.memory.pagecache.size
(gauge)
Memory Pagecache Size
shown as unit
neo4j.page.cache.evictionexceptions
(gauge)
The total number of eviction exceptions
shown as unit
neo4j.page.cache.evictions
(gauge)
The total number of page evictions executed by the page cache.
shown as unit
neo4j.page.cache.faults
(gauge)
The total number of faults.
shown as unit
neo4j.page.cache.filemappings
(gauge)
The total number of file mappings.
shown as unit
neo4j.page.cache.fileunmappings
(gauge)
The total number of file unmappings.
shown as unit
neo4j.page.cache.flushes
(gauge)
The total number of flushes executed by the page cache.
shown as unit
neo4j.ha.pull_interval
(gauge)
The HA Pull Time Interval
shown as unit
neo4j.kernel.starttime
(gauge)
Time when the kernel started
shown as second
neo4j.kernel.version
(gauge)
The kernel version
shown as unit
neo4j.last.committed.transaction.id
(gauge)
The last committed transaction id.
shown as unit
neo4j.locks
(gauge)
The total number of locks.
shown as unit
neo4j.logicallog.size
(gauge)
The logical log size setting.
shown as unit
neo4j.memorypools
(gauge)
The size of memory pools.
shown as unit
neo4j.node.store.size
(gauge)
The size of the node store.
shown as unit
neo4j.averteddeadlocks
(gauge)
The total number of averted deadlocks.
shown as unit
neo4j.committedtransactions
(gauge)
The total number of committed transactions.
shown as unit
neo4j.nodeidsinuse
(gauge)
The total number of node ids in use.
shown as unit
neo4j.opened.transactions
(gauge)
The total number of opened transactions.
shown as unit
neo4j.open.transactions
(gauge)
The total number of open transactions.
shown as unit
neo4j.property.ids.inuse
(gauge)
The total number of property ids in use.
shown as unit
neo4j.relationship.ids.inuse
(gauge)
The total number of relationship ids in use.
shown as unit
neo4j.relationshiptype.ids.inuse
(gauge)
The total number of relationship type ides in use.
shown as unit
neo4j.peak.rolledback.transactions
(gauge)
The total number of rolled back transactions.
shown as unit
neo4j.peak.concurrenttransactions
(gauge)
The peak number of concurrent transactions.
shown as unit
neo4j.pins
(gauge)
The total number of page pins executed by the page cache.
shown as unit
neo4j.property.store.size
(gauge)
The poperty store size.
shown as unit
neo4j.relationship.store.size
(gauge)
The relationship store size.
shown as unit
neo4j.store.creationdate
(gauge)
The store creation date.
shown as unit
neo4j.storeid
(gauge)
The store id.
shown as unit
neo4j.store.log.version
(gauge)
The store log version.
shown as unit
neo4j.string.store.size
(gauge)
The string store size.
shown as unit
neo4j.total.store.size
(gauge)
The total store size.
shown as unit

Events

The Neo4j check does not include any events at this time.

Service Checks

The Neo4j check does not include any service checks at this time.

Troubleshooting

Need help? Contact Datadog Support.

Further Reading

Learn more about infrastructure monitoring and all our integrations on our blog