Data model
BuiltEvery table Omniglass stores, with its primary and foreign keys and the references between them, in
one diagram. It is generated from the migrated schema by make gen, so it cannot fall out of
step with the tables: a schema change that does not regenerate it fails the ERD drift test. What the
tables mean is on the pages that own them, starting with core entities;
how they are stored is storage.
How to read it
Section titled “How to read it”Tables are grouped into subsystem containers. Each table shows only its primary-key and
foreign-key columns, the relational skeleton; the full column list of any table renders on its
owning page from the same schema facts. Each edge is a foreign key, drawn from the referencing column
to the row it points at. An edge that crosses a container border is a seam between subsystems
(fleet.component.product_id pointing at catalog.product.id).
The platform ERD
Section titled “The platform ERD”The subsystems
Section titled “The subsystems”- identity: who can act and with what: users (people and machine users), user groups, grants, roles and the impersonation trail. System slots, their typed guards and a standard’s choices render here too.
- fleet: what is monitored: locations and their types’ contracts, systems and membership, components and their dependency edges, and the endpoints a component is reached through.
- catalog: what the fleet is typed by: vendors, products, drivers, component types, system types and standards, their contracts, and the shadow rows an admin’s fork of a shipped row lives in.
- telemetry: the five lanes (metrics and properties, events, commands, log lines), their catalogs, the rules and alarms raised off them, and the notification lane.
- collection: where telemetry is gathered: outposts, their tasks and self-logs, webhook tokens, identity bindings and the inboxes of unclaimed sources.
- config: what parameterizes everything above: settings, variables and secrets, label rules, credentials and OAuth clients.
- content: blobs, files and tag bindings.
- audit: the audit log, every privileged mutation and sign-in, and the samples a writer-class ruling retired.