AZ-401: Delivery Platform Dashboards Alerts and Telemetry Integration
Connect platform monitoring to delivery by first verifying an existing application-relevant, Log Analytics-backed Azure Monitor alert, then having the resource owner configure Query Azure Monitor Alerts on a protected resource the selected Azure Pipelines stage actually consumes. Compare a calm case with current relevant data against a safely controlled active-alert case. Correlate each rule evaluation and resource check with the actual stage, pipeline run and GitHub App Check Run for the corresponding pull request (PR) and source or merge revision. Record those observations separately rather than assuming that one green surface proves the whole connection.
This procedure uses existing nonproduction resources, a populated workspace, an inspectable query-backed alert rule and an established Azure Pipelines GitHub App connection. It also configures distinct Projects chart and event-notification surfaces. It does not create a telemetry ingestion stack or a native GitHub Actions-to-Azure Monitor connector. No cloud rule, pipeline or notification has been executed for this article; the steps describe what an authorized operator must configure and observe.
Confirm ownership and the existing integration boundary
Choose one application and environment, one existing pipeline and stage, and one protected resource that stage uses. An environment consumed by the existing deployment job is a suitable concrete boundary when the owner has authorized this exercise. Confirm that entering the stage and running its existing jobs is safe within the nonproduction test scope; do not use a production deployment to test an alert connection.
Arrange the following access before changing anything:
- An operator can inspect the actual workspace, schema, query, current data and alert rule. Query visibility alone does not establish permission to inspect every alert or configure delivery checks.
- The protected resource owner can manage its approvals and checks. Pipeline-definition edit permission is a separate authority.
- The established pipeline can use the intended GitHub repository through the Azure Pipelines GitHub App, and the planned build or PR event is authorized.
- The chart editor and observer have appropriate access to the selected GitHub Project; the intended event-notification recipient can inspect the chosen delivery surface.
Use the existing authorization arrangements rather than assigning a universal cloud role. Stop if an account cannot inspect the required collection, query or rule, or if the check's configured identity cannot evaluate the intended scope. Obtain the missing permission or supported configuration from its owner before proceeding; a permissions error cannot be interpreted as no active alert.
Record the original check configuration, any chart or subscription to be changed, and the owner's restoration instructions. Preserve shared alert definitions, workspace settings, credentials and App installations. Keep secrets and sensitive telemetry out of screenshots or investigation notes.
Bind the query, current data and rule to the application
Azure Monitor brings together several telemetry types. For this connection, use the specific Log Analytics workspace and existing query-backed rule selected by the application owner; do not substitute an Azure Monitor workspace or an unrelated alert merely because it is accessible.
- Open Logs for the intended workspace or resource. Verify the displayed scope. A resource-scoped query and a workspace-scoped query can select different populations.
- Inspect Tables and the schema used by the existing application query. Confirm that its actual table and application/environment identifiers are present. Do not copy a demonstration table name into an unverified workspace.
- Load the existing rule's query into the editor and use its relevant evaluation time window. Inspect both query predicates and the time selection, recording their effective scope. Run it only with authorization and review relevant records and timestamps.
- Check that recent records belong to the intended application and environment. Record the observed freshness against the owner's expected collection delay. A result count or an old chart alone is insufficient.
- Open the existing rule by its verified identity and inspect its current query, resource scope, condition and evaluation configuration. Compare them with the query and application just examined. Record differences rather than assuming that a similar rule name means the same population.
Log Analytics supports inspecting schema, running queries and viewing numerical query results as charts. Its tutorial uses sample data and notes that tables in an owned workspace can differ. The demonstration environment cannot create alert rules. The procedure here requires an already inspectable relevant rule; the presence of a New alert rule entry point is not a complete rule-creation recipe.
For a Kusto Query Language (KQL) query, preserve the actual text and predicates used by the rule in the evidence record. Browser-side result searching or display filtering is not a substitute for changing the query evaluated by a rule. If that distinction is unclear, stop before claiming that an on-screen filtered view represents alert evaluation.
Use a small correspondence record to make the next step reviewable:
| Binding | Evidence to retain |
|---|---|
| Application and environment | Actual resource identity and relevant data identifiers |
| Workspace and query | Scope, table/schema, query text, effective time window and recent record timestamps |
| Existing rule | Rule identity, inspected condition and evaluation configuration |
| Pipeline resource and stage | Protected resource identity and exact existing stage/job consumption |
| Check evaluation scope | Saved configuration and evidence that the selected rule is included |
An empty error-query result can be consistent with a calm application, but also with missing collection, incorrect filtering or stale data. Establish current relevant data through the existing collection/query evidence before using the calm case. If freshness or rule relevance cannot be established, the exercise is blocked, not healthy.
Configure the resource-owner admission check
Azure Pipelines checks are managed on resources outside the pipeline definition. Before a stage begins, checks on its consumed resources must be satisfied. Query Azure Monitor Alerts succeeds when no alert rules are activated at evaluation, repeats evaluation using its configured interval and has a configured timeout. This is stage admission, not a monitoring task automatically running inside the protected stage.
For an existing environment boundary, have its owner open Pipelines, then Environments, select the environment and open Approvals and checks. Add Query Azure Monitor Alerts using the available check controls. Configure the actual permitted monitoring connection and evaluation scope so that the inspected application rule is included, and set Time between evaluations and Timeout according to the agreed bounded test window.
The documentation does not establish universal selector labels or credential-role requirements for every configuration. Inspect the controls and existing authorized connection in the actual environment. Before saving, the owner must be able to explain how the selected scope includes the exact rule recorded above. If that inclusion, the required credential or any control is ambiguous, stop and request the specific supported configuration detail. Do not guess a subscription-wide selector, widen access or substitute a different rule.
Save the owned configuration only after those checks. Reopen it and compare the saved scope and timing settings with the intended values. Then inspect the existing stage definition and its resource consumption again. A check on an unused environment does not protect the selected stage. A check on the next stage can evaluate the environment after a preceding deployment; it does not retroactively gate work that already ran.
Other checks on the same stage can independently prevent admission. Record them so that a later waiting or failed stage is not automatically attributed to Azure Monitor. Keep generic approval governance and the existing execution graph unchanged, as established by AZ-401: Protected Deployment Environments and Approvals and AZ-401: YAML Triggers Job Dependencies and Parallel Execution.
Compare calm and active-alert cases
Agree the safe active-alert mechanism before starting either case. It must be an existing owner-approved nonproduction test input or condition that exercises the selected application rule without damaging availability, exposing data or creating unbounded load. Do not invent telemetry, create an undocumented rule or lower a shared production threshold to make the exercise convenient. Without a safe supported mechanism, stop before the comparison and record what is missing.
Observe the calm case with current relevant data
First confirm recent relevant application data and inspect the existing rule's evaluation and current alert state for the intended period. Retain the rule identity and timestamps. No observed alert by itself is insufficient if data freshness, access or evaluation scope remains unknown.
Start the already authorized pipeline build or PR validation through its established route. Capture the run and attempt identifiers, pipeline-definition revision, PR identity and source or merge revision actually tested. When the run reaches the selected stage, inspect the resource-check evaluation. Record its start, evaluation observations, result and the stage's actual transition. If another check blocks entry, retain that distinction.
Do not infer that an admitted stage proves lasting application health. It establishes the recorded check result at its observed evaluation time under the verified scope. Subsequent application behavior and deployment outcomes require their own evidence.
Observe the controlled active-alert case
Have the owner apply the approved bounded test condition and verify that the intended rule actually produces the expected active-alert evidence. Record the relevant data, evaluation window and alert/rule identities. A test input submitted without an observed rule evaluation does not establish that the monitoring path worked.
Start a separate authorized run or attempt while preserving enough source and configuration context to compare cases. Observe the same consumed-resource check and record its reevaluations and stage behavior. Keep the condition within the agreed duration and stop if the safety boundary is approached. Do not leave a test condition active merely to wait for a desired screenshot.
If the condition persists toward timeout, inspect and record the actual check, stage and run outcomes. The check has bounded evaluation behavior, but that does not establish a universal GitHub conclusion for every timeout, access error or pipeline shape. A stage not starting, a run completing and GitHub receiving feedback are separate observations.
After removing only the owned test input, verify fresh relevant data and the actual rule/alert state again. If an authorized retry is needed, record its distinct attempt and timings; do not overwrite the original blocked observation with the later calm result.
Correlate the GitHub delivery feedback
Azure Pipelines posts GitHub Check Runs when the pipeline uses its GitHub App connection, including checks for the overall run and jobs. This differs from the older basic status mechanism and from a GitHub Actions workflow run. The Monitor resource check is not itself proof that a particular GitHub Check Run was emitted or reached a fixed conclusion.
For each case, open the corresponding PR or commit feedback and follow the relevant Check Run details. Match the linked Azure pipeline run, tested source or merge revision and timestamps to the evidence just recorded. Record the actual displayed status and conclusion when available. If feedback is missing, stale or points to a different revision, treat correlation as incomplete and investigate the established App connection or event route without reinstalling it as an exploratory shortcut.
| Observation | Calm case | Active-alert case |
|---|---|---|
| Relevant data and rule evaluation | Actual timestamps and freshness evidence | Actual test-condition and rule-evaluation evidence |
| Resource check | Observed scope, evaluation and result | Observed reevaluations and result |
| Stage and run | Actual transition, run and attempt | Actual transition, run and attempt |
| PR/commit and Check Run | Tested revision, linked run, status and timestamps | Tested revision, linked run, status and timestamps |
Complete the table with observed values rather than predicted labels. It should let another operator trace one case from relevant data through admission to repository feedback. If any link is unresolved, state that limitation instead of presenting a conceptual connection as a verified implementation.
Configure separate dashboard and event surfaces
These surfaces provide additional visibility; none replaces the monitored-resource check or its run-to-revision correlation.
Set a bounded GitHub Projects chart
With authorized edit access, open the intended Project's Insights and choose or create the chart for the agreed delivery-work question. Configure its chart type, displayed information and filters against known project items. Record those settings and compare the result with selected included and excluded items, then verify that the intended observer can view the saved chart.
For an organization-level Project, its admin can inspect Settings, then Manage access, to verify the actual base and collaborator roles. Read permits viewing; Write permits viewing and editing; Admin also permits collaborator management. Avoid broadening the organization's base role for a single observer. Eligible individual collaborators must meet the documented organization-member or outside-collaborator conditions.
Projects Insights uses project items and does not track archived or deleted items. Record that exclusion beside the chart's population. A falling item count cannot establish incident recovery or application health. Keep this chart separate from work-item lead/cycle-time contracts and from pipeline run analytics; use AZ-401: DevOps Success Metrics with Defensible Definitions for those measurement boundaries.
Configure an Azure Pipelines event subscription
In the Azure DevOps project, open Project settings, then Service hooks, and Create subscription. Choose the approved consumer service, the relevant build event and available filters, then its supported action. Confirm the intended recipient or endpoint and the consumer-side configuration required for that service. Do not create a general-purpose public endpoint or embed a credential in the evidence record.
Use the subscription's Test operation and finish the wizard only after reviewing its result. Retain the subscription identity, event/filter settings and test-delivery result. For the bounded authorized pipeline event, separately record the actual run, emitted event and recipient-side delivery evidence. A successful configuration test does not establish that a later filtered event was emitted or delivered.
Save GitHub Actions recipient preferences
For a repository that uses GitHub Actions and that the intended recipient watches, have that recipient open Notification settings. Under System, then Actions, choose On GitHub or Email as appropriate, optionally select Only notify for failed workflows, and save the preference. Record the selected recipient surface without changing unrelated subscriptions.
Verify against an authorized relevant Actions workflow run and retain its run identity, outcome, recipient and actual delivery evidence. If no such run has been observed, report the preference as configured but delivery unverified. These are recipient preferences, not arbitrary team routing or a native Actions connector for Azure Monitor. Do not use the Azure Pipelines App Check Run as the supposed Actions test event.
Restore owned changes and assess completeness
Remove the controlled test input using the owner's approved restoration path and verify the resulting current data and alert state. Restore only the check settings, chart, event subscription or recipient preference changed for this exercise. Where temporary check disabling was explicitly authorized, the resource's Approvals and checks contextual menu provides Disable and Enable; confirm the intended enabled state afterward. Do not disable unrelated protections to obtain a passing case.
Keep shared workspaces, alert definitions, credentials, App installations and other users' notification preferences intact. Retain both original case records and any retries. The connection is demonstrated only when relevant current data, the inspected rule, its inclusion in check scope, actual stage/resource consumption and the corresponding GitHub feedback can be traced together. Chart population and notification delivery remain separately evidenced outcomes, with no-data and unobserved behavior explicitly unresolved.
Authoritative Sources
- Define approvals and checks — Azure Pipelines — Consumed-resource checks, Query Azure Monitor Alerts evaluation and owned check controls.
- Tutorial: Use Log Analytics — Actual scope, tables, query/time-window verification and visualization limits.
- Azure Monitor overview — Telemetry and monitoring data-platform context.
- Build GitHub repositories — Azure Pipelines — GitHub App Check Runs and pipeline feedback.
- Integrate with service hooks — Azure DevOps — Event subscriptions, filters, consumer actions and testing.
- About insights for Projects — Chart populations, filters and archived/deleted item exclusions.
- Managing access to your projects — Organization-level project roles and eligible collaborators.
- Managing GitHub Actions notifications — Recipient notification preferences and watched-repository conditions.
- Workflow syntax for GitHub Actions — Separate workflow execution and dependency context.
- Pipeline reports — Azure Pipelines — Pipeline-run analytics, distinct from application health and project-item charts.
- Lead time and cycle time widgets — Distinct work-item time boundaries.
Related Reading
- AZ-401: DevOps Success Metrics with Defensible Definitions
- AZ-401: YAML Triggers Job Dependencies and Parallel Execution
- AZ-401: Protected Deployment Environments and Approvals
- AZ-401: Traceable Work from Azure Boards to GitHub Delivery
- AZ-401: Infrastructure Metrics Application Telemetry and Distributed Traces

