Skip to content

How Sypnia uses it

Every Sypnia product runs on Sypnia Run, and Telemetry, the pilot, shows how.

Applies to EngineCloud
View as Markdown
On this page
  1. How Telemetry runs on Run
  2. Its use cases, run by Run
  3. Deploys
  4. The rest of the suite
  5. What it proves

Telemetry is the pilot of the Sypnia suite: it is built on Sypnia from end to end and uses every Sypnia product. This is how it uses Sypnia Run.

How Telemetry runs on Run

Telemetry’s code lives in Sypnia Git, in the organization sypnia, and its Run project is telemetry, paid with the credits of Sypnia’s organization like any customer’s.

AppKindAddress
telemetry-sitestatic sitetelemetry.sypnia.com
telemetry-docsstatic sitetelemetry.docs.sypnia.com
telemetry-consoleserver-rendered apptelemetry.app.sypnia.com
telemetry-engineone service per area of its map, in Rusttelemetry.ingest.sypnia.com, telemetry.api.sypnia.com

Its use cases, run by Run

Telemetry’s map in Cases says how each of its cases starts, and Run creates the rest (Use cases):

CaseStartsWhat Run creates
ingest-batchexternal: an SDK sends a batchthe ingest endpoint, in the ingest service
roll-up-hourscheduled: every minutea schedule, calling the engine through cases.handlers
check-uptimescheduled: every minutea schedule in the uptime service
open-problemevent: ingest.ingest-batch.BatchStored.v1a subscription with its own queue
analyze-problemevent: problems.open-problem.ProblemOpened.v1a subscription; it calls Sypnia AI
send-alertevent: problems.open-problem.ProblemOpened.v1a subscription; it sends through Sypnia Mail
send-daily-summaryscheduled: each organization’s morning, in its time zonea schedule

ProblemOpened is saved in the outbox in the same transaction as the problem, so the analysis and the alert can never be lost or sent about a problem that does not exist. If the alert’s listener fails, its dead letters show on send-alert in the map, and the analysis carries on.

Deploys

  • A preview for every pull request, with its address in the pull request and the use-case diff next to the code diff.
  • Production waits for a person. An agent can deploy a preview; releasing to production is approved in Sypnia App.
  • Automatic rollback watches Telemetry’s own release markers: if errors rise after a release, Run goes back to the previous deploy.
  • The names are Sypnia Domains connections, with their certificates; secrets live in Run, files in Sypnia Files, and sign-in comes from Sypnia Data.

The rest of the suite

ProductWhat runs on Run
Cases, Git, Data, Files, Mail, Domainstheir sites, docs, consoles and APIs, and their cases as services per area
Agent, AI, Apptheir servers and the streaming answers
Design, Learn, Skillstheir sites, consoles and registries
sypnia.comthe suite’s own site

What it proves

Telemetry’s ingest is the busiest endpoint Sypnia has. If a deploy, a schedule or an event on Run is slow, late or lost, Telemetry is the first to feel it, in production, every day, and its own traces say where.

  1. How Telemetry runs on Run
  2. Its use cases, run by Run
  3. Deploys
  4. The rest of the suite
  5. What it proves

    Search pages, sections and terms