You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lastly, The way the Cloudflare billing appears to work is Monthly based on usage the previous month; they do not break cost/usage down into a "Hour" or "Day" resolution, but they do include the service dates the subscription charge is for. Would the desire here be to get the monthly cost and spread the cost out evenly for the requested resolution or only return the cost on the day it is billed? With the latter I imagine that the opencost dashboard would show "$0" for cloudflare whereas the former would at least show a "baseline [daily|hourly] cost."
First off, I assigned you this ticket so nobody duplicates this work. hope that is OK.
Second of all, I think your idea for interpolated costs is fine - if you can adjust the description or something to append - INTERPOLATED or something to that effect so that people know what you are doing.
Activity
robinbihun commentedon Nov 15, 2024
I'm not sure this cloudflare Billing Data API is returning data as expected, I was not able to get it to return anything for me. Additionally, as it appears to be deprecated would it be better to use the List Account Subscriptions API? I do not see any obvious APIs for other add-ons available (https://developers.cloudflare.com/support/account-management-billing/billing-add-on-service/).
Lastly, The way the Cloudflare billing appears to work is Monthly based on usage the previous month; they do not break cost/usage down into a "Hour" or "Day" resolution, but they do include the service dates the subscription charge is for. Would the desire here be to get the monthly cost and spread the cost out evenly for the requested resolution or only return the cost on the day it is billed? With the latter I imagine that the opencost dashboard would show "$0" for cloudflare whereas the former would at least show a "baseline [daily|hourly] cost."
ameijer commentedon Nov 18, 2024
Hi Robin,
First off, I assigned you this ticket so nobody duplicates this work. hope that is OK.
Second of all, I think your idea for interpolated costs is fine - if you can adjust the description or something to append
- INTERPOLATEDor something to that effect so that people know what you are doing.mrichman commentedon Oct 17, 2026
This has been sitting open for nearly two years. Is this still needed?