[Feat]: Dashboard agent costs - #20
Open
maksymhryzodub-prog wants to merge 2 commits into
Open
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://dreamvention.atlassian.net/jira/software/c/projects/CLEAN/boards/498?selectedIssue=CLEAN-8