Detailed usage CSV file shows charges & daily usage in billing period
Download:
Sign into the Azure account Center as the Account Administrator
Select the subscription for which you want the invoice and usage information
Select billing history -> Download usage
Select billing history
Compare the usage and costs with Azure portal
Subscription -> Cost analysis -> Filter by Timespan
See estimated costs: Subscription -> Usage and estimated costs
Log Analytics
Old: OMS, new: Embedded in Azure Monitor as Logs.
It’s a dataware house for telemetry
It converts any schema to a table schema that allows you to query.
Uses KQL (pipe-based) language to query.
All monitoring roads lead to Azure Log Analytics
There’s always an integaration from an logging Azure component to Log Analytics.
You can download agents in Workspace -> Connect
Agents do not require VPN
System Center Operations Manager can send data to Log Analytics from cloud/on-prem servers.
Azure Data Explorer -> Query language is used & viewed
example: search in (Event) “error”
(https://docs.microsoft.com/en-us/azure/azure-monitor/log-query/get-started-portal)
Alert rule
Based on each query that run on regular intervals, results are evaulated to trigger an alert.
Target: Specific Azure resource
Criteria: Specific logic to trigger an action
Log Alerts describes where signal is custom query based on Log Analytics
Action: Call to send a notification
Set-up in Log Analytics -> Alerts
Export: Excel, PowerBI
Application Insights data is used in a different partition in Log Analytics.
E.g. requests, traces, usages
Allows you to cross application queries
Function: Queries can be saved as functions to be used within another query.
Requires log analytics workspace
Create performance baselines
Baseline
Configuration management term
Signifies an agreed-upon description of product attributes, per unit time, which serves as a basis for defining change.
💡 It’s not only recommended but mandatory for team to develop a baseline.
Gather diagnostics for long enough time.
Capture all peaks and values over ordinary usage.
Enable streams and create baseline
Even analyze those and agree upon which performance ranges are acceptable to define SLA’s.
Helps to isolate pr oblem
Baselining in Azure
Continous monitoring
Normal operational parameters
Alerts on deviations
Take proactive corrective actions
Baselines actions
Enable diagnostics monitoring and telemetry, e.g.: