Package ai.badmonkey.agentspaces.springai.usage
package ai.badmonkey.agentspaces.springai.usage
-
ClassDescriptionThe default
UsageSink.Turns Spring AI'sgen_ai.client.operationobservations into fleet usage.Publishes this peer's usage into the fleet-wide sums on the configured interval.The fleet console's model-usage panel: this peer's tokens per model and per agent, beside the fleet-wide totals push-sum estimates.Receives the token usage of every model call this process makes.