Quality, delivery and design

Helios

Telemetry for every microservice: one request followed from the client to the database, logs, metrics, dashboards, watchers and objectives.

Building

Helios

Helios keeps what every Samek node reports (the spans of its requests, its log lines and its counts) and answers questions about it. Nothing is written in a service to be seen: Samek’s generated code and runtime report it, so a service is observable the day it is deployed.

What it shows

  • Services: the list and the map of what calls what.
  • Traces: one request as a waterfall, from the client through the gateway and the actors to the database.
  • Logs: lines asked for in one language.
  • Metrics: series drawn over any window.
  • Dashboards and objectives: service-level objectives with their error budgets.
  • Watchers: a watcher raises an event when a value crosses its thresholds, and the event goes where any other event goes, to Make for example.

How it works

  • Taken. Every 2 seconds each node sends its batch of spans and lines; every 15 seconds Helios scrapes the node’s /metrics (Prometheus format).
  • Held. The last 30 minutes stay in memory, so a live window is answered at once; older ranges come from MLambda.Data.
  • Asked. One query language (its grammar in MLambda.Grammar, its checks as Shin laws, its series computed by Hilbert maths on Tensor). Helios also answers Prometheus’s own query API, and takes OTLP spans from software that is not Samek.
  • Decided by laws. A node’s state, what is kept and for how long, a watcher’s level, an objective’s state and the service map are each a Shin theory.
  • Kept. Batches are thinned to their failed and slow spans after 3 days, their lines dropped after 14 and the rest after 30; scrapes fold into five-minute means after 15 days.

Its window is Aphrodite on Sapphire, on the desktop and on the web. Its tests are Dream scenes, derived by Tsadi and judged by Ayin (Quality and delivery).