Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Grab Engineering 19 min read Case study mediumAdept

Iris - Turning observations into actionable insights for enhanced decision making

Iris is Grab's observability platform for Spark and Presto ETL jobs, built because instance-level CPU and memory metrics couldn't isolate per-job JVM usage, especially on shared compute. A Metrics Collector built on Uber's JVM Profiler and sparkMeasure gathers JVM-level metrics (heap/non-heap memory, GC, CPU, I/O, threads) and Spark listener metrics without code changes, and publishes them asynchronously to Kafka. From Kafka, Telegraf writes to InfluxDB for Grafana dashboards with 5-10 second freshness, and metrics also sync hourly to S3 tables in the data lake for historical analysis. That history feeds provisioning recommendations that flag over- or under-provisioned jobs to cut cost.

Related posts

  • Monitor your ClickHouse Cloud services with the new Prometheus/Grafana Mix-in

    ClickHouse mediumAdept

    ClickHouse Cloud now offers a Prometheus/Grafana mix-in: a pre-built Grafana dashboard, nearly identical to ClickHouse's internal one, fed by the cloud API's Prometheus endpoint. That endpoint federates metrics from every service in an organization and handles stopped or idling services, which per-instance scraping of system tables cannot. Its `filtered_metrics` parameter trims the 1000+ available metrics to about 125 critical ones, cutting scrape cost and noise. Setup is a Prometheus scrape config with basic auth and `honor_labels: true`, then importing the dashboard from Grafana.com or GitHub.

  • Enhanced ClickHouse Cloud Monitoring with Prometheus

    ClickHouse mediumAdept

    ClickHouse Cloud now exposes a Prometheus metrics endpoint through its Cloud API, authenticated with organization-level Developer API keys. Routing scrapes through the control plane means agents never wake idle instances. Scrape queries come from a limited-permission user that the data plane ignores when deciding whether to idle. Rather than querying system tables on every scrape, a Refreshable Materialized View runs the expensive multi-table query once a minute into a Memory-engine table (system.custom_metrics), which caps query load from misconfigured agents. Example configs show Prometheus (with honor_labels: true) and Datadog OpenMetrics scraping over 1000 metrics.

  • IBM Instana’s solution for monitoring ClickHouse performance

    ClickHouse easyNovice

    IBM Instana, which stores its telemetry in ClickHouse, built a custom span exporter to trace ClickHouse's own query execution without adding load or invasive changes to customer systems. Materialized views were rejected because they add overhead and complexity. Instead, the exporter is deployed through the auto-discovering Instana agent and polls ClickHouse's OpenTelemetry span table with a sliding window so no spans are missed. It filters and formats spans before sending them to the backend, which stitches them into end-to-end traces. Design goals included one-line installation, automatic reconfiguration, a minimal footprint, and future support for metrics and profiling.

  • Building On-call: Our observability strategy

    incident.io mediumAdept

    incident.io structures observability for its on-call product as a consistent drill-down path. A Grafana overview dashboard works as a traffic light for each subsystem. From there, engineers move to per-subsystem dashboards (alerts, alert routing, escalations, notifications), then to structured event logs, and finally to traces linked through exemplars. Each layer tracks concrete signals: queue depth and oldest un-acked PubSub message, seconds of work per second, and outcome-labelled metrics such as rate_limited or new_incident. Treating dashboards as a product with a shared design system avoids "dashboard soup" and makes observability usable by the whole team during incidents.

  • Why (and how) GitHub is adopting OpenTelemetry

    GitHub Engineering mediumAdept

    GitHub is standardizing on OpenTelemetry to replace a patchwork of statsd dialects, syslog-format logs and OpenTracing traces that made cross-signal correlation hard and forced repeated instrumentation work. The initial focus is tracing as the root signal, from which metrics, logs and exception reports can be derived and correlated via trace IDs injected into log lines. Opinionated internal helper libraries and community auto-instrumentation for Rails, PG, ActiveJob and HTTP clients give quick wins. Ruby config examples show a no-op span exporter for tests and a few `c.use` lines that surface slow database calls.

The quest for software engineering knowledge.

Look:
Layout: