optscale icon indicating copy to clipboard operation
optscale copied to clipboard

Discrepancy between Azure cost analysis and OptScale cost explorer

Open valent opened this issue 9 months ago • 4 comments

Describe the bug I have two Azure subscriptions: one for production and one for development. OptScale successfully retrieves all resources and their associated costs but fails to include charges that are not directly tied to a specific subscription. For example, costs related to Reserved Instances (RIs) or Savings Plans for VMs and managed databases are missing.

To Reproduce Steps to reproduce the behavior:

  1. Add one or more Azure subscriptions to OptScale.
  2. Ensure there are additional charges, such as Reserved Instances or Savings Plans for VMs and managed databases.
  3. Compare the total cost displayed in Azure with the cost reported in OptScale.
  4. Notice that some charges are missing in OptScale.

Expected behavior All resources and associated costs under each subscription should be accurately listed in OptScale. Additionally, any other charges, such as Reserved Instances, Savings Plans, and other compute-related commitments, should be included to reflect the total cost as seen in Azure.

Screenshots Cost in optscale

Image

cost in Azure

Image

Missing costs - tagged as Others charges in Azure (Includes service charges that do not apply to a specific resource instance.)

Image

valent avatar Mar 23 '25 07:03 valent

Hi @valent, please tell me which Expense import scheme you use. You may find this information in OptScale on Azure data source details page on "Details" tab: Example: Image

stanfra avatar Mar 25 '25 04:03 stanfra

Hi @stanfra

Expense import scheme: usage

options2015 avatar Mar 25 '25 05:03 options2015

Thanks for the report! Our team working on reproducing your problem. When we will have any information or fix we will write comment in this issue.

stanfra avatar Mar 25 '25 05:03 stanfra

Thank you very much!

valent avatar Mar 25 '25 07:03 valent

Hello @valent The solution is to create a new type of instance (Reserved Instance) - reservations and the creation of new expens, just to make the costs match up perfectly.

VR-Hystax avatar Oct 21 '25 09:10 VR-Hystax

Hi @valent, problem with discrepancy between Azure cost analysis and OptScale cost explorer fixed in release with 2025102201-public version: https://github.com/hystax/optscale/releases/tag/2025102201-public ,please start cluster from this version or update existing one to it.

stanfra avatar Oct 22 '25 12:10 stanfra