repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | --- |
| #2 | title: '🔭 OpenLIT' |
| #3 | description: 'OpenTelemetry-native Observability and Evals for LLMs & GPUs' |
| #4 | --- |
| #5 | |
| #6 | Embedchain now supports integration with [OpenLIT](https://github.com/openlit/openlit). |
| #7 | |
| #8 | ## Getting Started |
| #9 | |
| #10 | ### 1. Set environment variables |
| #11 | ```bash |
| #12 | # Setting environment variable for OpenTelemetry destination and authetication. |
| #13 | export OTEL_EXPORTER_OTLP_ENDPOINT = "YOUR_OTEL_ENDPOINT" |
| #14 | export OTEL_EXPORTER_OTLP_HEADERS = "YOUR_OTEL_ENDPOINT_AUTH" |
| #15 | ``` |
| #16 | |
| #17 | ### 2. Install the OpenLIT SDK |
| #18 | Open your terminal and run: |
| #19 | |
| #20 | ```shell |
| #21 | pip install openlit |
| #22 | ``` |
| #23 | |
| #24 | ### 3. Setup Your Application for Monitoring |
| #25 | Now create an app using Embedchain and initialize OpenTelemetry monitoring |
| #26 | |
| #27 | ```python |
| #28 | from embedchain import App |
| #29 | import OpenLIT |
| #30 | |
| #31 | # Initialize OpenLIT Auto Instrumentation for monitoring. |
| #32 | openlit.init() |
| #33 | |
| #34 | # Initialize EmbedChain application. |
| #35 | app = App() |
| #36 | |
| #37 | # Add data to your app |
| #38 | app.add("https://en.wikipedia.org/wiki/Elon_Musk") |
| #39 | |
| #40 | # Query your app |
| #41 | app.query("How many companies did Elon found?") |
| #42 | ``` |
| #43 | |
| #44 | ### 4. Visualize |
| #45 | |
| #46 | Once you've set up data collection with OpenLIT, you can visualize and analyze this information to better understand your application's performance: |
| #47 | |
| #48 | - **Using OpenLIT UI:** Connect to OpenLIT's UI to start exploring performance metrics. Visit the OpenLIT [Quickstart Guide](https://docs.openlit.io/latest/quickstart) for step-by-step details. |
| #49 | |
| #50 | - **Integrate with existing Observability Tools:** If you use tools like Grafana or DataDog, you can integrate the data collected by OpenLIT. For instructions on setting up these connections, check the OpenLIT [Connections Guide](https://docs.openlit.io/latest/connections/intro). |
| #51 |