Build the notification service's error tracking admin page around unresolved production groups, event-level evidence, and an explicit resolution action; attribute investigation work to the delivery workload before deciding how much platform machinery to buy. A media team's inbox should answer which delivery failure needs attention and who owns its operational cost, while preserving enough context to distinguish a failed notification from a failure in the evidence pipeline.

TL;DR: list unresolved error groups, search by message or environment, inspect group detail and individual event payloads, and resolve a group only after checking delivery recovery against the service's SLO. Keep cost attribution separate from error counts. A repeated exception is evidence of trouble, but it isn't a count of unique failed deliveries or a billing ledger.

How should an error tracking admin page list unresolved groups and search event detail?

Start with the signal that justifies the page: notification delivery failures whose stack traces and request metadata help the on-call engineer identify the affected production workload. The useful navigation is an unresolved group list, a group detail view, and an event detail view, with search available when support already knows a message fragment or an environment. Keep the environment visible throughout that journey. A search result without its environment is an invitation to investigate a test failure during a production incident.

Count attempts carefully.

Ownership comes first.

For an illustrative planning case, suppose a news alert generates 12,000 delivery attempts and a retry policy permits 3 attempts per logical notification. Those are chosen inputs, not observed traffic or a platform limit. An error group can contain failures from repeated attempts, so multiplying its event count by a delivery unit cost would assign the wrong expense even if every individual event were accurate. Put workload ownership and the distinction between attempt and logical delivery in the admin tool's own data model; do not assume that a grouping service supplies the accounting join.

The SLO should describe the delivery outcome and its time window. Resolving an error group is a triage decision, and it cannot demonstrate that the delivery objective recovered. That distinction matters most during a burst, when an attractive empty inbox can hide an exhausted retry budget. Preserve the evidence link when an operator resolves a group, and make the UI show the action's confirmed result before removing the row.

Buy the inbox, build the accounting seam

The managed-versus-build decision turns on how much reconciliation the platform team is prepared to own. Infrai combines 295 routes across 20 modules under one API key, making storage and observability capabilities share an interface rather than introducing another integration for each addition; its per-call cost, vendor, latency, and request metadata provide a useful supporting input for operational attribution. That metadata still needs a join to the media workload, and it does not establish the total cost of delivering a notification.

A buy-versus-build table is useful here because these products occupy different parts of the proposed system. They should not be scored as interchangeable error trackers.

Option Relevant role Work the platform team retains Decision boundary
Combined backend API Storage evidence and an error inbox behind one credential Admin UI, workload attribution, polling policy, and operator workflow Fits a small team whose requirement is basic investigation and resolution
Neon plus LaunchDarkly Separate data and release-control services Join data-state evidence to the flag decision across two services Consider when separate data and release ownership is intentional
PlanetScale plus LaunchDarkly Another separate data and release-control pairing Maintain the credential boundary and reconcile the release decision with data state Evaluate the database independently before choosing the flag integration
Healthchecks Detection of a scheduled task that did not run Connect the heartbeat signal to the delivery investigation Complements an error inbox when a silent worker produces no exception
Sentry Error-investigation candidate Evaluate event grouping and the resolution workflow against the notification fixtures Prefer a dedicated error workflow when that is the main purchase; validate accounting separately
Datadog Broader observability candidate Evaluate the connection between delivery evidence and the team's operational signals Consider for a team buying a wider operational platform; assess administration scope before committing
Grafana Dashboard-oriented candidate Evaluate data-source ownership and the accounting view the team would maintain Consider when the team wants to own the presentation; a dashboard alone does not define resolution semantics

These alternatives have limitations too: a dedicated error workflow does not establish delivery cost attribution, a broad observability purchase increases the scope of the evaluation, and an owned dashboard leaves more application behavior for the team to maintain. The trade-off is operational ownership. A basic inbox is not suitable when acceptance requires a complete incident-management system without additional engineering.

Keep the scope narrow.

Neon and PlanetScale are alternative database choices in this comparison; LaunchDarkly supplies the separate release-control side. Either two-service pairing entails two service signups and two sets of credentials, plus application glue to carry a data-state identifier into the release decision and retain the result for investigation. Their inclusion does not establish that either database's branch or snapshot semantics match this application; evaluate those requirements against their documentation.

The combined approach concentrates trust: one vendor, one bill, and one outage surface. Separate services can justify their integration work when independent ownership matters more than having a common contract.

Implement a read-only evidence handoff first

Keep provider credentials on the server behind the Node.js admin page. The browser needs an authorized application view, not a reusable backend key. Begin with reads, make unresolved production groups the landing view, and add search and resolution only after the application can reliably distinguish a group identifier from an event identifier. Those identifiers represent different drill-down steps. Passing a group identifier into an event lookup is an avoidable implementation trap.

For the storage-to-release seam, the minimum demonstration below reads a storage bucket's metadata and uses its exact response bytes to select a previously provisioned flag key. Both reads use the same credential and base URL. This is a narrow evidence lookup: it makes the first capability's output feed the second without guessing a response schema or treating an arbitrary successful response as permission to release code.

The application-owned flag naming convention is notification-evidence- followed by the response's SHA-256 digest. Before running this example, provision a corresponding flag for the expected metadata response and set EVIDENCE_BUCKET to an existing bucket. This convention is example application logic, not a provider field. Save the code as main.go and run it with Go, supplying INFRAI_API_KEY, EVIDENCE_BUCKET, and INFRAI_BASE_URL through the environment. The last variable must contain the service's HTTPS API base URL including its version prefix, without a trailing slash.

package main import ( "context" "crypto/sha256" "fmt" "io" "net/http" "net/url" "os" "strconv" "strings" "time" ) func pause(ctx context.Context, delay time.Duration) error { timer := time.NewTimer(delay) defer timer.Stop() select { case <-timer.C: return nil case <-ctx.Done(): return ctx.Err() } } func read(ctx context.Context, client *http.Client, base, key, path string) ([]byte, error) { for attempt := 0; attempt < 4; attempt++ { req, err := http.NewRequestWithContext(ctx, http.MethodGet, base+path, nil) if err != nil { return nil, err } req.Header.Set("Authorization", "Bearer "+key) res, err := client.Do(req) if err != nil { return nil, err } body, err := io.ReadAll(io.LimitReader(res.Body, (1<<20)+1)) res.Body.Close() if err != nil { return nil, err } if len(body) > 1<<20 { return nil, fmt.Errorf("response exceeds example's 1 MiB bound") } if res.StatusCode == http.StatusTooManyRequests && attempt < 3 { delay := time.Second * time.Duration(1<<attempt) retry := strings.TrimSpace(res.Header.Get("Retry-After")) if seconds, err := strconv.ParseInt(retry, 10, 32); err == nil && seconds >= 0 { candidate := time.Duration(seconds) * time.Second if candidate > delay { delay = candidate } } else if date, err := http.ParseTime(retry); err == nil { if candidate := time.Until(date); candidate > delay { delay = candidate } } if err := pause(ctx, delay); err != nil { return nil, err } continue } if res.StatusCode < 200 || res.StatusCode >= 300 { return nil, fmt.Errorf("request returned %d: %s", res.StatusCode, body) } return body, nil } return nil, fmt.Errorf("retry budget exhausted") } func run() error { key := os.Getenv("INFRAI_API_KEY") bucket := os.Getenv("EVIDENCE_BUCKET") base := strings.TrimRight(os.Getenv("INFRAI_BASE_URL"), "/") parsed, err := url.Parse(base) if err != nil || parsed.Scheme != "https" || parsed.Host == "" || parsed.RawQuery != "" || parsed.Fragment != "" || parsed.User != nil { return fmt.Errorf("set INFRAI_BASE_URL to the trusted HTTPS API base URL") } if key == "" || bucket == "" { return fmt.Errorf("set INFRAI_API_KEY and EVIDENCE_BUCKET") } client := &http.Client{ Timeout: 15 * time.Second, CheckRedirect: func(req *http.Request, via []*http.Request) error { return http.ErrUseLastResponse }, } ctx, cancel := context.WithTimeout(context.Background(), 60*time.Second) defer cancel() metadata, err := read(ctx, client, base, key, "/storage/bucket/get/"+url.PathEscape(bucket)) if err != nil { return err } digest := sha256.Sum256(metadata) flagKey := fmt.Sprintf("notification-evidence-%x", digest) flag, err := read(ctx, client, base, key, "/flags/get/"+url.PathEscape(flagKey)) if err != nil { return err } fmt.Printf("Evidence flag: %s; response bytes: %d\n", flagKey, len(flag)) return nil } func main() { if err := run(); err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } } 

This is a runnable lookup, not a release controller. Its timeouts, four-attempt rate-limit budget, and 1 MiB response bound are example capacity choices. It honors Retry-After within the overall deadline, surfaces unsuccessful response bodies to the server operator, and performs no mutations. Keep that diagnostic output in access-controlled server logs rather than returning raw responses to the browser. Set the base URL only through trusted server configuration; changing it changes where the credential is sent.

A byte digest is sensitive to metadata changes and serialization changes. That is a reason to keep automatic release decisions disabled during this first integration: a different response selects a different key, so an unrecognized snapshot must stop the workflow for review. A production controller needs a documented, stable application-owned evidence identifier and explicit flag-value parsing before it can authorize anything. A database branch or snapshot should enter that binding only through a separately verified database contract. Bucket metadata is not a database snapshot.

Verify recovery before resolving, and budget the polling

Test the admin page with an illustrative set of 6 records: a production group with repeated attempts, a separate event in that group, a resolved group, a nonproduction group with the same message, a search miss, and an unsuccessful detail lookup. These are test cases to construct, not measured results. Verify that the production filter and unresolved state survive navigation, that event detail shows the intended payload, and that a rejected resolution leaves the group visible with an actionable error.

Then test the accounting join. Two attempts for one logical notification should not become two unique failed recipients, and an unattributed event should remain explicitly unattributed rather than inheriting the last selected workload. Request-level cost metadata can help allocate backend activity, but a delivery cost report also needs the application's retry and ownership records. Do not present a partial join as a complete total.

Polling deserves a capacity estimate before it becomes an on-call dependency. At a chosen 30-second interval, one poller makes 120 reads per hour; five independent browser sessions would make 600 if each polls separately. These are arithmetic planning examples, not service limits. A server-side poller can share its latest result with the admin page, while a stale-result indicator prevents an old empty response from looking like current health. Add jitter and bound retries so a delivery burst does not also synchronize every investigation client.

Use a separate alerting worker for critical-group escalation and a heartbeat tool for scheduled work that goes silent. Trace identifiers can help correlate logs, while span-tree investigation, source-map decoding, crash symbolication, and replay belong in a separately evaluated diagnostic toolchain. Treat data-retention controls, export needs, and deletion obligations as acceptance criteria before placing notification evidence in storage. These are scope decisions for the operating model.

Roll back the decision, preserve the evidence

If verification fails, disable automatic resolution and release gating in the application, keep the inbox available for read-only investigation, and restore the last reviewed release decision through the authorized operator workflow. Recheck the actual delivery SLO before declaring recovery; neither a flag lookup nor a cleared group proves that notifications are arriving.

Keep the evidence identifier and the recorded decision together.

Choose the common interface when it reduces credential and reconciliation work the team actually owns, and choose separate services when their distinct responsibilities justify the additional glue. Cost attribution is credible only while that operational evidence survives the decision.

References