@spunto/brand-kit 0.12.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/package.json +1 -1
- package/src/home/editions/agents.json +2 -0
- package/src/home/editions/boiler.json +379 -0
- package/src/home/editions/ci.json +2 -0
- package/src/home/editions/cloud.json +10 -0
- package/src/home/editions/cms.json +4 -0
- package/src/home/editions/desktop.json +4 -0
- package/src/home/editions/ds.json +2 -0
- package/src/home/editions/foyer.json +4 -0
- package/src/home/editions/lite.json +4 -0
- package/src/home/editions/sandbox.json +3 -1
- package/src/home/editions/search.json +2 -0
- package/src/home/editions/traces.json +293 -0
- package/src/home/editions.ts +5 -1
- package/src/home/products/boiler.ts +55 -0
- package/src/home/products/index.ts +3 -1
- package/src/home/products/traces.ts +67 -0
- package/src/home/showcase/catalog.ts +13 -1
- package/src/home/showcase/traces/sample.ts +102 -0
- package/src/home/showcase/traces/trace.tsx +334 -0
- package/src/home/showcase/view.tsx +2 -0
- package/src/paints.ts +23 -1
- package/src/products.ts +58 -1
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "traces-2026-12-cascade",
|
|
4
|
+
"name": "Cascade",
|
|
5
|
+
"note": "Spunto Traces' first page, in its own paint (Indigo · menthe): the claim on a field of points, the product at work — a trace's waterfall, its logs, and what the view cost —, the four things it shows and the fifth it alone says, the bounds in figures (spuntodotnet/traces docs/choix.md and the code's defaults), the four lines that plug a service in, the FAQ. Words from its README.md and the interim page of its site (web/src/marketing/Landing.tsx, branch doc-produit-cms @ 633fe51); the app is French only, its screen keeps its labels on the English page.",
|
|
6
|
+
"product": "traces",
|
|
7
|
+
"date": "2026-12-02",
|
|
8
|
+
"sections": [
|
|
9
|
+
{
|
|
10
|
+
"id": "hero",
|
|
11
|
+
"kind": "hero",
|
|
12
|
+
"layout": "band",
|
|
13
|
+
"theme": "night",
|
|
14
|
+
"kicker": {
|
|
15
|
+
"en": "Spunto Traces · observability on OpenTelemetry",
|
|
16
|
+
"fr": "Spunto Traces · l'observabilité sur OpenTelemetry"
|
|
17
|
+
},
|
|
18
|
+
"title": {
|
|
19
|
+
"en": "Your traces, logs and metrics, *and what each view cost*.",
|
|
20
|
+
"fr": "Vos traces, logs et métriques, *et ce que chaque vue a coûté*."
|
|
21
|
+
},
|
|
22
|
+
"lede": {
|
|
23
|
+
"en": "Plug in any OpenTelemetry SDK or Collector. Follow a request from service to service, read its logs, watch your machines and containers, replay what your visitors saw. Everything is stored in Parquet and read by DuckDB — and every view says how many files it read.",
|
|
24
|
+
"fr": "Branchez n'importe quel SDK ou Collector OpenTelemetry. Suivez une requête d'un service à l'autre, lisez ses logs, regardez vos machines et vos conteneurs, rejouez ce qu'ont vu vos visiteurs. Tout est stocké en Parquet et lu par DuckDB — et chaque vue dit combien de fichiers elle a lus."
|
|
25
|
+
},
|
|
26
|
+
"actions": [
|
|
27
|
+
{
|
|
28
|
+
"label": {
|
|
29
|
+
"en": "Get started",
|
|
30
|
+
"fr": "Commencer"
|
|
31
|
+
},
|
|
32
|
+
"href": "/login"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"label": {
|
|
36
|
+
"en": "Read the docs",
|
|
37
|
+
"fr": "Lire la documentation"
|
|
38
|
+
},
|
|
39
|
+
"href": "/docs",
|
|
40
|
+
"variant": "ghost"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"scene": {
|
|
44
|
+
"module": "terrain"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "trace",
|
|
49
|
+
"kind": "showcase",
|
|
50
|
+
"theme": "paper",
|
|
51
|
+
"title": {
|
|
52
|
+
"en": "From the request *to the line that failed*.",
|
|
53
|
+
"fr": "De la requête *à la ligne qui a échoué*."
|
|
54
|
+
},
|
|
55
|
+
"lede": {
|
|
56
|
+
"en": "A trace is a waterfall of its spans, the self time of each service above it — where the time really went — and the logs written with its trace id below. A click on a span opens its attributes.",
|
|
57
|
+
"fr": "Une trace, c'est la cascade de ses spans, le temps propre de chaque service au-dessus — où le temps est vraiment passé — et, dessous, les logs écrits avec son identifiant. Un clic sur un span ouvre ses attributs."
|
|
58
|
+
},
|
|
59
|
+
"stops": [
|
|
60
|
+
{
|
|
61
|
+
"kicker": {
|
|
62
|
+
"en": "A sandbox that would not start",
|
|
63
|
+
"fr": "Une sandbox qui ne démarre pas"
|
|
64
|
+
},
|
|
65
|
+
"title": {
|
|
66
|
+
"en": "Waterfall · span · logs · cost",
|
|
67
|
+
"fr": "Cascade · span · logs · coût"
|
|
68
|
+
},
|
|
69
|
+
"text": {
|
|
70
|
+
"en": "traefik, then the API, then the runtime that answered 503 after 2.4 s: 98.8 % of the time spent there. Its error and Traefik's access log sit under the waterfall; the bottom line says the page read 41 Parquet files in 96 ms.",
|
|
71
|
+
"fr": "traefik, puis l'API, puis le runtime qui a répondu 503 au bout de 2,4 s : 98,8 % du temps passé là. Son erreur et l'access log de Traefik sont sous la cascade ; la ligne du bas dit que la page a lu 41 fichiers Parquet en 96 ms."
|
|
72
|
+
},
|
|
73
|
+
"screen": "traces-trace",
|
|
74
|
+
"layout": "wide"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "what",
|
|
80
|
+
"kind": "pillars",
|
|
81
|
+
"theme": "paper",
|
|
82
|
+
"title": {
|
|
83
|
+
"en": "Four views of your services. *And one of itself.*",
|
|
84
|
+
"fr": "Quatre vues sur vos services. *Et une sur lui-même.*"
|
|
85
|
+
},
|
|
86
|
+
"items": [
|
|
87
|
+
{
|
|
88
|
+
"title": {
|
|
89
|
+
"en": "APM and traces",
|
|
90
|
+
"fr": "APM et traces"
|
|
91
|
+
},
|
|
92
|
+
"text": {
|
|
93
|
+
"en": "Requests, errors and p50 / p95 / p99 latency per service and operation. A search in Datadog's syntax — duration:>300ms, http.status_code:5xx, @any.attribute — over every span, with its facets.",
|
|
94
|
+
"fr": "Requêtes, erreurs et latences p50 / p95 / p99 par service et par opération. Une recherche dans la syntaxe de Datadog — duration:>300ms, http.status_code:5xx, @n'importe.quel.attribut — sur tous les spans, avec ses facettes."
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"title": {
|
|
99
|
+
"en": "Logs and patterns",
|
|
100
|
+
"fr": "Logs et motifs"
|
|
101
|
+
},
|
|
102
|
+
"text": {
|
|
103
|
+
"en": "OTLP, container files, Traefik's access log, browser consoles. JSON, logfmt or plain text: the level, the trace and the service are read from the line. Patterns fold messages to their shape, level by level.",
|
|
104
|
+
"fr": "OTLP, fichiers des conteneurs, access log de Traefik, consoles des navigateurs. JSON, logfmt ou texte brut : le niveau, la trace et le service sont lus dans la ligne. Les motifs ramènent les messages à leur forme, niveau par niveau."
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"title": {
|
|
109
|
+
"en": "RUM and replay",
|
|
110
|
+
"fr": "RUM et replay"
|
|
111
|
+
},
|
|
112
|
+
"text": {
|
|
113
|
+
"en": "Views, actions, errors and Web Vitals at the 75th percentile, from the browser SDK. Each session replayed in an isolated frame where no script of the page runs; a fetch opens its trace on the server.",
|
|
114
|
+
"fr": "Vues, actions, erreurs et Web Vitals au 75ᵉ percentile, depuis le SDK navigateur. Chaque session rejouée dans un cadre isolé où aucun script de la page ne s'exécute ; un fetch ouvre sa trace côté serveur."
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"title": {
|
|
119
|
+
"en": "Infrastructure",
|
|
120
|
+
"fr": "Infrastructure"
|
|
121
|
+
},
|
|
122
|
+
"text": {
|
|
123
|
+
"en": "Machines and containers from a Collector's hostmetrics and docker_stats, tied to the services that run on them, and a metrics explorer: rates, sums and averages, grouped by any attribute.",
|
|
124
|
+
"fr": "Machines et conteneurs depuis hostmetrics et docker_stats d'un Collector, reliés aux services qui y tournent, et un explorateur de métriques : taux, sommes et moyennes, regroupés par n'importe quel attribut."
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"title": {
|
|
129
|
+
"en": "Every view shows what it cost",
|
|
130
|
+
"fr": "Chaque vue montre ce qu'elle a coûté"
|
|
131
|
+
},
|
|
132
|
+
"text": {
|
|
133
|
+
"en": "Under each page: the Parquet files it read, their size, the milliseconds DuckDB took. Spunto Traces traces itself too — each read, each DuckDB query, each write.",
|
|
134
|
+
"fr": "Sous chaque page : les fichiers Parquet lus, leur taille, les millisecondes de DuckDB. Spunto Traces se trace lui-même aussi — chaque lecture, chaque requête DuckDB, chaque écriture."
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "bounds",
|
|
141
|
+
"kind": "facts",
|
|
142
|
+
"theme": "night",
|
|
143
|
+
"title": {
|
|
144
|
+
"en": "Plain files. *Read fast.*",
|
|
145
|
+
"fr": "Des fichiers simples. *Lus vite.*"
|
|
146
|
+
},
|
|
147
|
+
"facts": [
|
|
148
|
+
"traces-cold",
|
|
149
|
+
"traces-week",
|
|
150
|
+
"traces-size",
|
|
151
|
+
"traces-flush",
|
|
152
|
+
"traces-retention"
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "plug",
|
|
157
|
+
"kind": "command",
|
|
158
|
+
"theme": "night",
|
|
159
|
+
"title": {
|
|
160
|
+
"en": "Plug a service in: *four variables*.",
|
|
161
|
+
"fr": "Brancher un service : *quatre variables*."
|
|
162
|
+
},
|
|
163
|
+
"lede": {
|
|
164
|
+
"en": "Any OpenTelemetry SDK reads them and sends its traces, logs and metrics over OTLP/HTTP, in protobuf or JSON. Your key comes from Settings and ingestion, which also gives a Collector's configuration for machines, containers and their log files.",
|
|
165
|
+
"fr": "N'importe quel SDK OpenTelemetry les lit et envoie ses traces, logs et métriques en OTLP/HTTP, en protobuf ou en JSON. Votre clé vient de Réglages et ingestion, qui donne aussi la configuration d'un Collector pour les machines, les conteneurs et leurs fichiers de logs."
|
|
166
|
+
},
|
|
167
|
+
"command": "OTEL_EXPORTER_OTLP_ENDPOINT=https://traces.spunto.net\nOTEL_EXPORTER_OTLP_HEADERS=authorization=Bearer%20stk_…\nOTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf\nOTEL_SERVICE_NAME=my-service\n# the SDK adds /v1/traces, /v1/logs and /v1/metrics",
|
|
168
|
+
"prompt": false,
|
|
169
|
+
"caption": {
|
|
170
|
+
"en": ".env",
|
|
171
|
+
"fr": ".env"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"id": "faq",
|
|
176
|
+
"kind": "faq",
|
|
177
|
+
"theme": "paper",
|
|
178
|
+
"title": {
|
|
179
|
+
"en": "Questions",
|
|
180
|
+
"fr": "Questions"
|
|
181
|
+
},
|
|
182
|
+
"items": [
|
|
183
|
+
{
|
|
184
|
+
"q": {
|
|
185
|
+
"en": "What can I send it?",
|
|
186
|
+
"fr": "Que peut-on lui envoyer ?"
|
|
187
|
+
},
|
|
188
|
+
"a": {
|
|
189
|
+
"en": "OTLP/HTTP traces, logs and metrics, in protobuf or JSON, gzip accepted, with a stk_ key as a bearer token, an X-API-Key header or a Basic password. Browsers send RUM, replays and console logs with OpenObserve's browser SDK.",
|
|
190
|
+
"fr": "Des traces, logs et métriques en OTLP/HTTP, en protobuf ou en JSON, gzip accepté, avec une clé stk_ en jeton Bearer, en en-tête X-API-Key ou en mot de passe Basic. Les navigateurs envoient RUM, replays et logs de console avec le SDK navigateur d'OpenObserve."
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"q": {
|
|
195
|
+
"en": "Why Parquet and DuckDB?",
|
|
196
|
+
"fr": "Pourquoi Parquet et DuckDB ?"
|
|
197
|
+
},
|
|
198
|
+
"a": {
|
|
199
|
+
"en": "Measured before choosing: on a week of real spans, every query under 0.6 s, where an indexed Postgres took 10 to 28 s on aggregates and six times the disk. On 100 M spans, ClickHouse was of the same order. One file per organisation, day and service, sorted by time, and a catalogue that skips the files outside the window.",
|
|
200
|
+
"fr": "Mesuré avant de choisir : sur une semaine de vrais spans, chaque requête sous 0,6 s, quand un Postgres indexé mettait 10 à 28 s sur les agrégats et six fois plus de disque. Sur 100 M de spans, ClickHouse était du même ordre. Un fichier par organisation, jour et service, trié par temps, et un catalogue qui écarte les fichiers hors de la fenêtre."
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"q": {
|
|
205
|
+
"en": "How long is data kept?",
|
|
206
|
+
"fr": "Combien de temps les données sont-elles gardées ?"
|
|
207
|
+
},
|
|
208
|
+
"a": {
|
|
209
|
+
"en": "30 days by default; then each day's files are deleted, partition by partition. The Data page shows what each day and service weighs.",
|
|
210
|
+
"fr": "30 jours par défaut ; ensuite les fichiers de chaque jour sont effacés, partition par partition. La page Données montre ce que pèse chaque jour et chaque service."
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"q": {
|
|
215
|
+
"en": "Who can open an account?",
|
|
216
|
+
"fr": "Qui peut ouvrir un compte ?"
|
|
217
|
+
},
|
|
218
|
+
"a": {
|
|
219
|
+
"en": "Accounts are the app's own, by email or with Google. Sign-ups are on a list for now; anyone invited into an organisation can join it.",
|
|
220
|
+
"fr": "Les comptes sont propres à l'app, par email ou avec Google. Les inscriptions se font sur liste pour l'instant ; toute personne invitée dans une organisation peut la rejoindre."
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"q": {
|
|
225
|
+
"en": "Is the documentation in English?",
|
|
226
|
+
"fr": "La documentation est-elle en anglais ?"
|
|
227
|
+
},
|
|
228
|
+
"a": {
|
|
229
|
+
"en": "Not yet: the documentation, like the app, is in French.",
|
|
230
|
+
"fr": "Pas encore : la documentation, comme l'app, est en français."
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"id": "family",
|
|
237
|
+
"kind": "family",
|
|
238
|
+
"theme": "night",
|
|
239
|
+
"title": {
|
|
240
|
+
"en": "Same universe, *different tools*.",
|
|
241
|
+
"fr": "Même univers, *outils différents*."
|
|
242
|
+
},
|
|
243
|
+
"lede": {
|
|
244
|
+
"en": "Spunto Traces reads what the family's services send. The rest of the family, each in its own colours.",
|
|
245
|
+
"fr": "Spunto Traces lit ce qu'envoient les services de la famille. Le reste de la famille, chacun dans ses couleurs."
|
|
246
|
+
},
|
|
247
|
+
"products": [
|
|
248
|
+
"cloud",
|
|
249
|
+
"sandbox",
|
|
250
|
+
"agents",
|
|
251
|
+
"desktop",
|
|
252
|
+
"ci",
|
|
253
|
+
"lite",
|
|
254
|
+
"cms",
|
|
255
|
+
"search",
|
|
256
|
+
"ds",
|
|
257
|
+
"foyer",
|
|
258
|
+
"boiler"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"id": "start",
|
|
263
|
+
"kind": "cta",
|
|
264
|
+
"theme": "signal",
|
|
265
|
+
"title": {
|
|
266
|
+
"en": "Send a first span, *read it in five seconds*.",
|
|
267
|
+
"fr": "Envoyez un premier span, *lisez-le dans cinq secondes*."
|
|
268
|
+
},
|
|
269
|
+
"lede": {
|
|
270
|
+
"en": "Create an organisation, copy its key, set the four variables. What arrives is written to Parquet every five seconds.",
|
|
271
|
+
"fr": "Créez une organisation, copiez sa clé, posez les quatre variables. Ce qui arrive est écrit en Parquet toutes les cinq secondes."
|
|
272
|
+
},
|
|
273
|
+
"actions": [
|
|
274
|
+
{
|
|
275
|
+
"label": {
|
|
276
|
+
"en": "Get started",
|
|
277
|
+
"fr": "Commencer"
|
|
278
|
+
},
|
|
279
|
+
"href": "/login"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"label": {
|
|
283
|
+
"en": "Read the docs",
|
|
284
|
+
"fr": "Lire la documentation"
|
|
285
|
+
},
|
|
286
|
+
"href": "/docs",
|
|
287
|
+
"variant": "ghost"
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
}
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
]
|
package/src/home/editions.ts
CHANGED
|
@@ -16,6 +16,8 @@ import desktop from "./editions/desktop.json"
|
|
|
16
16
|
import ci from "./editions/ci.json"
|
|
17
17
|
import sandbox from "./editions/sandbox.json"
|
|
18
18
|
import agents from "./editions/agents.json"
|
|
19
|
+
import traces from "./editions/traces.json"
|
|
20
|
+
import boiler from "./editions/boiler.json"
|
|
19
21
|
import search from "./editions/search.json"
|
|
20
22
|
import ds from "./editions/ds.json"
|
|
21
23
|
import foyer from "./editions/foyer.json"
|
|
@@ -24,7 +26,7 @@ import foyer from "./editions/foyer.json"
|
|
|
24
26
|
export type HomeEditionFile = Omit<HomeEdition, "sections"> & { sections?: HomeSection[] }
|
|
25
27
|
|
|
26
28
|
/** Each product's file, as imported — what the studio's server rewrites (`editions/<product>.json`). */
|
|
27
|
-
export const EDITION_FILES = { cloud, lite, cms, desktop, ci, sandbox, agents, search, ds, foyer } as unknown as Record<BrandProductId, HomeEditionFile[]>
|
|
29
|
+
export const EDITION_FILES = { cloud, lite, cms, desktop, ci, sandbox, agents, traces, boiler, search, ds, foyer } as unknown as Record<BrandProductId, HomeEditionFile[]>
|
|
28
30
|
|
|
29
31
|
const STORED = Object.values(EDITION_FILES).flat()
|
|
30
32
|
|
|
@@ -45,6 +47,8 @@ export const PUBLISHED: Record<BrandProductId, string | null> = {
|
|
|
45
47
|
ci: "ci-2026-11-relais",
|
|
46
48
|
sandbox: "sandbox-2026-11-moteur",
|
|
47
49
|
agents: "agents-2026-11-fil",
|
|
50
|
+
traces: "traces-2026-12-cascade",
|
|
51
|
+
boiler: "boiler-2026-12-chaudiere",
|
|
48
52
|
search: null,
|
|
49
53
|
ds: null,
|
|
50
54
|
foyer: "foyer-2026-11-tablee",
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// Spunto Boiler's facts — the figures its home editions quote. The editions themselves are data:
|
|
2
|
+
// ../editions/boiler.json.
|
|
3
|
+
//
|
|
4
|
+
// Every figure was measured on 2026-12-02 on the example app of spuntodotnet/boiler, « Le Carnet »
|
|
5
|
+
// (examples/carnet), with Node 24, Vite 8.4 and React 19.3 — by Mathieu and by the agent writing the
|
|
6
|
+
// framework. The product's site imports its published edition: `<ProductHome product="boiler" />`
|
|
7
|
+
// (PUBLISHED in ../editions.ts).
|
|
8
|
+
//
|
|
9
|
+
// Source of the words: the brief of the parent task creating spuntodotnet/boiler (2026-12-02): the API
|
|
10
|
+
// (`createApp`, `c.render`, `route`, `openapi`, `docs`, `boiler start`), the stack (Hono, Zod, Vite 8 —
|
|
11
|
+
// Rolldown, Oxc, Lightning CSS —, @vitejs/plugin-rsc), MIT. Not claimed: nested layouts, a cache, a target
|
|
12
|
+
// other than Node (« not yet », version 0.x), any comparison with another framework's figures.
|
|
13
|
+
|
|
14
|
+
import type { Fact } from "../../facts"
|
|
15
|
+
import type { Words } from "../types"
|
|
16
|
+
|
|
17
|
+
const w = (en: string, fr: string): Words => ({ en, fr })
|
|
18
|
+
|
|
19
|
+
const CARNET = "spuntodotnet/boiler examples/carnet, 2026-12-02 (Node 24, Vite 8.4, React 19.3)"
|
|
20
|
+
|
|
21
|
+
export const facts: Fact[] = [
|
|
22
|
+
{
|
|
23
|
+
id: "boiler-client-js",
|
|
24
|
+
value: w("2.5 kB", "2,5 Ko"),
|
|
25
|
+
label: w(
|
|
26
|
+
"of client components' JavaScript on the page, gzipped — the rest is React DOM",
|
|
27
|
+
"de JavaScript des composants client de la page, gzippé — le reste, c’est React DOM",
|
|
28
|
+
),
|
|
29
|
+
source: `${CARNET}; React DOM apart (~77 kB gzipped)`,
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: "boiler-build",
|
|
33
|
+
value: w("~2.5 s", "~2,5 s"),
|
|
34
|
+
label: w(
|
|
35
|
+
"for a whole build: the RSC server, SSR and the client",
|
|
36
|
+
"pour un build complet : le serveur RSC, le SSR et le client",
|
|
37
|
+
),
|
|
38
|
+
source: `${CARNET}; vite build`,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: "boiler-ttfb",
|
|
42
|
+
value: w("15 ms", "15 ms"),
|
|
43
|
+
label: w(
|
|
44
|
+
"to the page's first byte — its slow section (1.5 s) streams in later, in the same response",
|
|
45
|
+
"jusqu’au premier octet de la page — sa section lente (1,5 s) arrive ensuite en streaming, dans la même réponse",
|
|
46
|
+
),
|
|
47
|
+
source: `${CARNET}`,
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
id: "boiler-memory",
|
|
51
|
+
value: w("~45 MB", "~45 Mo"),
|
|
52
|
+
label: w("of memory for the production container", "de mémoire pour le conteneur de prod"),
|
|
53
|
+
source: `${CARNET}; its Docker image`,
|
|
54
|
+
},
|
|
55
|
+
]
|
|
@@ -5,10 +5,12 @@ import * as desktop from "./desktop"
|
|
|
5
5
|
import * as ci from "./ci"
|
|
6
6
|
import * as sandbox from "./sandbox"
|
|
7
7
|
import * as agents from "./agents"
|
|
8
|
+
import * as traces from "./traces"
|
|
9
|
+
import * as boiler from "./boiler"
|
|
8
10
|
import * as search from "./search"
|
|
9
11
|
import * as ds from "./ds"
|
|
10
12
|
import * as foyer from "./foyer"
|
|
11
13
|
|
|
12
|
-
const ALL = [lite, cms, desktop, ci, sandbox, agents, search, ds, foyer]
|
|
14
|
+
const ALL = [lite, cms, desktop, ci, sandbox, agents, traces, boiler, search, ds, foyer]
|
|
13
15
|
|
|
14
16
|
export const PRODUCT_FACTS = ALL.flatMap((p) => p.facts)
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// Spunto Traces' facts — the figures its home editions quote. The editions themselves are data:
|
|
2
|
+
// ../editions/traces.json.
|
|
3
|
+
//
|
|
4
|
+
// Every figure is one spuntodotnet/traces measured or set, with where: the reads were measured on 2026-12-01/02
|
|
5
|
+
// (docs/choix.md — a week of real spans on a worker, 100 M generated spans on a GCP VM with 8 vCPUs), the rest are
|
|
6
|
+
// the defaults of its code. The product's site imports its published edition: `<ProductHome product="traces" />`
|
|
7
|
+
// (PUBLISHED in ../editions.ts).
|
|
8
|
+
//
|
|
9
|
+
// Source of the words: spuntodotnet/traces @ f363c6d (2026-12-02), README.md and docs/choix.md; the app's screens
|
|
10
|
+
// (docs/screens/*.png of the branch doc-produit-cms @ 633fe51). Not claimed: a price, open signups (accounts are on a
|
|
11
|
+
// list or by invitation), self-hosting instructions, geolocation of RUM sessions (« pas encore »), anything measured
|
|
12
|
+
// on its production volume — the benchmark figures say where they were measured.
|
|
13
|
+
|
|
14
|
+
import type { Fact } from "../../facts"
|
|
15
|
+
import type { Words } from "../types"
|
|
16
|
+
|
|
17
|
+
const w = (en: string, fr: string): Words => ({ en, fr })
|
|
18
|
+
|
|
19
|
+
const REPO = "spuntodotnet/traces @ f363c6d"
|
|
20
|
+
|
|
21
|
+
export const facts: Fact[] = [
|
|
22
|
+
{
|
|
23
|
+
id: "traces-cold",
|
|
24
|
+
value: w("≤ 1.3 s", "≤ 1,3 s"),
|
|
25
|
+
label: w(
|
|
26
|
+
"per query, cold, over 100 M spans — DuckDB on Parquet, a VM with 8 vCPUs",
|
|
27
|
+
"par requête, à froid, sur 100 M de spans — DuckDB sur Parquet, une VM à 8 vCPU",
|
|
28
|
+
),
|
|
29
|
+
source: `${REPO}, docs/choix.md:10-11 (100 M spans, GCP VM 8 vCPU, DuckDB + DuckLake ≤ 1,3 s à froid; data gs://hammerbot-bench-traces, scripts docs/bench/)`,
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: "traces-week",
|
|
33
|
+
value: w("< 0.6 s", "< 0,6 s"),
|
|
34
|
+
label: w(
|
|
35
|
+
"for every query over a week of real spans (25 M), one file per day × service",
|
|
36
|
+
"pour chaque requête sur une semaine de vrais spans (25 M), un fichier par jour × service",
|
|
37
|
+
),
|
|
38
|
+
source: `${REPO}, docs/choix.md:7-8 (une semaine, 25 M de spans, sur un worker : < 0,6 s pour toutes les requêtes)`,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: "traces-size",
|
|
42
|
+
value: w("1.3 GB", "1,3 Go"),
|
|
43
|
+
label: w(
|
|
44
|
+
"of Parquet for that week — the same spans took 8.2 GB in an indexed Postgres",
|
|
45
|
+
"de Parquet pour cette semaine — les mêmes spans pesaient 8,2 Go dans un Postgres indexé",
|
|
46
|
+
),
|
|
47
|
+
source: `${REPO}, docs/choix.md:8 (Postgres indexé, 14 colonnes, 8,2 Go contre 1,3 Go de Parquet); server/store.ts:116 (COMPRESSION zstd)`,
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
id: "traces-flush",
|
|
51
|
+
value: w("5 s", "5 s"),
|
|
52
|
+
label: w(
|
|
53
|
+
"between two writes: what arrived becomes Parquet, sorted by time, compressed in ZSTD",
|
|
54
|
+
"entre deux écritures : ce qui est arrivé devient du Parquet, trié par temps, compressé en ZSTD",
|
|
55
|
+
),
|
|
56
|
+
source: `${REPO}, server/config.ts:23 (FLUSH_MS = 5 000), server/store.ts:5-6, 116, 245; README.md:20`,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: "traces-retention",
|
|
60
|
+
value: w("30 days", "30 jours"),
|
|
61
|
+
label: w(
|
|
62
|
+
"kept by default, then a day's files are deleted, partition by partition",
|
|
63
|
+
"gardés par défaut, puis les fichiers d'un jour sont effacés, partition par partition",
|
|
64
|
+
),
|
|
65
|
+
source: `${REPO}, server/config.ts:27 (RETENTION_DAYS = 30), server/store.ts:195; README.md:24, 164`,
|
|
66
|
+
},
|
|
67
|
+
]
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import type { BrandProductId } from "../../products"
|
|
14
14
|
|
|
15
|
-
export type ShowcaseScreenId = "cms-board" | "cms-table" | "cms-page" | "cms-views" | "desktop-wall" | "desktop-drive" | "desktop-handoff" | "desktop-launcher" | "foyer-phone" | "foyer-week" | "foyer-pantry" | "foyer-book" | "sandbox-terminal" | "agents-thread"
|
|
15
|
+
export type ShowcaseScreenId = "cms-board" | "cms-table" | "cms-page" | "cms-views" | "desktop-wall" | "desktop-drive" | "desktop-handoff" | "desktop-launcher" | "foyer-phone" | "foyer-week" | "foyer-pantry" | "foyer-book" | "sandbox-terminal" | "agents-thread" | "traces-trace"
|
|
16
16
|
|
|
17
17
|
export type ShowcaseScreenMeta = {
|
|
18
18
|
id: ShowcaseScreenId
|
|
@@ -40,6 +40,11 @@ const FOYER_SOURCE = "coderhammer/foyer@aa0f3b1 · app/src/views/menus.jsx, stoc
|
|
|
40
40
|
// the member write follows the page's language (agents/sample.ts).
|
|
41
41
|
const AGENTS_SOURCE = "coderhammer/spunto-agents@76d4667 · web/src/app/OrgRoutes.tsx (la barre latérale), Agent.tsx (les onglets), Conversation.tsx et Decisions.tsx (le fil, la carte d’une décision), server/agent-api.ts (la requête de l’agent, sa réponse, la notification) ; la matinée de DevRel de web/src/marketing/Landing.tsx"
|
|
42
42
|
|
|
43
|
+
// The app exists in French only: its labels are printed as it prints them, on the English page too. The trace is one the
|
|
44
|
+
// demo sends (scripts/demo.mjs: a sandbox created during the incident, the runtime's 503 coming back up as a 502), drawn
|
|
45
|
+
// as the trace page lays it out (traces/sample.ts).
|
|
46
|
+
const TRACES_SOURCE = "spuntodotnet/traces@f363c6d · web/src/app/Trace.tsx (la page d’une trace : temps propre par service, cascade, logs, coût), OrgShell.tsx (la barre latérale), ui.tsx (QueryCost), server/telemetry.ts et query.ts (le span de la lecture, traces.query.*), scripts/demo.mjs (la trace, ses logs) ; la capture docs/screens/trace.png de doc-produit-cms@633fe51"
|
|
47
|
+
|
|
43
48
|
// The CLI speaks English only: its lines are printed as it prints them, on the French page too (sandbox/sample.ts).
|
|
44
49
|
const SANDBOX_SOURCE = "spuntodotnet/sandbox@ac4a9b8 · src/cli/main.ts (ce que sbx écrit), docs/content/docs/quickstart.mdx et benchmarks.mdx de docs/site@f0639c5 (les commandes, les durées mesurées)"
|
|
45
50
|
|
|
@@ -142,6 +147,13 @@ export const SHOWCASE_SCREENS: Record<ShowcaseScreenId, ShowcaseScreenMeta> = {
|
|
|
142
147
|
story: "La conversation avec DevRel : il dit ce que son passage a fait, puis demande avant de publier — la décision arrive dans le fil et sur le téléphone, on choisit « Publier », on répond, la réponse repart dans la tâche même qui l’a demandée, et l’agent reprend.",
|
|
143
148
|
source: AGENTS_SOURCE,
|
|
144
149
|
},
|
|
150
|
+
"traces-trace": {
|
|
151
|
+
id: "traces-trace",
|
|
152
|
+
product: "traces",
|
|
153
|
+
name: "Une trace",
|
|
154
|
+
story: "La création d’une sandbox qui échoue : la cascade se déroule de traefik à l’API puis au runtime, le temps propre par service montre où il est passé, un clic sur le span en erreur ouvre ses attributs (503), ses logs arrivent sous la cascade, et la ligne du bas dit ce que la vue a coûté — fichiers Parquet, octets, millisecondes.",
|
|
155
|
+
source: TRACES_SOURCE,
|
|
156
|
+
},
|
|
145
157
|
}
|
|
146
158
|
|
|
147
159
|
export const SHOWCASE_SCREEN_IDS = Object.keys(SHOWCASE_SCREENS) as ShowcaseScreenId[]
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// What the Traces screen shows. The app exists in French only (spuntodotnet/traces, web/src/app/*: `lang = "fr"`): its
|
|
2
|
+
// labels stay in French on the English page, like Desktop's and Agents'. The two captions over it follow the page.
|
|
3
|
+
//
|
|
4
|
+
// The trace is one the app's demo sends (scripts/demo.mjs, `API_ROUTES` and `runtime()`): a sandbox created during the
|
|
5
|
+
// incident — traefik, then spunto-api (auth, the providers, the INSERT), then its call to spunto-runtime-cloud, slow and
|
|
6
|
+
// answering 503, which comes back up as a 502. Its two logs are the ones the demo writes for it (the API's error, the
|
|
7
|
+
// access log of Traefik as server/logs.ts makes it readable). Durations are an example of the incident's (360 ms × 6).
|
|
8
|
+
|
|
9
|
+
type W = { en: string; fr: string }
|
|
10
|
+
|
|
11
|
+
export const UI = {
|
|
12
|
+
brand: "Spunto",
|
|
13
|
+
product: "Traces",
|
|
14
|
+
org: "Démo",
|
|
15
|
+
role: "owner",
|
|
16
|
+
/** The sidebar of OrgShell.tsx: its sections, and the entries the screen shows (the trace's is lit). */
|
|
17
|
+
nav: [
|
|
18
|
+
{ section: "APM", items: ["Vue d'ensemble", "Services", "Explorer les spans", "Trace"] },
|
|
19
|
+
{ section: "Logs", items: ["Explorer les logs"] },
|
|
20
|
+
{ section: "RUM", items: ["Applications", "Sessions"] },
|
|
21
|
+
{ section: "Infrastructure", items: ["Machines et conteneurs", "Métriques"] },
|
|
22
|
+
{ section: "Organisation", items: ["Données", "Réglages et ingestion"] },
|
|
23
|
+
],
|
|
24
|
+
back: "Explorer",
|
|
25
|
+
when: "02 déc., 09:14:07",
|
|
26
|
+
traceId: "7c41e0b29a5d4f6e8b03d1a2c95f4e17",
|
|
27
|
+
stats: [
|
|
28
|
+
["Durée", "2.41s"],
|
|
29
|
+
["Spans", "11"],
|
|
30
|
+
["Services", "3"],
|
|
31
|
+
],
|
|
32
|
+
selfTitle: "Temps propre par service",
|
|
33
|
+
selfSub: "La durée de chaque span moins celle de ses enfants : où la trace a réellement passé son temps",
|
|
34
|
+
span: "Span",
|
|
35
|
+
duration: "Duration",
|
|
36
|
+
legend: "click a span for details, the chevron to fold it",
|
|
37
|
+
logsTitle: "Logs de la trace",
|
|
38
|
+
logsSub: "2 logs écrits avec cet identifiant de trace",
|
|
39
|
+
/** QueryCost (ui.tsx): « 41 fichiers Parquet · 18 Mo », « 96 ms ». */
|
|
40
|
+
cost: { files: "41 fichiers Parquet · 18 Mo", ms: "96 ms" },
|
|
41
|
+
attributes: "Attributs",
|
|
42
|
+
} as const
|
|
43
|
+
|
|
44
|
+
export type Kind = "http" | "db" | "internal"
|
|
45
|
+
|
|
46
|
+
export type SampleSpan = {
|
|
47
|
+
service: "traefik" | "spunto-api" | "spunto-runtime-cloud"
|
|
48
|
+
name: string
|
|
49
|
+
depth: number
|
|
50
|
+
/** ms from the trace's start */
|
|
51
|
+
start: number
|
|
52
|
+
end: number
|
|
53
|
+
kind: Kind
|
|
54
|
+
error?: boolean
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export const TOTAL = 2412
|
|
58
|
+
|
|
59
|
+
export const SPANS: SampleSpan[] = [
|
|
60
|
+
{ service: "traefik", name: "POST", depth: 0, start: 0, end: 2412, kind: "http", error: true },
|
|
61
|
+
{ service: "traefik", name: "ReverseProxy", depth: 1, start: 0.3, end: 2411, kind: "http" },
|
|
62
|
+
{ service: "spunto-api", name: "POST /api/orgs/:orgId/sandboxes", depth: 2, start: 1.1, end: 2409, kind: "http", error: true },
|
|
63
|
+
{ service: "spunto-api", name: "auth", depth: 3, start: 1.6, end: 3, kind: "internal" },
|
|
64
|
+
{ service: "spunto-api", name: "pg.query:SELECT spunto", depth: 4, start: 1.8, end: 2.7, kind: "db" },
|
|
65
|
+
{ service: "spunto-api", name: "sandbox.providers.list", depth: 3, start: 3.4, end: 6.9, kind: "internal" },
|
|
66
|
+
{ service: "spunto-api", name: "pg.query:SELECT spunto", depth: 4, start: 3.6, end: 4.4, kind: "db" },
|
|
67
|
+
{ service: "spunto-api", name: "pg.query:SELECT spunto", depth: 4, start: 4.7, end: 6.6, kind: "db" },
|
|
68
|
+
{ service: "spunto-api", name: "pg.query:INSERT spunto", depth: 3, start: 7.4, end: 18.6, kind: "db" },
|
|
69
|
+
{ service: "spunto-api", name: "POST", depth: 3, start: 19.2, end: 2405, kind: "http", error: true },
|
|
70
|
+
{ service: "spunto-runtime-cloud", name: "POST /capabilities/:capability/:operation", depth: 4, start: 19.9, end: 2403, kind: "http", error: true },
|
|
71
|
+
]
|
|
72
|
+
|
|
73
|
+
/** The span the pointer opens: the runtime's 503. */
|
|
74
|
+
export const PICKED = SPANS.length - 1
|
|
75
|
+
|
|
76
|
+
/** Self time by service, as Trace.tsx's ServiceBreakdown computes it from the spans above. */
|
|
77
|
+
export const SELF = [
|
|
78
|
+
{ service: "spunto-runtime-cloud", label: "2.38s · 98,8 %", share: 0.988 },
|
|
79
|
+
{ service: "spunto-api", label: "25ms · 1 %", share: 0.01 },
|
|
80
|
+
{ service: "traefik", label: "4ms · 0,2 %", share: 0.002 },
|
|
81
|
+
] as const
|
|
82
|
+
|
|
83
|
+
/** The picked span's attributes (scripts/demo.mjs, runtime()), and its resource's version. */
|
|
84
|
+
export const ATTRS: [string, string][] = [
|
|
85
|
+
["http.route", "/capabilities/:capability/:operation"],
|
|
86
|
+
["http.request.method", "POST"],
|
|
87
|
+
["http.response.status_code", "503"],
|
|
88
|
+
["sandbox.operation", "create"],
|
|
89
|
+
["service.version", "2026.11.30"],
|
|
90
|
+
]
|
|
91
|
+
|
|
92
|
+
/** What the services wrote with this trace id: the API's error, and Traefik's access log made readable. */
|
|
93
|
+
export const LOGS = [
|
|
94
|
+
{ at: "+1 ms", level: "ERROR", service: "spunto-api", message: "POST /api/orgs/:orgId/sandboxes a échoué : le runtime a répondu 503" },
|
|
95
|
+
{ at: "+2,4 s", level: "ERROR", service: "traefik", message: "POST spunto.net/api/orgs/bx3DjKJyRjiToRMr-Dvhp/sandboxes 502 2412 ms" },
|
|
96
|
+
]
|
|
97
|
+
|
|
98
|
+
export const CAPTION = {
|
|
99
|
+
/* server/telemetry.ts: the app traces its own reads — a server span named by its route, what the view cost as attributes. */
|
|
100
|
+
self: { en: "Spunto Traces, traced by itself", fr: "Spunto Traces, tracé par lui-même" },
|
|
101
|
+
span: { en: "the span you clicked", fr: "le span cliqué" },
|
|
102
|
+
} satisfies Record<string, W>
|