Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve service spend coverage by adding support to new Snowflake services #152

Merged
merged 3 commits into from
May 6, 2024

Conversation

fernandobrito
Copy link
Contributor

@fernandobrito fernandobrito commented May 6, 2024

Add cost information from new Snowflake services to the hourly_spend model.

Services added:

  • Hybrid Tables (storage and request costs)
  • AI Services
  • Logging
  • SnowPark Container Services
  • Copy Files (serverless cost for copying files between named stages)
  • Reader account (compute, storage, cloud services, data transfer)

For some services we can get detailed hourly usage information from the METERING_HISTORY view, while for some other services we simply take the daily spend from USAGE_IN_CURRENCY_DAILY and split it by each hour of the day.

@fernandobrito fernandobrito had a problem deploying to Approve Integration Tests May 6, 2024 10:28 — with GitHub Actions Failure
@fernandobrito fernandobrito had a problem deploying to Approve Integration Tests May 6, 2024 10:28 — with GitHub Actions Failure
@fernandobrito fernandobrito had a problem deploying to Approve Integration Tests May 6, 2024 12:22 — with GitHub Actions Failure
@fernandobrito fernandobrito had a problem deploying to Approve Integration Tests May 6, 2024 12:22 — with GitHub Actions Failure
@fernandobrito fernandobrito marked this pull request as ready for review May 6, 2024 12:23
@fernandobrito fernandobrito changed the title Add new services Improve service spend coverage by adding support to new Snowflake services May 6, 2024
@NiallRees NiallRees merged commit 65e2a71 into main May 6, 2024
0 of 2 checks passed
@NiallRees NiallRees deleted the add-new-services branch May 6, 2024 14:36
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.

2 participants