01 - Azure Monitor Data Platform
01 - Azure Monitor Data Platform
https://docs.microsoft.com/en-us/azure/azure-monitor/data-platform
Azure Monitor collects and aggregates data from a variety of sources into a common
data platform where it can be used for analysis, visualization, and alerting. It provides a
consistent experience on top of data from multiple sources, which gives you deep
insights across all your monitored resources and even with data from other services that
store their data in Azure Monitor.
Metrics are numerical values that describe some aspect of a system at a particular point
in time. They are collected at regular intervals and are identified with a timestamp, a
name, a value, and one or more defining labels. Metrics can be aggregated using a
variety of algorithms, compared to other metrics, and analyzed for trends over time.
Metrics in Azure Monitor are stored in a time-series database which is optimized for
analyzing time-stamped data. This makes metrics particularly suited for alerting and fast
detection of issues. They can tell you how your system is performing but typically need
to be combined with logs to identify the root cause of issues.
Metrics are available for interactive analysis in the Azure portal with Azure Metrics
Explorer. They can be added to an Azure dashboard for visualization in combination with
other data and used for near-real time alerting.
Read more about Azure Monitor Metrics including their sources of data in Metrics in
Azure Monitor.
Logs
Logs are events that occurred within the system. They can contain different kinds of
data and may be structured or free form text with a timestamp. They may be created
sporadically as events in the environment generate log entries, and a system under
heavy load will typically generate more log volume.
Logs in Azure Monitor are stored in a Log Analytics workspace that's based on Azure
Data Explorer which provides a powerful analysis engine and rich query language. Logs
typically provide enough information to provide complete context of the issue being
identified and are valuable for identifying root case of issues.
Note
It's important to distinguish between Azure Monitor Logs and sources of log data in
Azure. For example, subscription level events in Azure are written to an activity log that
you can view from the Azure Monitor menu. Most resources will write operational
information to a resource log that you can forward to different locations. Azure Monitor
Logs is a log data platform that collects activity logs and resource logs along with other
monitoring data to provide deep analysis across your entire set of resources.
You can work with log queries interactively with Log Analytics in the Azure portal or add
the results to an Azure dashboard for visualization in combination with other data. You
can also create log alerts which will trigger an alert based on the results of a schedule
query.
Read more about Azure Monitor Logs including their sources of data in Logs in Azure
Monitor.
Distributed traces
Traces are series of related events that follow a user request through a distributed
system. They can be used to determine behavior of application code and the
performance of different transactions. While logs will often be created by individual
components of a distributed system, a trace measures the operation and performance
of your application across the entire set of components.
Distributed tracing in Azure Monitor is enabled with the Application Insights SDK, and
trace data is stored with other application log data collected by Application Insights.
This makes it available to the same analysis tools as other log data including log queries,
dashboards, and alerts.
May be collected
Collected at regular sporadically as events
Collection
intervals. trigger a record to be
created.
View in
Azure Metrics Explorer Log Analytics
portal
See Metrics in Azure Monitor and Logs in Azure Monitor for a listing of different data
sources that populate each type.