Skip to content

Commit

Permalink
Release 3.0.8 (#281)
Browse files Browse the repository at this point in the history
* Pagination bug

* Bug fix

* Update package

* Bugfixes

* Add migration file

* adding ability to add to dataset from traces tab

* fixing z-index bug

* fixing llm parsing, disable button for non llm traces

* cleaning up api providers page

* more bug fixes, auditing models

* adding api key auth to create project api key (#270)

* Improvements to prompt playground (#272)

* fixing static text area, fixing overlap

* creating custo ui for playground taces

* fetching traces on dialog open

* fixes

* fixes

* fixes

---------

Co-authored-by: Karthik Kalyanaraman <[email protected]>

* fix

* fix

* support for o1-preview and o1-mini (#275)

* fixing live prompt bug (#277)

* DSPy enhancements (#280)

* DSPy experiments

* LiteLLM support

* eval charts

* experiment metrics

* empty state

* minor fix

* fix

* clearing invite form fields on send (#279)

* Track project creation count metrics (#271)

* adding posthog

* bug fixes, adding new env vars

* adding posthog api key to dockerfile

* updating read me

* removing sensitive data

* removing more data

* adding sign up count by team

* minor

* update

* fixes

---------

Co-authored-by: Karthik Kalyanaraman <[email protected]>

* minor

---------

Co-authored-by: dylan <[email protected]>
Co-authored-by: dylanzuber-scale3 <[email protected]>
  • Loading branch information
3 people authored Sep 26, 2024
1 parent e0fffbb commit aa8af77
Show file tree
Hide file tree
Showing 35 changed files with 1,779 additions and 58 deletions.
6 changes: 5 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ NEXT_PUBLIC_ENABLE_ADMIN_LOGIN="true"
# Azure AD Variables
AZURE_AD_CLIENT_ID="<azure_ad_client_id>"
AZURE_AD_CLIENT_SECRET="<azure_ad_client_secret>"
AZURE_AD_TENANT_ID="<azure_ad_tenant_id>"
AZURE_AD_TENANT_ID="<azure_ad_tenant_id>"

POSTHOG_HOST="https://us.i.posthog.com"

TELEMETRY_ENABLED="true"
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ WORKDIR /app

ARG LANGTRACE_VERSION

RUN NEXT_PUBLIC_ENABLE_ADMIN_LOGIN=true NEXT_PUBLIC_LANGTRACE_VERSION=$LANGTRACE_VERSION npm run build
RUN POSTHOG_API_KEY=$POSTHOG_API_KEY NEXT_PUBLIC_ENABLE_ADMIN_LOGIN=true NEXT_PUBLIC_LANGTRACE_VERSION=$LANGTRACE_VERSION npm run build

# Final release image
FROM node:21.6-bookworm AS production
Expand Down
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Langtrace.init({ api_key: <your_api_key> })
OR

```typescript
import * as Langtrace from '@langtrase/typescript-sdk'; // Must precede any llm module imports
import * as Langtrace from "@langtrase/typescript-sdk"; // Must precede any llm module imports
LangTrace.init(); // LANGTRACE_API_KEY as an ENVIRONMENT variable
```

Expand Down Expand Up @@ -119,6 +119,23 @@ docker compose down -v

`-v` flag is used to delete volumes

## Telemetry

Langtrace collects basic, non-sensitive usage data from self-hosted instances by default, which is sent to a central server (via PostHog).

The following telemetry data is collected by us:
- Project name and type
- Team name

This data helps us to:

- Understand how the platform is being used to improve key features.
- Monitor overall usage for internal analysis and reporting.

No sensitive information is gathered, and the data is not shared with third parties.

If you prefer to disable telemetry, you can do so by setting TELEMETRY_ENABLED=false in your configuration.

---

## Supported integrations
Expand All @@ -138,6 +155,7 @@ Langtrace automatically captures traces from the following vendors:
| Langchain | Framework | :x: | :white_check_mark: |
| LlamaIndex | Framework | :white_check_mark: | :white_check_mark: |
| Langgraph | Framework | :x: | :white_check_mark: |
| LiteLLM | Framework | :x: | :white_check_mark: |
| DSPy | Framework | :x: | :white_check_mark: |
| CrewAI | Framework | :x: | :white_check_mark: |
| Ollama | Framework | :x: | :white_check_mark: |
Expand Down
13 changes: 8 additions & 5 deletions app/(protected)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { getServerSession } from "next-auth";
import { redirect } from "next/navigation";
import { Suspense } from "react";
import { PageSkeleton } from "./projects/page-client";
import CustomPostHogProvider from "@/components/shared/posthog";

export default async function Layout({
children,
Expand All @@ -19,11 +20,13 @@ export default async function Layout({

return (
<Suspense fallback={<PageLoading />}>
<main className="min-h-screen w-full">
<Header email={session?.user?.email as string} />
<Separator />
{children}
</main>
<CustomPostHogProvider session={session}>
<main className="min-h-screen w-full">
<Header email={session?.user?.email as string} />
<Separator />
{children}
</main>
</CustomPostHogProvider>
</Suspense>
);
}
Expand Down
Loading

0 comments on commit aa8af77

Please sign in to comment.