Skip to main content
Neo4j is a leading graph database platform that enables organizations to build intelligent applications that extract business value from connections in their data. Langtrace’s Neo4j integration lets you monitor and trace all your Neo4j database operations, including cypher queries, transaction processing, and GraphRAG operations.

Setup

  1. Install the Langtrace’s SDK and initialize the SDK in your code.
  1. Install the Neo4j python driver.
  1. Setup environment variables:

Usage

Initialize Langtrace before creating your Phidata agent:
Python

What’s being traced?

With Langtrace, the following operations are automatically traced: Query Execution
  • Query text and parameters
  • Execution time and timestamps
  • Query result, counts and metadata
  • Database and routing information
View all these trace details in the Langtrace dashboard: traces traces

Resources