Vector Stores
Neo4j
Learn how to use Langtrace with Neo4j for tracing graph database operations
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
- Install the Langtrace’s SDK and initialize the SDK in your code.
- Install the Neo4j python driver.
- 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: