finos / finos/fluxnova-plugins

[Feature] Apply Spring Advisors to that token usage metrics can be logged

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
3
Forks
7
Avg merge
5d 4h
Merged PRs (30d)
3

Description

### Description of Problem

Currently there is no way of getting metrics of your agent at a fluxnova level.

### Potential Solutions

Implement Spring 2.0.0 Advisors, which acts like AOP over spring calls. This can also be used to retrieve metadata including token usage. This can then be:
1. accessed via log monitoring tools
2. perhaps can be surfaced up to the control centre ui
3. can potentially be extendable so users can pass in their own advisors.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified in the issue. Start by locating the Spring call integration and reviewing the Spring 2.0.0 Advisor API, then define how token-usage metadata should be captured and logged; done should include a clear extension point for custom advisors and verified metric output.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.