---
title: "Three Mighty Alerts Supporting Hugging Face’s Production Infrastructure"
description: "Hugging Face's infrastructure team relies on three alerts to catch problems early."
url: "https://swe.quest/articles/three-mighty-alerts-supporting-hugging-face-s-production-infrastructure-66775538377e73af"
canonical: "https://huggingface.co/blog/infrastructure-alerting"
source: "Hugging Face"
published: "2025-07-08"
difficulty: "medium"
kind: "Case study"
reading_minutes: 15
tags: ["observability","sre","kubernetes","cost-optimization","cloud"]
---

# Three Mighty Alerts Supporting Hugging Face’s Production Infrastructure

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2025-07-08, 15 min read, Case study. Original: [https://huggingface.co/blog/infrastructure-alerting](https://huggingface.co/blog/infrastructure-alerting)

## Summary

Hugging Face's infrastructure team relies on three alerts to catch problems early. A static-threshold alert on NAT gateway throughput flags cost-relevant egress changes, such as misrouted traffic that skips cheap private paths to object storage; the fix uses Route53 Resolver DNS overrides managed with CDKTF. An end-to-end alert compares ALB request counts with logs archived through a Filebeat → Logstash → Elasticsearch → Parquet/S3 → Glue/Athena pipeline, catching log loss caused by backpressure, schema-detection failures, OOMs and failed archive jobs. The third alert tracks Kubernetes API error rates and rate limiting, which matter because kube-rs controllers manage certificates, node draining and billing.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [SRE](https://swe.quest/tags/sre.md) (Reliability & operations)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- Kubernetes basics ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- AWS networking ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))
- log pipelines

## Keywords

Hugging Face, NAT gateway, Route53 Resolver, CDKTF, Elasticsearch, Logstash, AWS Athena, kube-rs

## Related posts

- [Observability At Scale — Every Byte Counts](https://swe.quest/articles/observability-at-scale-every-byte-counts-3491ffe2c3088798.md): Wise Engineering · 2026-10-20 · Medium · 14 min read · Observability, Cost optimization, Performance engineering, Kubernetes
  Five observability changes at Wise cut monthly spend by 40%.
- [Thundering herd of circuit breakers](https://swe.quest/articles/thundering-herd-of-circuit-breakers-b2ab1d42eebffb68.md): Zalando Engineering · 2026-10-07 · Medium · 9 min read · Resilience, Incidents & postmortems, Observability, Kubernetes, Capacity planning
  A client's circuit breaker stayed open for hours because its half-open probes hit a service that the HPA had scaled down to three pods.
- [Ensuring reliable OpenTelemetry ingestion at scale](https://swe.quest/articles/ensuring-reliable-opentelemetry-ingestion-at-scale-ef5f46f7e6587da0.md): ClickHouse · 2026-08-24 · Medium · 12 min read · Observability, Resilience, Data pipelines, Cloud platforms, Kubernetes
  ClickHouse's LogHouse OpenTelemetry pipeline, ingesting 50 million events per second, absorbs database backpressure by failing over to S3 rather than buffering in memory, local WALs or Kafka.
- [Logs, Metrics, and Traces: What Does Each Signal Tell You?](https://swe.quest/articles/logs-metrics-and-traces-what-does-each-signal-tell-you-3a828a88ec5fbd9a.md): Railway · 2025-11-07 · Easy · 8 min read · Observability, Incidents & postmortems
  Logs, metrics and traces answer different questions: metrics show when behaviour changed, traces show where in the service graph a request slowed or failed, and logs explain why.
- [Service disruption on October 20, 2025](https://swe.quest/articles/service-disruption-on-october-20-2025-fe786fa7dabbc413.md): incident.io · 2025-10-22 · Medium · 12 min read · Incidents & postmortems, Resilience, PostgreSQL, CI/CD, Cloud platforms
  The October 20, 2025 AWS us-east-1 outage degraded incident.io through third-party dependencies even though it runs on Google Cloud: its transcription, SAML, telecom and status page providers were all affected.

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)
