Skip to content

[Feat]: Dashboard agent costs - #20

Open
maksymhryzodub-prog wants to merge 2 commits into
mainfrom
feat/dashboard-agent-costs
Open

[Feat]: Dashboard agent costs#20
maksymhryzodub-prog wants to merge 2 commits into
mainfrom
feat/dashboard-agent-costs

Conversation

@maksymhryzodub-prog

Copy link
Copy Markdown
Contributor

…iew API

- Updated the Rancher usage panel to provide a more interactive and reusable interface, consolidating usage data across all agents.
- Introduced a new API endpoint for fetching 30-day usage overview, including total costs and agent-specific breakdowns.
- Refactored existing components to utilize the new `UsagePanel`, which supports collapsible views and displays aggregated usage data.
- Enhanced data models and types to accommodate the new overview structure, ensuring compatibility with existing usage reporting mechanisms.
- Added comprehensive tests for the new functionality to ensure reliability and correctness.

This update aims to improve the user experience by providing clearer insights into agent usage and costs, while maintaining the integrity of existing data structures.
- Introduced `usageControllerFindOverview` method in `UsageService` to fetch a comprehensive overview of usage data across all agents for the past 30 days.
- Defined new types `UsageControllerFindOverviewData` and `UsageControllerFindOverviewResponses` to support the new API endpoint.
- This enhancement aims to provide users with clearer insights into overall usage and associated costs, complementing existing usage reporting functionalities.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant