Features · Data pipeline
Ingestion trends
Rows per run, with drops, spikes, late and failed runs.

Video coming soon.
From the article The stream says Success, but half the rows are missing: ingestion trends (part 11 of the series).
The data stream failures that hurt most are the ones that do not fail. The nightly file arrives with 300 rows instead of 300,000 because an export upstream broke. An API integration stops sending events, and the stream has nothing to report because nothing ran. In both cases Data Cloud shows a green last run, or an old one, and the first person to notice is the marketer whose segment shrank.
The catch is in "last": a data stream record keeps only its most recent run.
Where the history comes from
No data stream run history endpoint is known, so the Inspector does not pretend to have one. It reads two other sources the org may have:
- The Digital Wallet usage events, which record what each resource used, including data streams. These are the same consumption objects as Credit prediction (Day 29).
- Each stream's problem record Data Lake Object (DLO), for problem records per day.
Usage events are matched to a stream by its API name, its DLO name or its record ID, and grouped by hour, so one hour of usage is one run. Streaming data streams are grouped by day instead. A run that brought nothing used no credits and left no event, so the stream record's own last run is added at the end when it is newer than the last event.
Reading this history means Data Cloud SQL queries, and queries use credits. So Trends waits for a button.
Read the run history
Data streams has three buttons at the top right: Table, Diagram and Trends. Trends opens the Ingestion trends card, with Read the run history, a choice of the last 7, 30 or 90 days, and the rules in one paragraph. The table below it is there before the button is pressed, with the flags the stream records alone can give.

The table has one row per stream:
- Rows per run, as a sparkline. It turns red when the stream has a Drop, and reads "no runs" or "one run" when there is nothing to draw.
- Latest run rows and Median before, the two numbers the Drop and Spike flags compare.
- Runs, the number found in the period.
- Last run, as hours or days ago, with its status.
- Schedule in words, from the stream's frequency, or from its connector when it has none, such as "every 12 hours" or "streaming, as events arrive".
- Problem records in the period, highlighted when some arrived in the last day.
- Flags.
Streams with a problem sort to the top, in this order: Failed, Drop, Late, Never ran, Problem records, Spike. The line above the table says how many are flagged, which is the number I check first.
The result is kept per org, data space and period, like other org details, so the next visit shows it at once with the time it was read. Read again reads it fresh.
In my demo org, 4 of 22 streams had usage events over the last 30 days, and the Sources list says so: "TenantEnrichedUsageEvent__dll: 4 streams with usage events". Only one of them, PersonalizationLog-personalization, had more than one run in the period. The five flagged streams are all Failed, from their stream records, so on this org Trends mostly confirms what the table already said. A quiet demo org is not where Drop and Spike earn their keep; a production org with nightly loads is.
The flags
Each flag has a simple rule, written on the page so nobody has to guess:
- Drop: the latest run brought under 20% of the median of the runs before it (up to 30 runs, at least 3).
- Spike: the latest run brought over 5 times that median.
- Late: no run for more than twice the schedule interval plus an hour.
- Failed: the stream's last run failed.
- Never ran: an active stream with no run at all.
- Problem records: rows rejected recently.
The median matters. A stream that loads 50,000 rows on weekdays and 2,000 on Sundays does not raise a Drop every Sunday unless Sunday's run falls under a fifth of its usual size. Hover a badge for what was compared.
Drop and Spike also print their numbers, in a line such as "Usually about 2 rows a run (median of the last 3), latest 1.", which is what my demo stream reads.
One stream over time
The same history shows on each stream's page, in a card called Ingestion over time, between the details and Maps into. It has the same Read the run history button and period, and reading it from either place reads it for every stream.

The bar chart shows rows processed per run, with the latest bar in red on a Drop. Hover a bar for its rows, time, change from the run before, credits, and whether it came from the usage events or the stream record. Below it are problem records per day, and a table of every run with its rows, change, credits and where it came from. On my demo stream the latest run brought 1 row against a median of 2, which is half, so no Drop: the rule wants under a fifth.
When the stream's DLO has a field that looks like an ingestion date, Count DLO rows by day counts the rows by that field with one query. The page says plainly that the field is a guess.
When the org has no usage events
The usage events exist only when Digital Wallet is set up and its objects are added to the data space. Without them, Trends says so and links to Credit prediction, which explains how to turn them on. The flags still work from what the stream records and problem record DLOs give: Failed, Late, Never ran and Problem records. Only Drop and Spike need the history.
The Sources list under the card says exactly what was read, what was not available and why, and opens the usage events query in SQL for anyone who wants to check the numbers. When a source could not be read, it names it with Data Cloud's error; in my demo org, one problem record DLO that the stream points to does not exist.
Limits
A few things to know:
- The usage event field names, and the assumption that the usage value is rows processed for data streams, come from Salesforce Help's Digital Wallet references and have not yet been confirmed on an org with this data.
- A run is an hour of usage. Two runs in the same hour count as one, and a long run across an hour boundary counts as two.
- Runs that used no credits leave no event, so they are missing from the sparkline, apart from the stream record's last run.
- Late needs a schedule. Streaming and manual streams are never Late.
- The problem records flag counts rows since the start of yesterday, so it can cover up to two days.
- The DLO rows by day field is a guess at an ingestion date and is not offered when no field looks like one.