Project Monocle

Logo

Monocle helps developers and platform engineers building or managing GenAI apps monitor these in prod by making it easy to instrument their code to capture traces that are compliant with the open-source cloud-native observability ecosystem.

View on Github

Instrument TypeScript GenAI code

    npm install --save monacle2ai

Instrument Python GenAI code

    pip install monocle_apptrace 

Examine the traces

By default Monocle traces are written out to a json file monocle_trace_<workflow>_<traceID>_<timestamp>.json in the directory where the application is executed. Checkout this example