- Newest
- Most votes
- Most comments
The discrepancy you're observing between your CloudWatch metric and the invoice can be explained by a few factors:
-
Unit conversion: The CloudWatch metric MagneticCumulativeBytesMetered is measured in bytes, while the invoice reports storage in GB-Month. The conversion from bytes to GB involves dividing by 1,073,741,824 (1 GB = 1,024^3 bytes).
-
Cumulative vs. average measurement: MagneticCumulativeBytesMetered is a cumulative metric that increases over time. The invoice, however, likely reflects an average or total usage over the month.
-
Billing calculation: Amazon Timestream for LiveAnalytics calculates storage costs hourly. The magnetic store is metered in GB-month, which represents the cost of storing 1GB of data for one month.
To reconcile this:
-
Convert the CloudWatch metric to GB: 406,000,000 bytes is approximately 0.378 GB.
-
Consider the hourly measurements: Timestream emits this metric every hour. To get the GB-month value, you need to sum up all hourly measurements over the month and divide by the number of hours in the month.
-
Calculate the average: The invoice's 65.833 GB-Mo likely represents the average storage used over the month, calculated from hourly measurements.
To verify, you could:
- Check CloudWatch metrics for each hour of the month.
- Sum these hourly values.
- Divide by the number of hours in the month.
- Convert to GB-month.
This should give you a value closer to what's on your invoice. If there's still a significant discrepancy, it would be advisable to contact AWS support for a detailed explanation of your specific usage and billing.
Sources
Metering and cost optimization - Amazon Timestream
Monitoring with Amazon CloudWatch - Amazon Timestream
Amazon Timestream Pricing – Time-Series Database – AWS
This is the chart related to the MagneticCumulativeBytesMetered of the only Timestream database that contains data in my account:
Hi,
Sorry for the concern. If you'd like, you can also reach out to our Account & Billing team via our Support Center, for assistance: go.aws/support-center. They'll be happy to review your account with you.
- Sage A.
I asked to the support team but after a lot of questions and some incorrect answer they returned to me saying to pay for premium support or post a question here :( My last doubt is that the billing refers so same old timestream db or tables that I cannot see on the CloudWatch metric. Is this possible?
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 6 months ago