[PR #263] [MERGED] feat: track token usage in Langfuse (and fix memory leak) #366

Closed
opened 2026-10-18 21:05:25 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/pipelines/pull/263
Author: @marcklingen
Created: 9/18/2024
Status: ✅ Merged
Merged: 9/19/2024
Merged by: @tjbck

Base: main ← Head: feat/track-usage-langfuse


📝 Commits (2)

  • 77dc049 feat: track token usage in Langfuse (and fix memory leak)
  • 234571e bump version

📊 Changes

1 file changed (+18 additions, -5 deletions)

View changed files

📝 examples/filters/langfuse_filter_pipeline.py (+18 -5)

📄 Description

I suggest to track token counts in Langfuse as they are captured by openwebui

cc @samuelpetermoshi who suggested this
thanks to @mardet for sharing his implementation with me privately


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/pipelines/pull/263 **Author:** [@marcklingen](https://github.com/marcklingen) **Created:** 9/18/2024 **Status:** ✅ Merged **Merged:** 9/19/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `main` ← **Head:** `feat/track-usage-langfuse` --- ### 📝 Commits (2) - [`77dc049`](https://github.com/open-webui/pipelines/commit/77dc0493030c1f1909f0dfe8438f2ad982f1f52f) feat: track token usage in Langfuse (and fix memory leak) - [`234571e`](https://github.com/open-webui/pipelines/commit/234571e06e6df78f43be6576b48eeeadb38d0e3c) bump version ### 📊 Changes **1 file changed** (+18 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `examples/filters/langfuse_filter_pipeline.py` (+18 -5) </details> ### 📄 Description I suggest to track token counts in Langfuse as they are captured by openwebui cc @samuelpetermoshi who suggested this thanks to @mardet for sharing his implementation with me privately --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-18 21:05:25 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/pipelines#366
No description provided.