---
title: "Inside Laravel Nightwatch’s Observability Pipeline: Real-Time Event Processing with Amazon MSK and ClickHouse Cloud"
description: "Laravel Nightwatch, Laravel's first-party observability platform, ingests telemetry through API Gateway and Lambda into Amazon MSK Express brokers, then streams it into ClickHouse Cloud via ClickPipes, with materialized views pre-aggregating raw JSON."
url: "https://swe.quest/articles/inside-laravel-nightwatch-s-observability-pipeline-real-time-event-processing-2274d87b280c63f4"
canonical: "https://clickhouse.com/blog/laravel-nighwatch-clickhouse"
source: "ClickHouse"
published: "2025-10-08"
difficulty: "easy"
kind: "Case study"
reading_minutes: 5
tags: ["observability","analytics","messaging","cloud","system-design"]
---

# Inside Laravel Nightwatch’s Observability Pipeline: Real-Time Event Processing with Amazon MSK and ClickHouse Cloud

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2025-10-08, 5 min read, Case study. Original: [https://clickhouse.com/blog/laravel-nighwatch-clickhouse](https://clickhouse.com/blog/laravel-nighwatch-clickhouse)

## Summary

Laravel Nightwatch, Laravel's first-party observability platform, ingests telemetry through API Gateway and Lambda into Amazon MSK Express brokers, then streams it into ClickHouse Cloud via ClickPipes, with materialized views pre-aggregating raw JSON. Transactional data such as accounts and billing stays in RDS PostgreSQL, keeping it separate from analytical workloads. MSK sustained over 1 million events per second in load testing, and the launch handled 500 million events on day one with 97 ms average dashboard latency. Sub-second queries at billions of rows rely on time-series partitioning, ClickHouse codecs and compute separation, though the write-up stays high-level and reads partly as vendor marketing.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Queues & messaging](https://swe.quest/tags/messaging.md) (Backend & APIs)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- Apache Kafka basics ([easy posts on Queues & messaging](https://swe.quest/tags/messaging.md?difficulty=easy))
- columnar databases ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))

## Keywords

Laravel Nightwatch, ClickHouse Cloud, Amazon MSK, ClickPipes, AWS Lambda, Apache Kafka

## Related posts

- [How ClickHouse Cloud enabled LaunchDarkly to build and ship features faster](https://swe.quest/articles/how-clickhouse-cloud-enabled-launchdarkly-to-build-and-ship-features-faster-0e4ac03aed14f7e6.md): ClickHouse · 2026-01-22 · Medium · 10 min read · Analytics & OLAP, Data pipelines, Observability, Multi-tenancy, Cloud platforms
  LaunchDarkly replaced Kinesis/Flink/Lambda streaming pipelines and an S3/Parquet/Athena batch warehouse with ClickHouse Cloud.
- [Why Astronomer chose ClickHouse to power its new data observability platform, Astro Observe](https://swe.quest/articles/why-astronomer-chose-clickhouse-to-power-its-new-data-observability-platform-f5c7916b8461008d.md): ClickHouse · 2025-03-10 · Easy · 7 min read · Analytics & OLAP, Observability, Data pipelines, Queues & messaging
  Astronomer built Astro Observe, an observability platform for Apache Airflow, on ClickHouse Cloud after a per-customer Amazon RDS Postgres setup degraded on large time-range aggregations and forced limits on retained data.
- [Building Chronicle: How Temporal supercharged their observability with ClickHouse](https://swe.quest/articles/building-chronicle-how-temporal-supercharged-their-observability-with-clickhouse-79bdd569ad12228b.md): ClickHouse · 2024-11-14 · Easy · 6 min read · Observability, Analytics & OLAP, Multi-tenancy, Cost optimization
  Temporal built Chronicle, an observability system on ClickHouse, to handle high-cardinality, per-tenant telemetry for its multi-tenant Temporal Cloud without runaway costs.
- [Goodbye limitations, hello data: How Qonto is rethinking observability with ClickHouse Cloud](https://swe.quest/articles/goodbye-limitations-hello-data-how-qonto-is-rethinking-observability-with-756d9cefa803d826.md): ClickHouse · 2026-05-01 · Easy · 8 min read · Observability, Analytics & OLAP, AI agents, Cost optimization
  Qonto, a European digital bank, moved trace storage from Grafana Tempo to ClickHouse Cloud, extending query windows from 2-3 hours to two weeks without sampling and adopting a wide-events model instead of the logs/metrics/traces pillars.
- [Shopify powers observability for global-scale commerce with ClickHouse](https://swe.quest/articles/shopify-powers-observability-for-global-scale-commerce-with-clickhouse-36dcf526b053ca23.md): ClickHouse · 2026-08-20 · Medium · 8 min read · Observability, Analytics & OLAP, Scaling, Cost optimization, Multi-tenancy
  Shopify consolidated metrics, logs, traces, exceptions and profiles from multiple vendors onto Observe, an internal observability platform built on self-hosted ClickHouse, and saw a 16x query improvement out of the box (over 30x at peak) along with predictable costs.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
