azure-usage-and-cost-tracking

所属分类:云原生工具
开发工具:PowerShell
文件大小:1017KB
下载次数:0
上传日期:2020-12-13 01:44:52
上 传 者sh-1993
说明:  Azure本机无服务器云解决方案示例,使用Azure持久功能(Powershell)的使用和成本跟踪器,Azur...
(Sample Azure Native Serverless Cloud Solution, Usage and Cost tracker using Azure Durable Functions(Powershell), Azure Storage, Sendgrid(Email))

文件列表:
.vscode (0, 2020-12-13)
.vscode\extensions.json (101, 2020-12-13)
.vscode\launch.json (331, 2020-12-13)
.vscode\settings.json (339, 2020-12-13)
.vscode\tasks.json (220, 2020-12-13)
LICENSE (1067, 2020-12-13)
azfuncapp (0, 2020-12-13)
azfuncapp\.funcignore (38, 2020-12-13)
azfuncapp\AzUsageExportHttpTrigger (0, 2020-12-13)
azfuncapp\AzUsageExportHttpTrigger\function.json (471, 2020-12-13)
azfuncapp\AzUsageExportHttpTrigger\run.ps1 (430, 2020-12-13)
azfuncapp\AzUsageExportOrchestrator (0, 2020-12-13)
azfuncapp\AzUsageExportOrchestrator\function.json (122, 2020-12-13)
azfuncapp\AzUsageExportOrchestrator\run.ps1 (706, 2020-12-13)
azfuncapp\DailyReportOrchestrator (0, 2020-12-13)
azfuncapp\DailyReportOrchestrator\function.json (123, 2020-12-13)
azfuncapp\DailyReportOrchestrator\run.ps1 (183, 2020-12-13)
azfuncapp\Export-AzUsageDetailsForDate (0, 2020-12-13)
azfuncapp\Export-AzUsageDetailsForDate\function.json (114, 2020-12-13)
azfuncapp\Export-AzUsageDetailsForDate\lib (0, 2020-12-13)
azfuncapp\Export-AzUsageDetailsForDate\lib\Get-AzUsageDetailsForDate.ps1 (3070, 2020-12-13)
azfuncapp\Export-AzUsageDetailsForDate\run.ps1 (1682, 2020-12-13)
azfuncapp\PushTo-AzStorageTable (0, 2020-12-13)
azfuncapp\PushTo-AzStorageTable\function.json (124, 2020-12-13)
azfuncapp\PushTo-AzStorageTable\run.ps1 (1288, 2020-12-13)
azfuncapp\PushTo-LogAnalyticsWS (0, 2020-12-13)
azfuncapp\PushTo-LogAnalyticsWS\function.json (124, 2020-12-13)
azfuncapp\PushTo-LogAnalyticsWS\lib (0, 2020-12-13)
azfuncapp\PushTo-LogAnalyticsWS\lib\OMS-Helpers.ps1 (2147, 2020-12-13)
azfuncapp\PushTo-LogAnalyticsWS\run.ps1 (1451, 2020-12-13)
azfuncapp\Send-DailyReportToEmail (0, 2020-12-13)
azfuncapp\Send-DailyReportToEmail\assets (0, 2020-12-13)
azfuncapp\Send-DailyReportToEmail\assets\report.css (805, 2020-12-13)
azfuncapp\Send-DailyReportToEmail\function.json (114, 2020-12-13)
azfuncapp\Send-DailyReportToEmail\lib (0, 2020-12-13)
azfuncapp\Send-DailyReportToEmail\lib\New-DailyCostPerRGChart.ps1 (3242, 2020-12-13)
... ...

# Azure Native Usage & Cost Tracking AzureUsageAndCostTracking #### ScreenShots: ##### Azure Portal Dashboard: A Dashboard that You can Extend & Customize Dashboard ##### Sample Daily Email Report: Get a glance of your last 7 days - Daily! not much later. Detect Cost Spikes Sooner Azure-Cost-Report-Sample.png ##### Powered by Serverless Azure Durable Functions for PowerShell Fully Powered by Azure Native Technologies AzureDurableFunctions ##### Better Blob Exports (both JSON & CSV) formats Blobs are placed in logical YYYY/MM/ path structure with Day.ext format file names, easy to locate and run further ETLs. DailyBlobExports ##### Azure Storage Table for Long Term Retention Records will also be stored in a storage table for curating Daily Reports that covers last 7 days. In order to not hit limits of Azure Billing API, I only extract 1 or 2 days worth of data at a time and use table for retro lookups. AzureStorageTableLongTerm ##### Your Data Your Rules, Logs are also Pushed to a Log Analytics Workspace This is the data backend for the Azure Portal Dashboard Charts. However, once your logs are here possibilities are endless. AzureLogAnalyticsShortTermAnalytics You can create Azure Workbooks, Azure Monitor Alerts or just run your custom queries to deep dive into your Azure usage data. AzureLogAnalyticsShortTermAnalyticsCustomQueries #### Project Naming Legend __Project Details__ Project Name: Mert Senel Tech Azure Usage Export Project ShortCode: mstaue | Environments | Code | | ------------- |:-------------:| | Development | dev | | Test | tst | | Staging | stg | | Production | prd | | Azure Resources | Code | | ------------- |:-------------:| | Function App | fnc | | Storage Account | str | | Application Insights | ais | | Log Analytics Workspace | oms | | Azure Portal Dashboard | dsh | | Azure Sendgrid | sgd | | Project Resources | Name | | ------------- |:-------------:| | App Service Plan (Consumption/Serverless) | {projCode}{env}asp | | Function App | {projCode}{env}fnc | | Function App Storage | {projCode}{env}fncstr | | Azure Usage Exports Storage | {projCode}{env}str | | Application Insights | {projCode}{env}ais | | Log Analytics Workspace | {projCode}{env}oms| | Azure Usage & Cost Monitoring Dashboard | {projCode}{env}dsh | | Azure Sendgrid | {projCode}{env}sgd | Resources Generated Example: AzureResources

近期下载者

相关文件


收藏者