Repository that contains FinOps related information for reporting.
Upload files into here, once a file(s) has been uploaded into master branch, the pipeline will automatically add the new content to the relevant Storage Account.
Similar process if you also want to remove any of the files found in file_uploads
A new component called law-finops-dashboard with separate stages has been added to the Azure DevOps pipeline. This will generate dashboards within the corresponding environment's log analytics workspace. These dashboards offer a detailed breakdown of costs per resource, resource group, resource, and log type.
The dashboards will be created in their own dedicated Resource Group.
The properties and the functions of the dashboard are defined within the dash.tpl file. The quickest way of generating this file for a new dashboard is to create the dashboard manually on test dashboard via the Azure portal and then export the configuration for reuse as code. The exported configuration can be parameterized for efficient reuse across multiple environments. Inspect the dash.tpl file and the dashboard_properties code block on the main.tf file for real examples of how this is done.
Below are the links to the set of dashboards which have been created using this pipeline.
The costs are determined through a numerical calculation, necessitating the adjustment of the cost per GB whenever necessary. This value, pertaining to the data ingested into the log analytics workspace, is configured within the variables.tf file available at this link: https://github.com/hmcts/finops-reporting/blob/master/environments/variables.tf. Any future updates or changes to this value, prompted by alterations in Microsoft's pricing or other factors, should be made through this file.
Further information on this solution can be found here.