Datadog-Neo4j Integration

Overview

Get metrics from neo4j service in real time to:

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

Installation

Install the dd-check-neo4j package manually or with your favorite configuration manager

Configuration

Edit the neo4j.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

Validation

When you run datadog-agent info you should see something like the following:

Checks
======

    neo4j
    -----------
      - instance #0 [OK]
      - Collected 39 metrics, 0 events & 0 service checks

Compatibility

The neo4j check is compatible with all major platforms

Data Collected

Metrics

Metric nameMetric typeDescription
neo4j.arraystore.sizegaugeThe size of the array store
neo4j.bytes.readgaugeThe total number of bytes read
neo4j.bytes.writtengaugeThe total number of bytes written
neo4j.dbms.memory.pagecache.sizegaugeMemory Pagecache Size
neo4j.page.cache.evictionexceptionsgaugeThe total number of eviction exceptions
neo4j.page.cache.evictionsgaugeThe total number of page evictions executed by the page cache.
neo4j.page.cache.faultsgaugeThe total number of faults.
neo4j.page.cache.filemappingsgaugeThe total number of file mappings.
neo4j.page.cache.fileunmappingsgaugeThe total number of file unmappings.
neo4j.page.cache.flushesgaugeThe total number of flushes executed by the page cache.
neo4j.ha.pull_intervalgaugeThe HA Pull Time Interval
neo4j.kernel.starttimegaugesecond
neo4j.kernel.versiongaugeThe kernel version
neo4j.last.committed.transaction.idgaugeThe last committed transaction id.
neo4j.locksgaugeThe total number of locks.
neo4j.logicallog.sizegaugeThe logical log size setting.
neo4j.memorypoolsgaugeThe size of memory pools.
neo4j.node.store.sizegaugeThe size of the node store.
neo4j.averteddeadlocksgaugeThe total number of averted deadlocks.
neo4j.committedtransactionsgaugeThe total number of committed transactions.
neo4j.nodeidsinusegaugeThe total number of node ids in use.
neo4j.opened.transactionsgaugeThe total number of opened transactions.
neo4j.open.transactionsgaugeThe total number of open transactions.
neo4j.property.ids.inusegaugeThe total number of property ids in use.
neo4j.relationship.ids.inusegaugeThe total number of relationship ids in use.
neo4j.relationshiptype.ids.inusegaugeThe total number of relationship type ides in use.
neo4j.peak.rolledback.transactionsgaugeThe total number of rolled back transactions.
neo4j.peak.concurrenttransactionsgaugeThe peak number of concurrent transactions.
neo4j.pinsgaugeThe total number of page pins executed by the page cache.
neo4j.property.store.sizegaugeThe poperty store size.
neo4j.relationship.store.sizegaugeThe relationship store size.
neo4j.store.creationdategaugeThe store creation date.
neo4j.storeidgaugeThe store id.
neo4j.store.log.versiongaugeThe store log version.
neo4j.string.store.sizegaugeThe string store size.
neo4j.total.store.sizegaugeThe total store size.

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