GMI Software
Core areas
AI & Automation
From workflow and business case to production
Mobile Apps
iOS, Android, React Native
Headless & B2B commerce
Stores, sales platforms, ERP/PIM integrations
Complementary services
AI-gen developmentE-commerce mobile analyticsProduct Discovery & DesignBackend, API & IntegrationsMaintenance & AuditsDDT process
Don't know what to choose? Order a consultation
Our projects
Case studies and references
App Ideas Library
Use case examples
MobileCore Stack
React Native
E-commerceCore Stack
Service: commerce & B2BAdvanced commerceMedusaJS
Frontend & QA
Next.jsReactTypeScriptPlaywrightMaestro
Backend, DB & Cloud
Node.jsNestJSPostgreSQLDockerAWS
E-commerce Innovation
3D configurators (BabylonJS)AI agents & automationRAG & knowledge basesAI-native software companyView all AI services
View all technologies
About us
Our history and values
Careers
Join our team
Contact
Get in touch
Get in touch
AI Opportunity Sprint
Services
Mobile AppsHeadless & B2B commerceAll services
Projects and results
Technologies
Next.jsNode.jsAWSFull technology stack
Meet GMIGet in touch
Back to blog
Technology
Updated: July 11, 2026· Originally published: March 7, 2026
21 min read

Ecommerce observability: how to prepare checkout for Black Friday 2026

Mikołaj Lehman, CEO & Founder, GMI Software
Mikołaj Lehman
CEO & Founder, GMI Software

Mikołaj Lehman is the CEO and founder of GMI Software. On the blog, he covers decisions around mobile apps, ecommerce and digital product delivery.

  • Mobile apps and React Native
  • Headless and B2B ecommerce
  • MedusaJS
  • Digital product delivery

Short answer: ecommerce observability is the ability to quickly explain why a user cannot buy: whether the issue sits in cart, payment, promotion, inventory, ERP/PIM/WMS, API, database, queue or mobile app. For Black Friday, a green CPU dashboard is not enough; you need traces, metrics, logs, checkout SLOs, business alerts and rehearsed runbooks.

The problem: dashboards are green, but checkout loses revenue

The most expensive commerce incidents rarely start with a dramatic "the server is down". More often everything looks calm: CPU at 22%, memory normal, database responding, load balancer returning mostly 200s. Yet buyers see payment errors, cart disappears after refresh, discount code works one in three times or inventory API returns a state from 20 minutes ago.

On Black Friday the problem is sharper because the incident does not only consume engineering time. It burns ad spend, discount budget, customer attention and brand trust. If the team spends the first 40 minutes arguing whether the issue is frontend, MedusaJS, Stripe, ERP, Redis or database, the campaign is already funding abandoned carts.

That is why observability is not a "nice DevOps dashboard". It is the operating capability to answer: where exactly is the purchase path breaking and what can we safely disable, throttle or fix without stopping sales?

Monitoring vs observability: the difference that appears at peak

Monitoring answers known questions: is the host up, does the endpoint respond, did CPU cross a threshold, did HTTP 500s rise. You need it, but it assumes you knew in advance what was worth measuring.

Observability goes further. OpenTelemetry describes a properly instrumented application as one where the team does not need to add new telemetry to troubleshoot because the required signals already exist: traces, metrics and logs. In commerce, that means tracing one purchase attempt from the "Pay" tap through storefront, cart, pricing, inventory, payment provider, order service and ERP sync.

The practical test is simple: can you answer in five minutes what percentage of failed checkouts belongs to a specific payment method, campaign, region, app version, promotion variant or ERP integration? If not, you have monitoring, but not sales-grade observability.

Peak sales observability readiness map

Before a campaign you need to connect three visibility levels: customer experience, technical path and operating decisions. Infrastructure alone will not tell you a buyer cannot use a coupon. Marketing analytics alone will not tell you the issue is an ERP retry inside the order service.

The visual shows the minimum set that should exist before Black Friday: checkout SLIs/SLOs, traces across critical services, logs with correlation IDs, business alerts, runbooks, feature flags and degradation paths. It is a checklist artifact for the CTO, ecommerce and operations meeting.

Article graphic: Ecommerce observability: how to prepare checkout for Black Friday 2026
Article graphic: Ecommerce observability: how to prepare checkout for Black Friday 2026

Ecommerce SLIs and SLOs: what to measure for real

Google SRE recommends watching four golden signals: latency, traffic, errors and saturation. For ecommerce, translate them into revenue language, not only infrastructure language.

The most important SLI is not "API uptime". It is the percentage of users who can complete the critical path PDP -> cart -> checkout -> payment -> order confirmation within an acceptable time. If the payment provider returns 200 but order confirmation is never created, it is still a business failure.

Example SLOs before a campaign: 99.5% of add-to-cart attempts below 800 ms on backend, 99% of payment attempts with a clear status within 10 seconds, less than 0.5% technical checkout failures and an alert when conversion-to-payment drops without a matching marketing-traffic explanation.

Traces: one purchase attempt instead of a million logs

Distributed tracing is critical because checkout crosses many services. In headless commerce, a typical flow touches Next.js storefront, API gateway, MedusaJS or another commerce core, NestJS services, PostgreSQL, Redis, payment provider, tax/shipping, ERP/PIM/WMS and event queues.

Every request should carry a trace ID/correlation ID across services and into logs. Then the incident "payment is broken" can turn into facts: 70% of latency sits in promotion validation, 20% in payment intent, and order confirmation disappears in a subscriber after the `order.placed` event.

Medusa uses events and subscribers for actions after commerce operations, for example after an order is placed. That is a strong pattern when side effects do not block checkout, but at peak you must see queue lag, retry count, dead-letter queue and the impact of subscribers on final order confirmation.

Business alerts: do not page for CPU, page for lost sales

The worst alerts say "something looks weird". Good alerts say "customers cannot buy or soon will not be able to". During peak sales, limit human-paging signals to those that affect revenue, trust or security.

Infrastructure alerts are still needed, but they should support diagnosis, not dominate the incident channel. If p95 checkout latency rises, you want the segment immediately: mobile web or app, payment method, region, campaign, coupon, API version, cache hit ratio, DB locks, queue lag and latest deployment.

Strong Black Friday alerts: technical checkout failure rate, payment authorization decline anomaly, add-to-cart drop, order-created/payment-captured mismatch, inventory stale age, coupon validation latency, ERP sync backlog, app crash-free users and API p95/p99 for critical endpoints.

Runbooks and degradation: what to do when the incident is live

Observability without runbooks ends with a team seeing the problem but not knowing who can decide. Before the campaign, define who can close a promotion, disable the recommendation widget, switch payment fallback, contact the ERP operator and decide on rollback.

Strong commerce systems have planned degradation. If recommendations fail, checkout must work. If confirmation email is queued, payment must not wait. If ERP sync is delayed, the user should receive clear order status and operations should see the backlog.

A runbook should contain entry threshold, owner, first 5 minutes of diagnosis, links to dashboards/traces, safe switches, support message and exit criteria. Without that, incident response depends on the memory of people under maximum pressure.

Pre-Black Friday tests: do not test only RPS

A load test that only measures homepage and PDP creates false confidence. The critical test is cart -> delivery -> payment -> order confirmation -> side effects. Also test coupons, inventory limits, logged-in/guest checkout, payment retries and return from gateway.

Before peak, run a game day: deliberately slow a payment provider, disable an ERP sandbox endpoint, increase queue lag, raise database latency or simulate a promotion bug. The team should see the alert, find the trace, run the runbook and decide on degradation.

The point is not to perfectly simulate Black Friday. The point is to check whether the team can quickly distinguish critical from secondary failure, whether dashboards show business impact and whether decision owners know what they can disable without settlement risk.

GMI stack for observable commerce

In GMI commerce projects we often combine Next.js storefront, React Native/Expo for apps, MedusaJS or custom commerce core, NestJS for domains and integrations, PostgreSQL, Redis, queues and ERP/PIM/WMS. We design observability as part of architecture, not as a tool bolted on after launch.

During DDT we map critical flows, systems of truth, integration risks and business metrics. Only then do we decide where traces are needed, which logs require correlation IDs, which events run asynchronously, which alerts page humans and what the client owns after delivery: source code, dashboards, runbooks, API contracts and maintenance backlog.

This is also where cost becomes realistic. Fixed price after DDT only makes sense once we know which parts of the system must survive peak, which can degrade and which require a narrow specialist for performance, security, database or payments.

Pre-campaign checklist

Use this list at least 4-6 weeks before Black Friday, a major campaign or a new mobile commerce channel launch. If the answers are unclear, you are not peak-ready; you only hope the system will survive.

  • Do we have SLIs/SLOs for PDP, add-to-cart, checkout, payment, order confirmation and app crash-free users?
  • Does every critical request carry trace ID/correlation ID from frontend/app to backend, payments and integrations?
  • Do business alerts show purchase drop, payment/order mismatch, queue lag and stale inventory?
  • Do runbooks have owners, entry thresholds, dashboard links, degradation decisions and support messages?
  • Did we test the full purchase path, not only homepage and catalogue?
  • Can feature flags disable promotions, recommendations, newsletter popup or heavy integrations without stopping checkout?
  • Do we know the rollback plan, code freeze, on-call schedule, incident channel and exit criteria?

Sources and further reading

OpenTelemetry observability primer - traces, metrics, logs, SLIs/SLOs and distributed tracing: https://opentelemetry.io/docs/concepts/observability-primer/

Google SRE - Monitoring Distributed Systems and four golden signals: https://sre.google/sre-book/monitoring-distributed-systems/

DORA software delivery performance metrics: https://dora.dev/guides/dora-metrics/

Medusa events and subscribers: https://docs.medusajs.com/learn/fundamentals/events-and-subscribers

Next.js instrumentation guide: https://nextjs.org/docs/app/guides/instrumentation

Related GMI guide on event-driven commerce: https://gmi.software/blog/event-driven-commerce-redis-rabbitmq-sqs

Related GMI guide on quick commerce inventory: https://gmi.software/blog/quick-commerce-realtime-inventory

GMI MedusaJS development service: https://gmi.software/services/medusajs-development

Frequently asked questions

How does monitoring differ from observability?
Monitoring answers known questions, such as whether an endpoint is up or CPU crossed a threshold. Observability lets you diagnose new problems through traces, metrics and logs: where checkout breaks, which integration delays the order and what revenue impact it creates.
Why are plain logs not enough for microservices debugging?
In distributed checkout, one purchase attempt crosses storefront, API, payment provider, database, queue and ERP. Without trace ID/correlation ID, logs are thousands of events from the same second, not the story of one transaction.
Which ecommerce metrics matter more than CPU?
Checkout success rate, add-to-cart rate, payment authorization errors, order-created/payment-captured mismatch, stale inventory age, coupon validation latency, queue lag, API p95/p99 and app crash-free users. CPU helps diagnosis, but does not prove buyers can buy.
What should a Black Friday runbook include?
Entry threshold, decision owner, first 5 minutes of diagnosis, dashboard and trace links, safe feature flags, degradation plan, support message, rollback and incident exit criteria.
When should observability preparation start before peak sales?
At least 4-6 weeks before the campaign, ideally during DDT or architecture work. Traces, SLOs, alerts and runbooks require instrumentation, testing, decision owners and a game day, so they cannot be meaningfully bolted on the day before Black Friday.
How does GMI design observable commerce?
During DDT we map critical flows, systems of truth, ERP/PIM/WMS integrations, peak-traffic risks and business metrics. Then we design traces, logs with correlation IDs, SLOs, alerts, runbooks and degradation architecture together with the stack: Next.js, React Native, MedusaJS, NestJS, PostgreSQL, Redis and queues.

Content updated: July 11, 2026

Share article:

Related articles

Technology

React Native vs native apps in 2026: a business decision, not a technology religion

The right choice does not depend on which framework has louder fans. It depends on product risk: time-to-market, maintenance cost, hardware access, performance, release operations and app-store quality. A practical decision model for CEOs, CTOs and Heads of Product.

Technology

NestJS microservices: when should ecommerce split order processing from a monolith?

A decision guide for CTOs and ecommerce leaders: when to keep the monolith, when to extract order management, and how to use NestJS, RabbitMQ/Redis, Strangler Fig and DDT without checkout risk.

Contact

Let's talk
about the project.

Have an app idea or need technological support? Write to us — we'll prepare a preliminary analysis and estimate within 48h. Projects that go through our DDT process (Discovery, Design & Technology) come with a price guarantee and a fixed-price agreement — a key differentiator for us.

Write to us[email protected]
Visit us
GD
gmi.software Sp. z o.o.ul. Jana Heweliusza 11 / 819
80-890 Gdansk, PolandNearshore product delivery across EU, UK and US time zones.
NIP: 5252816287KRS: 0000830003
gmi.
ServicesOur projectsBlogBrief assistantContact
LIFAINGI
Mobile Trends Awards 2025 nomination - SFD app
© 2026 gmi.software Sp. z o.o.
Privacy PolicyTerms