Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: remove redundant readme files (#5900)

Aleksandar Jovanov4fc339dbac22
diff --git a/ee/Readme.md b/ee/Readme.md
deleted file mode 100644
index fdc23d6341..0000000000
--- a/ee/Readme.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Enterprise Edition
-
-This folder includes features that are only available in the Enterprise Edition of Langfuse and on Langfuse Cloud.
-
-See [LICENSE](../LICENSE) and [docs](https://langfuse.com/docs/open-source) for more details.
diff --git a/packages/shared/src/server/instrumentation/Readme.md b/packages/shared/src/server/instrumentation/Readme.md
deleted file mode 100644
index 5913594009..0000000000
--- a/packages/shared/src/server/instrumentation/Readme.md
+++ /dev/null
@@ -1,14 +0,0 @@
-# Instrumentation at Langfuse
-
-Throughout our applications we want to use as much Otel as possible. This helps us to be flexible choosing our observability backend, and we will benefit from features and packages built by the Otel community.
-
-## How to use Otel in your application
-
-- Use the `instrument` or `instrument` functions to wrap your functions with Otel instrumentation. This will automatically create spans for your functions and send them to the Otel collector. If an instrumented function throws, exceptions will be added to the span and the span will be marked as failed.
-- Use `recordGauge`, `recordCounter`, `recordHistogram` to record metrics. These will be sent to the Otel collector.
-
-## Configuration options
-
-- `web` and `worker` have an instrumentation.ts file, which configures otel for the application.
-- For trpc, we use `@baselime/trpc-opentelemetry-middleware` to enrich spans with trpc inputs and outputs.
-- When building adding new infrastructure, we should search for auto instumentations for our code base.
diff --git a/packages/shared/src/server/repositories/Readme.md b/packages/shared/src/server/repositories/Readme.md
deleted file mode 100644
index fb813f32b2..0000000000
--- a/packages/shared/src/server/repositories/Readme.md
+++ /dev/null
@@ -1,15 +0,0 @@
-## Repository docs
-
-### Guarantees for relating data within Langfuse
-
-- Finding a Trace based on an observation [Linear](https://linear.app/langfuse/issue/LFE-2745/improve-generations-table-query-performance)
- - Traces can occur earlier than an observation.
- - 96% of observations.start_time occur 2 mins later than the trace.timestamp
- - There is a very large long-tail. Hence we will use a 2-day (2880 min) look back for now.
-- Finding an Observation based on a Trace [Linear](https://linear.app/langfuse/issue/LFE-2409/table-queries)
- - Observations have a very high likelihood of happening after the trace.
- - 97% of traces.timestamp occur 2 mins earlier than the observation.start_time
- - We will maintain a 1 hour cutoff for now.
-- Finding traces/observations based on a Score timestamp
- - For scores we have a very high likelihood of happening after the trace / observation.
- - We maintain a 1 hour cutoff for now.
diff --git a/web/src/features/prompts/readme.md b/web/src/features/prompts/readme.md
deleted file mode 100644
index 2ce8d793f1..0000000000
--- a/web/src/features/prompts/readme.md
+++ /dev/null
@@ -1,17 +0,0 @@
-## Caching Strategy of Prompts
-
-The caching strategy for prompts is implemented in the `PromptService` class and is utilized in the `createPrompt` function. Here is an overview of how the caching mechanism works:
-
-### Cache Structure
-
-The cache for prompts is managed using Redis. The cache key looks like the following: `prompt:<project-id>:<prompt-name>:<prompt-<version ?? label>` This means that for each prompt name we have multiple keys in Redis. Also, if a prompt has multiple labels, it will appear in the cache multiple times.
-
-### Creation and updates of prompts
-
-We never update prompts in the cache. Instead, we remove all cache entries for a prompt name of a project when a prompt is updated. This ensures that the cache is always up-to-date with the database.
-For this, we first acquire a lock in Redis, invalidate the cache, execute the operation in Postgres, and then release the lock.
-
-### Reading prompts
-
-When reading prompts, we check whether a lock exists. If it does not, we proceed to read the prompt from the cache. Thereby, we reset the ttl of the cache entry to ensure it remains in the cache.
-If the lock exists, or the entry is not in Redis, we read the prompt from Postgres and store it in the cache.