Skip to content

feat: support daily granularity for cost queries#38

Merged
trstne merged 1 commit intomasterfrom
tl694-cost-granularity
Apr 23, 2026
Merged

feat: support daily granularity for cost queries#38
trstne merged 1 commit intomasterfrom
tl694-cost-granularity

Conversation

@trstne
Copy link
Copy Markdown
Contributor

@trstne trstne commented Apr 11, 2026

The GetCostAndUsage call was hardcoded to MONTHLY granularity. Add an optional granularity query parameter (DAILY or MONTHLY, defaults to MONTHLY) so callers can request day-level cost data for trend charts. The parameter is included in the cache key to avoid serving monthly results for daily requests.

The GetCostAndUsage call was hardcoded to MONTHLY granularity. Add an
optional `granularity` query parameter (DAILY or MONTHLY, defaults to
MONTHLY) so callers can request day-level cost data for trend charts.
The parameter is included in the cache key to avoid serving monthly
results for daily requests.
@trstne trstne merged commit 44acf4b into master Apr 23, 2026
2 checks passed
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