Skip to content

M.1. Azure Monitoring

Jimmy Bourque edited this page Nov 30, 2026 · 1 revision

Français

Using Log Analytics workspace and Application Insights

This page explains how to use the OrakLearn Operations Dashboard workbook in Azure Monitor/Application Insights to review OrakLearn processor metrics: executions, API usage, errors, and application performance.

The dashboard centralizes service health indicators, heartbeat activity, processor executions, and API activity.

Open the workbook in Azure

  1. Sign in to the Azure portal.
  2. Find and open the Application Insights resource associated with OrakLearn.
  3. In the left menu, select Workbooks, then open OrakLearn Operations Dashboard.

The workbook is associated with the telemetry data from the selected Application Insights resource. Ensure that you open the workbook for the environment you want to investigate.

Workbook overview

The dashboard provides an immediate view of the selected environment. Its four indicators summarize the number of operational, delayed, and unavailable services, along with the total number of running instances.

Overview of the OrakLearn Operations Dashboard showing service health and the number of running instances
  • Services Up: services whose latest heartbeat reports an operational status.
  • Services Delayed: services whose heartbeat is late.
  • Services Down: services reported as unavailable.
  • Running Instances: total number of active instances for the monitored services.

Service health — latest heartbeat

The Service Health — Latest Heartbeat table details the status of each service. Use it to quickly determine which component requires attention.

Service health table showing status, instances, latest heartbeat, and heartbeat age
  • Service identifies the OrakLearn component, such as a portal, generator, or indexer.
  • Status reports the state returned by the latest heartbeat.
  • Running Instances shows the number of active instances for the service.
  • Last Heartbeat and Heartbeat Age (Minutes) help verify how recent the information is. An unexpectedly high age should be investigated even when the latest known status is still Up.

Heartbeat activity — last 24 hours

The Heartbeat Activity — Last 24 Hours chart shows heartbeat activity over the last 24 hours. Each line represents telemetry from a monitored component.

Chart of service heartbeat activity over the last 24 hours

Regular activity confirms that services continue to emit telemetry. An interruption or sustained decline in a line provides a precise time window to correlate with service health and Azure diagnostics. Keep in mind that the more instances a service has, the higher the overall amplitude of its line. This chart is primarily used to detect trend anomalies.

Processor usage trend

The two seven-day time charts show when processors performed work and when errors occurred. The values in the legend indicate each processor's total for the displayed period.

Executions

Time chart of processor executions over the last seven days

The Processor Executions — Last 7 Days chart helps identify the processors used at a particular time. A local peak corresponds to a period of more intensive processing for the processor represented by that line.

Errors

Time chart of processor execution errors over the last seven days

The Processor Execution Errors — Last 7 Days chart isolates failed executions. A non-zero point or peak identifies the time window to investigate; the legend then identifies the processor involved.

Reading the trends

  • The horizontal axis represents time, and the vertical axis represents the number of executions or errors observed in each interval.
  • A peak in executions is normal during batch processing. Compare it with the error chart for the same time window to determine whether it is accompanied by a problem.
  • Regular activity indicates a stable workload. The absence of a point means no corresponding telemetry was reported for that interval.

Distribution of executions by processor

The Processor Executions group presents the distribution of executions by processor in four donut charts. It distinguishes successful executions from errors and provides both a short-term and weekly view.

Four donut charts showing successful and failed executions by processor over 24 hours and seven days
View Period Displayed metric
Success — 24 Hours Last 24 hours Successful executions, distributed by processor.
Success — 7 Days Last 7 days Successful executions, distributed by processor.
Errors — 24 Hours Last 24 hours Failed executions, distributed by processor.
Errors — 7 Days Last 7 days Failed executions, distributed by processor.

Reading the charts

  • The number at the center of a donut is the total number of executions for the indicated period and status.
  • Each segment represents a processor; its size reflects its share of the total. Hover over a segment to use the legend to identify the processor associated with each color.
  • Compare the two Success views first to identify the processors that concentrate the workload, then the two Errors views to determine whether a processor fails occasionally or persistently.
  • A high proportion of errors, even with a low volume, warrants investigation. A total of zero in the Errors views means no errors were reported during the corresponding period.

API activity

The following two charts complement processor monitoring by showing API consumption over the last seven days.

Charts of daily API calls by the most active users and hourly anonymous API calls over seven days
  • Top 20 Users — Daily API Calls (Last 7 Days) distributes daily calls by user. It helps identify unusually high activity or activity concentrated on one account.
  • Anonymous API Calls — Hourly (Last 7 Days) shows anonymous calls by hour. Peaks help identify time periods to investigate and correlate with the other workbook signals.

View Application Map

Application Map provides a view of instrumented components and their dependencies. It is especially useful for relating an increase in workload or a performance problem to a specific call.

  1. Return to the OrakLearn Application Insights resource in the Azure portal.
  2. Under Investigate, select Application Map.
  3. Select the period to analyze, then wait for the map to load.
  4. Select a node or connection to open its details and, as appropriate, investigate performance, failures, or logs.
Application Map on a white background showing OrakLearn components and their dependencies

Reading the map

  • A node represents an observed component or dependency, such as a portal, processor, Azure Service Bus, or external HTTP service.
  • Directed connections show the direction of calls between two components.
  • Connection labels generally show the duration and number of calls during the selected period.
  • The number of instances in a node helps verify component scaling; the number of calls indicates its observed activity.
  • Focus first on slow connections, nodes with errors, or abnormally high call volumes. Selecting the affected element opens its diagnostics, then lets you explore failures, performance, or logs.

In the example, the admin-portal and user-portal call components such as generator-fast and indexer, with Azure Service Bus and HTTP dependencies. The map makes this execution path visible without manually correlating every trace.

Microsoft references

Clone this wiki locally