-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
578d5ba
commit e2b8d5e
Showing
4 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# OpenTelemetry Tracing | ||
|
||
Zep supports [OpenTelemetry](https://opentelemetry.io/) tracing. This allows you to trace requests through the Zep service, identify bottlenecks, and understand the performance of your Zep deployment. In particular, this is useful to understand how LLM service latency might be impacting your Zep operations. | ||
|
||
## Enabling OpenTelemetry | ||
|
||
Set `opentelemetry.enabled` to true in your `config.yaml` file or set the `ZEP_OPENTELEMETRY_ENABLED` environment variable to true. | ||
|
||
Then, set your OpenTelemetry Exporter config in your environment. This is vendor specific, but you can an example below. | ||
|
||
``` | ||
OTEL_SERVICE_NAME="zep" | ||
OTEL_EXPORTER_OTLP_ENDPOINT="<your endpoint>" | ||
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="<your endpoint>" | ||
OTEL_EXPORTER_OTLP_HEADERS="YOUR-AUTH-HEADER" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters