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

Closed
opened 2026-02-15 20:15:14 -05:00 by yindo · 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: mainHead: 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>
yindo added the pull-request label 2026-02-15 20:15:14 -05:00
yindo closed this issue 2026-02-15 20:15:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/pipelines#357