Skip to content

Conversation

@Hansehart
Copy link
Contributor

Related Issues

Proposed Changes:

Added cost and usage tracking for embedders in the Langfuse integration. Embedders now report token usage metrics to Langfuse for cost monitoring and optimization.

How did you test it?

unit tests, integration tests

Notes for the reviewer

This implementation complements the already-merged PR #2497 which added suffix-based component detection. That PR solved thegenerator whitelist issue and embedder span types. Whereas this PR adds the missing usage/cost extraction for embedders.

Checklist

@Hansehart Hansehart requested a review from a team as a code owner November 21, 2025 21:39
@Hansehart Hansehart requested review from mpangrazzi and removed request for a team November 21, 2025 21:39
@github-actions github-actions bot added integration:langfuse type:documentation Improvements or additions to documentation labels Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration:langfuse type:documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(langfuse): add cost and usage support for more generators and generally for embedders

1 participant