mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-28 08:49:42 +02:00
chore: add tracing documentation
This commit is contained in:
parent
9adc766f3c
commit
8ba18b485a
4 changed files with 30 additions and 11 deletions
18
docs/configurations/tracing.mdx
Normal file
18
docs/configurations/tracing.mdx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
title: "Tracing"
|
||||
description: "Trace your agents run in order to create evals and refine your prompts."
|
||||
---
|
||||
|
||||
### Langfuse
|
||||
We provide seamless integration with [Langfuse](https://github.com/langfuse/langfuse) so that you can enable tracing when you self host Dograh. In order to do that, you can sign up on [Langfuse](https://langfuse.com/) and create API credentials for you. Once you have your API tokens, you can put those in the environment variables. (If you are using docker, you can put that in `api` service of `docker-compose.yaml`).
|
||||
|
||||
```
|
||||
ENABLE_TRACING="true"
|
||||
LANGFUSE_SECRET_KEY=
|
||||
LANGFUSE_PUBLIC_KEY=
|
||||
LANGFUSE_HOST=
|
||||
```
|
||||
|
||||
Once you enable this, you would be able to see traces whenever a run completes in Dograh.
|
||||
|
||||

|
||||
|
|
@ -33,7 +33,8 @@
|
|||
"configurations/llm",
|
||||
"configurations/voice",
|
||||
"configurations/transcriber",
|
||||
"configurations/api-keys"
|
||||
"configurations/api-keys",
|
||||
"configurations/tracing"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
BIN
docs/images/view_trace.png
Normal file
BIN
docs/images/view_trace.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 185 KiB |
Loading…
Add table
Add a link
Reference in a new issue