Telemetry Alert Rules: Turning BC Signals Into Tickets Before Stores Call
Two tables hold the evidence. Business Central telemetry is stored in Azure Application Insights Logs, in the traces and pageViews tables, and it is analysed with Kusto Query Language. KQL, the query language those logs are searched with. An alert rule is what turns a row in one of those tables into work for a person. Without the rule, the row just sits there, billed by the volume ingested, waiting for someone to go looking after a store has already noticed the problem.
Signals are not alerts: the pipe, torn down
The path has four links, and each one can be missing independently. Business Central emits telemetry. Application Insights stores it in traces and pageViews. A KQL query separates the rows that matter from the rows that do not. An alert rule then routes the match to a ticket, a message, or a person. Most estates have the first two links and stop there, telemetry is switched on, data arrives, and nothing watches it.
That gap is not a tooling gap. Microsoft documents several ways to alert on telemetry events. What the documentation does not publish is a catalogue: which events deserve an alert, and at what point a signal should interrupt someone rather than wait for a morning review. That decision is the actual work, and it belongs to the retailer.
What BC actually emits: traces, events, and KQL
Start from the storage, because the storage shapes every rule. Telemetry lands in Application Insights Logs, traces and pageViews, not on a page inside Business Central. Analysis happens in Application Insights, typically as a KQL query against those tables. So every alert rule begins life as a query: a filter over traces or pageViews that returns only the rows worth acting on.
Two free, open-source Power BI apps also analyse this telemetry, one covering environments, one covering apps and extensions, and both require Power BI Pro licences. They are reporting surfaces, not alerting engines. Useful for spotting patterns across a week. Useless at 7 a.m. when a signal needs an owner within the hour.
The retail catalogue: page, ticket, or digest
No retrieved source lists Business Central event IDs for retail failures, so a catalogue built on invented event names would be fiction. Build it on signal categories instead, and assign each category a handling level before any rule is written:
| Handling | Signal category | Reasoning |
|---|---|---|
| Ticket, same day | A telemetry stream that stops arriving, or a cost control that starts suppressing data | Silence is ambiguous, it can mean a healthy store or a blind admin. Only a human check separates the two. |
| Ticket | Repeated failures visible in traces for the same operation | Repetition is the difference between a blip and a defect. One failure is noise; the same failure again is a pattern with a cause. |
| Daily digest | Volume and cost trends in Application Insights | Ingestion is billed on volume and retention, so drift matters, but it matters on a daily rhythm, not as an interruption. |
| No alert | Raw trace volume with no query behind it | An alert with no KQL filter is a firehose. If no query can state the condition, there is no alert yet. |
Short version: page nobody at first. Ticket what repeats, digest what drifts, and promote a category only when a missed instance has a clear cost.
Tool choice: where the rule should live
Microsoft splits the alerting options by role, and the split is a sensible default:
| Tool | Documented fit |
|---|---|
| Power BI Metrics | No-code alerting |
| Azure Application Insights Alerts | Alerting with more control |
| Azure Logic Apps | Alerting with more control |
| Power Automate | Alerting with more control |
The decision rule is simple. If the alert is a threshold on a number the team already reports, the no-code route is enough. If the alert has to become a ticket, routed, owned, and tracked until closed, pick one of the low-code routes, because the destination matters more than the trigger. Do not build the same alert in two tools. Duplicate alerts train people to ignore both.
Cost controls that can mute your alerts
Application Insights is billed on data ingestion volume and retention. The documented cost controls are sampling, a daily ingestion limit, alerts on cost thresholds, Data Collection Rules that filter data types, and custom endpoints. Each control earns its place. Each one also changes what an alert can see.
Sampling reduces what is stored. A daily cap stops ingestion when the limit is reached. A Data Collection Rule filters data types before they are stored. Apply any of them carelessly and the alert rule keeps running, against a partial record. The rule looks healthy. The evidence is incomplete.
Microsoft's recommended practice closes that hole: set a daily cap on ingested data, and set up an alert for when the daily cap is reached, so the team knows it is no longer getting all the data. Treat that cap-reached alert as the first rule in the catalogue, not an afterthought. The same caution applies to sampling and filtering, telemetry is low-overhead by design, but high-volume custom telemetry raises ingestion costs, and sampling and retention settings in Application Insights are the documented levers. Change a lever, then re-check the alerts that depend on the data it touches.
Alert rule checklist: threshold, owner, and the test fire
- Confirm the pipe exists. Create or reuse an Application Insights resource, configure its connection string in the Business Central admin center, or on the server for on-premises, then verify that telemetry actually flows before writing any rule.
- Write the KQL query first. Query traces and pageViews in Application Insights Logs and confirm the query returns the signal category the alert is meant to catch, and little else.
- Assign the handling level. Ticket or digest, per the catalogue above. Name the owner of that queue in the rule itself, not in a separate document nobody opens.
- Choose one tool. Power BI Metrics for a no-code threshold; Application Insights Alerts, Logic Apps, or Power Automate when the alert needs routing and more control.
- Add the blindness checks. Set the daily ingestion cap, add the alert that fires when the cap is reached, and record which sampling or Data Collection Rule settings could suppress this signal.
- Build the follow-on surfaces. Queries first, then dashboards and alerts, the documented setup order, so the alert rests on a query that has already been read by a person.
What success looks like: every catalogue category has exactly one alert rule, in one tool, with a named owner; the cap-reached alert exists; and a query that should return rows does return rows, proof the pipe, the filter, and the rule are all alive at the same time.
, Dex Carter, Tech Writer
NextBusiness Central telemetry: what to monitor in a retail estate →