Skip to content

How Sypnia uses it

Telemetry, the pilot, keeps its recordings and raw events in Sypnia Files, and the rest of Sypnia serves its files from it too.

Applies to EngineCloud
View as Markdown
On this page
  1. How Telemetry uses Sypnia Files
  2. The rest of the suite
  3. 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 Files.

How Telemetry uses Sypnia Files

What Telemetry keepsHow it lives in Files
Raw events that arrive from every customer’s appthe private bucket telemetry-events, one key per segment, under the customer project’s id
Session recordings: replay chunks and page snapshotsthe same private bucket, read back only by the engine, which hands the console a short-lived link
Source maps uploaded by customers’ buildsthe same private bucket; they are never public and never reach a browser
Images of telemetry.sypnia.com and its docsa public bucket, served through Files’ CDN and sized for each screen with image transforms
  • Through the S3 API. Telemetry’s engine speaks S3, so it needs no special code: in Sypnia Cloud its storage.endpoint is Files’ S3-compatible API, with one S3 key limited to telemetry-events and to the actions the engine needs. Every request through that key is recorded with its id.
  • Retention stays with Telemetry. Each plan keeps data for a different time, and the Telemetry engine deletes what has expired once a day, so the bucket needs no rule of its own.
  • Files you never see. Nothing in telemetry-events is public. A recording is shown in the console through a link that works for a few minutes, for the person who opened it.
  • Traced in Telemetry itself. Each write and read is a span inside the trace of the Telemetry case that made it, so a slow upload of a recording shows up the way it would for a customer.
  • Self-hosted too. A self-hosted Telemetry engine can keep its data in a self-hosted Files engine the same way: set SYPNIA_STORAGE_ENDPOINT to the Files engine’s /s3 address and give it an S3 key for its bucket.

The rest of the suite

Product or siteWhat it keeps in Sypnia Files
Appthe files people attach in the chat, in the private bucket app-uploads, readable only by the person who sent them and the project they belong to
Mailattachments of received e-mail, when a project asks to keep them in a bucket of its own
Designrendered screens, the PDF of each design guide and exported images
Learnthe videos of the courses
Skillsthe published packages of each skill version
sypnia.com and every product siteimages and downloads, from public buckets through the CDN

What it proves

Telemetry writes to Files all day, from every customer’s app at once. If an upload is slow, a key opens more than it should, or a private file leaks to a public address, Telemetry is the first to feel it, in production, every day.

  1. How Telemetry uses Sypnia Files
  2. The rest of the suite
  3. What it proves

    Search pages, sections and terms