For metrics dashboard creation, the observability bill begins upstream: event volume, bytes per event, retention, and the work required to search those bytes. For a nightly e-commerce data pipeline, the useful starting point is a storage model, followed by an explicit account of the evidence that a smaller dataset would lose. Dashboard creation comes after that decision.

TL;DR: Choose a metrics dashboard by testing whether its aggregates lead to searchable, retained evidence about a failed pipeline run. Keep run summaries and failure evidence longer than repetitive success logs. Sampling can reduce the latter, but it changes which questions an investigator can answer. A polished chart cannot recover discarded records.

Consider a hypothetical pipeline producing 12 million structured log events each night, averaging 800 bytes per event. That is 9.6 GB per night, or 288 GB across 30 nights, using decimal units. These are planning assumptions, not measurements. In this deliberately simplified model, retained event bodies are the dominant term; indexes, replicas, compression, and query execution require separate estimates. No currency rate is needed to identify the volume decision.

What should metrics dashboard creation preserve about a failed nightly run?

A nightly catalog or inventory pipeline needs to answer two different questions. Did the run finish with acceptable outcomes? And which records explain an unacceptable outcome? A metrics dashboard addresses the first through aggregates. Searching structured logs addresses the second through individual evidence. The design must connect them through a stable run identifier, a processing stage, and a defined time interval.

Suppose the illustrative stages are catalog extraction, inventory transformation, and publication. A summary should distinguish records received, records accepted, records rejected, and records still unresolved. Those counts need agreed meanings. A retry that succeeds should not quietly become an additional accepted business record merely because the pipeline emitted another success event. Otherwise, a dashboard can look healthier as retry noise increases. This is a proposed accounting rule for the example, rather than a claim about any particular dashboard implementation.

Count outcomes first.

Then preserve the evidence needed to explain them. An investigator should be able to select a run and stage, inspect failures by a bounded error category, and search individual events when a category is too broad. A run identifier belongs in the searchable records. Whether it also belongs in a metric dimension depends on the number of runs retained and the queries that dimension must support.

The awkward case is a failure reported after detailed records expire. A summary may establish that publication rejected records, while leaving no way to identify which transformation produced them. Longer retention buys investigative reach. Shorter retention gives that reach up deliberately.

Change the dominant volume term before changing the chart

Return to the 9.6 GB nightly example. Assume, only for this calculation, that 95% of events are repetitive success records and 5% are failures requiring investigation. Keep every event for three nights. For the following 27 nights, retain all failures and a uniform 1-in-20 sample of success records. The older retained fraction would be 0.05 + (0.95 × 0.05), or 0.0975.

The resulting event-body estimate is 28.8 GB for the recent window plus 25.272 GB for the older window: 54.072 GB in total. This calculation assumes unchanged event size and a stable event mix. It excludes run summaries and storage overhead. Its purpose is to expose the dominant variable, not to predict a bill or promise a particular saving.

The reduction has a price in evidence.

A retained success sample cannot prove that an arbitrary individual record completed. Nor should a raw count of sampled success events be displayed as the pipeline's accepted-record total. Keep that total in a complete run summary, with its counting rule attached. If a chart estimates a quantity from sampled records, the dashboard should identify the sampling policy and the estimate's limits.

Uniform sampling also answers a different question from deliberate selection of unusual events. Keeping every rare error category may support diagnosis, while preferentially keeping slow events may help inspect slow paths. Neither selection should be presented as a representative view of all successful work. The policy must follow the question. A useful review asks which investigation would become impossible if the next proposed retention cut were applied.

Event mix matters enough to revisit the calculation. If a failed run produces many more failure records, preserving every failure changes the retained volume. A retention plan built around the healthy-night assumption should therefore include a separate failure-heavy scenario before deployment.

Count dimensions without flattening the evidence

For an illustrative metric, assume 3 stages, 4 terminal outcomes, and 2 environments. Their full Cartesian product contains 24 combinations. Adding an identifier with 100,000 distinct values raises that theoretical space to 2.4 million combinations. Actual observations may occupy fewer combinations; the calculation is a design bound, not a measured series count.

That distinction guides placement. Use bounded dimensions for aggregate views when they answer the operational question. Keep identifiers needed for individual investigation in structured records, where they remain searchable under the retention policy. This does not make identifiers free: their indexing and storage implications still belong in the estimate. It gives each representation a defined purpose.

Grouping requires similar care. Sentry's event-grouping documentation describes grouping and fingerprint mechanics, providing a concrete example of how individual events can be assigned to shared groups. Group membership and event count are different quantities. For a pipeline, an error category can make a dashboard readable, but a single category might still conceal failures from several stages or inputs. Treat the group as an entry point to investigation.

One group is not one failure.

A practical trap is to replace a complete outcome counter with the number of displayed error groups. Ten rejected records sharing a category still represent ten rejected records under the example's accounting rule. Conversely, a retry may produce several events for one rejected input. Define the unit before comparing counts.

Compare dashboard candidates with the same evidence task

The Grafana versus Tableau question becomes useful when it names a workload: create a metrics dashboard for a nightly pipeline, then explain one rejected publication batch from retained structured logs. The product names alone do not establish which candidate meets that requirement. Evaluate the deployed configuration and its data connections with the same inputs; capability claims require documentation for the specific configuration being considered.

Keep the comparison narrow enough to reproduce. The following table is an acceptance test proposal, not a claim that either candidate has or lacks a feature.

Test What to inspect Trade-off exposed
Display one run's outcomes Accepted, rejected, and unresolved totals reconcile with the summary Readable aggregates versus accounting precision
Investigate a rejected stage Run, stage, and time context survive the move to log search A separate search step versus integrated investigation
Open an older run The view makes expired detail distinguishable from zero failures Longer evidence retention versus a smaller retained dataset
Show sampled successes The sampling policy is visible and totals remain interpretable Less repetitive detail versus weaker individual proof

A third comparison point, Sentry's documented grouping model, helps test vocabulary: is the view showing events, groups, or business outcomes? It is evidence for that distinction, not a recommendation to add a product. The evaluation can use separate tools for aggregate display and record search, provided the investigation context remains intact.

There are competing advantages here. A compact summary view is easier to scan during the morning review, but it hides record-level variation. A detailed search view offers more evidence, but requires more filtering and interpretation. The relevant pros and cons concern the work each view supports. Product-specific conclusions would need additional, attributable evidence.

Implement the smallest retention contract, then test its loss

The minimal implementation is a complete run summary plus structured event records and a documented retention rule. For this example, define each event's run identifier, stage, timestamp, outcome, error category, and sampling status. Define the summary's counting unit separately. These are proposed fields for this pipeline, rather than an external API schema. Keep the summary sufficient to interpret a run after event detail expires.

Test that contract before connecting the dashboard. Construct a fixture containing one accepted input, one rejected input, and one input that succeeds after a retry. Verify that business totals reconcile while diagnostic events remain independently searchable. Then remove older success records according to the proposed sample and expire detail according to the proposed retention window. Repeat the investigation. This tests the actual consequence of the policy rather than merely checking that a chart renders.

Deploy the policy with an owner and a record of its effective interval. A search result spanning a policy change needs enough context to explain why some nights contain complete success evidence and others contain a sample. Otherwise, a change in retention can be mistaken for a change in pipeline behavior.

The final decision is what to stop keeping. Under the illustrative policy, repetitive success detail becomes incomplete after three nights and expires after thirty. Complete outcome summaries and failure records have their own explicitly chosen lifetimes. If a later complaint requires proof about one successful input, the older success sample may provide no answer. Accept that investigative limit only if the pipeline's operational requirements allow it; otherwise, preserve the necessary evidence and revise the volume model.

Further reading

References: