cloudparts

Observability

Knowing what production is doing, and acting when it breaks.

13 concepts · 36 technologies · 1 comparison · 2 real stacks

  1. Observability28 technologiesLogs, metrics and traces that tell you what your system is doing.
  2. Logs17 technologiesTimestamped records of what a program did, written as it runs and shipped somewhere you can search them.
  3. Structured loggingLogs written as named fields (logfmt or JSON) instead of free text, so a machine can filter, group and join them.
  4. Metrics18 technologiesNumbers measured over time, such as requests per second, error rate or p95 latency: cheap enough to keep for every service and to alert on.
  5. Distributed tracing10 technologiesFollow one request through every service it touches, as a tree of timed spans that share one trace ID.
  6. Correlation IDsOne ID per request, created at the edge and carried through every service, message and log line, so you can find everything that request did.
  7. Error tracking3 technologiesCatch every exception with its stack trace and context, and fold thousands of copies into one issue you can fix.
  8. Synthetic monitoring6 technologiesRobots that use your product from outside on a schedule, so you learn it’s broken before a customer tells you.
  9. Alerting9 technologiesRules that watch your metrics and logs and wake a human only when users are, or are about to be, hurt.
  10. On-call4 technologiesA rotation of engineers who carry the pager, so a real person answers when production breaks at 3 a.m.
  11. Incident management5 technologiesWhen something big breaks: declare it, give one person command, keep everyone informed, stop the damage, then learn from it without blame.
  12. Chaos engineering6 technologiesBreak parts of your system on purpose, in a controlled experiment, to learn whether it really survives the failures it was built to survive before a real outage tests it for you.
  13. Cloud cost and carbon2 technologiesTurn the bill and the carbon report your cloud publishes into numbers each team can see and act on: who spent what, on which service, for how much work, and with what emissions.

Technologies

Grouped by the concept each one mainly implements

Commonly confused

See it in a real stack

Architectures that use observability concepts

Worth exploring

All resources →
Article· February 2024Vault chaos engineeringKalam Abdul, HashiCorpFour chaos experiments on a three-node Vault cluster with integrated storage, run with Gremlin under load from the Vault benchmark tool: losing the leader (a standby takes over with little effect), losing quorum (reads and writes stop until you follow the recovery runbook), added latency and memory pressure. A concrete worked example of hypothesis, steady-state metrics and abort conditions; written by HashiCorp with help from Gremlin, so the fixes it suggests lean on Vault Enterprise features such as performance standbys and DR clusters.
Video· April 2021Automating for Failure: Disaster Recovery Testing with Terraform & GremlinSamson Olufuwa and Olubusayo Amowe (Fuerza), published by HashiCorpA 27-minute introductory talk on disaster recovery: the common strategies (backup and restore, pilot light, warm standby, multi-region), RTO and RPO, and how keeping infrastructure in Terraform modules and AMIs lets you rebuild it quickly, with a demo on AWS and regular drills to test the plan. The slides cover Terraform far more than Gremlin, and say plainly that Terraform does not back up your data; published on HashiCorp’s site, so it favours Terraform.
Article· April 2018Automating a Chaos Engineering Environment on AWS with Terraform and GremlinHo Ming Li, GremlinA step-by-step tutorial: Terraform builds a throwaway VPC and one EC2 instance whose user data installs the Gremlin agent, you run a latency attack from the Gremlin web app and watch ping times rise by about 100 ms, then terraform destroy removes it all. Useful as a pattern for disposable chaos test environments; it is Gremlin’s own tutorial, last updated in 2018 and flagged by Gremlin as possibly out of date, and it hardcodes agent credentials in user data, which it says not to do long term.
WebsiteOpenAPI.ToolsPhil Sturgeon and APIs You Won’t Hate, with community contributorsAn open-source directory of more than 300 tools for working with OpenAPI descriptions, sorted into 23 categories such as mock servers (about 25, including Prism, Microcks, WireMock and Specmatic), SDK generators, linters, documentation, gateways, testing and monitoring, and filterable by language and by which OpenAPI versions each supports. Entries arrive by pull request on GitHub; sponsors get priority placement and a badge in their categories, so the order isn’t a ranking.
WebsitePlatform tooling landscapePlatformEngineering.orgA filterable map of tools for building an internal developer platform. Each tool sits in one of five “planes” (developer control, integration and delivery, resource, observability, security) and a category such as IaC, CD pipeline, secrets or developer portal, with a one-line description. Vendors can submit their own tools, so treat it as a list of what exists rather than a ranking.