-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
564 lines (523 loc) · 34 KB
/
Copy pathindex.html
File metadata and controls
564 lines (523 loc) · 34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
<!doctype html>
<html lang="en" data-theme="light">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>blackbox.o11y.cool — public Prometheus Blackbox Exporter</title>
<meta name="description" content="A free, rate-limited public Prometheus Blackbox Exporter. Point your Prometheus at blackbox.o11y.cool/probe to check whether your endpoints are up and returning the status you expect." />
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg%20width%3D%2264%22%20height%3D%2264%22%20viewBox%3D%220%200%2064%2064%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22fav%22%20x1%3D%226%22%20y1%3D%2218%22%20x2%3D%2258%22%20y2%3D%2246%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%235a74ff%22%2F%3E%3Cstop%20offset%3D%220.5%22%20stop-color%3D%22%233aa6e6%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232fd0bc%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20rx%3D%2214%22%20fill%3D%22%2316150f%22%2F%3E%3Cg%20transform%3D%22translate(32%2033)%20scale(0.165)%20translate(-176%20-102)%22%3E%3Cg%20stroke%3D%22%23f7f6f2%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M128%2084%20Q66%2032%2030%2044%20Q44%2078%20128%20104%20Z%22%20fill%3D%22url(%23fav)%22%2F%3E%3Cpath%20d%3D%22M128%20106%20Q52%2076%2014%2092%20Q44%20116%20128%20122%20Z%22%20fill%3D%22url(%23fav)%22%2F%3E%3C%2Fg%3E%3Cg%20stroke%3D%22%23f7f6f2%22%20stroke-width%3D%227%22%20stroke-linejoin%3D%22round%22%20transform%3D%22translate(352%2C0)%20scale(-1%2C1)%22%3E%3Cpath%20d%3D%22M128%2084%20Q66%2032%2030%2044%20Q44%2078%20128%20104%20Z%22%20fill%3D%22url(%23fav)%22%2F%3E%3Cpath%20d%3D%22M128%20106%20Q52%2076%2014%2092%20Q44%20116%20128%20122%20Z%22%20fill%3D%22url(%23fav)%22%2F%3E%3C%2Fg%3E%3Cg%3E%3Crect%20x%3D%22124%22%20y%3D%2250%22%20width%3D%22104%22%20height%3D%22104%22%20rx%3D%2220%22%20fill%3D%22%2316150f%22%20stroke%3D%22%23f7f6f2%22%20stroke-width%3D%227.5%22%2F%3E%3Ccircle%20cx%3D%22176%22%20cy%3D%22106%22%20r%3D%2230%22%20stroke%3D%22%23f7f6f2%22%20stroke-width%3D%224.5%22%20opacity%3D%220.28%22%2F%3E%3Ccircle%20cx%3D%22176%22%20cy%3D%22106%22%20r%3D%2219.5%22%20stroke%3D%22%23f7f6f2%22%20stroke-width%3D%224.5%22%20opacity%3D%220.55%22%2F%3E%3Ccircle%20cx%3D%22176%22%20cy%3D%22106%22%20r%3D%2211.5%22%20fill%3D%22url(%23fav)%22%20stroke%3D%22%23f7f6f2%22%20stroke-width%3D%223.5%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E" />
<style>
/* ============================================================================
o11y.cool — Foundations: Color + Type (from the o11y.cool design system)
============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');
:root {
--font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
--font-body: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
--font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
--paper: #f7f6f2;
--paper-2: #efede5;
--surface: #ffffff;
--surface-2: #fbfaf7;
--ink: #16150f;
--ink-2: #5f5e54;
--ink-3: #908e82;
--line: #e7e4da;
--line-2: #d7d3c6;
--signal: #2e49ef;
--signal-press: #2238c9;
--signal-soft: #eaf0fd;
--signal-fg: #ffffff;
--signal-end: #12b3a4;
--signal-grad: linear-gradient(118deg, #2e49ef 0%, #12b3a4 100%);
--signal-grad-press: linear-gradient(118deg, #2238c9 0%, #0d9788 100%);
--signal-grad-soft: linear-gradient(118deg, #eaf0fd 0%, #e2f6f2 100%);
--healthy: #1f9d57; --healthy-soft: #e6f4ec;
--warn: #c97e00; --warn-soft: #fbf0d9;
--critical: #d83a3a; --critical-soft:#fce8e8;
--info: var(--signal);
--info-soft: var(--signal-soft);
--r-xs: 4px; --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 20px; --r-pill: 999px;
--sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
--sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
--shadow-sm: 0 1px 2px rgba(22,21,15,0.05);
--shadow-md: 0 4px 16px rgba(22,21,15,0.06), 0 1px 3px rgba(22,21,15,0.05);
--shadow-lg: 0 24px 64px rgba(22,21,15,0.08), 0 8px 24px rgba(22,21,15,0.05);
--t-display: clamp(40px, 6vw, 72px);
--t-h1: clamp(32px, 4vw, 46px);
--t-h2: clamp(26px, 3vw, 34px);
--t-h3: 22px; --t-h4: 18px; --t-lede: 19px; --t-body: 16px;
--t-small: 14px; --t-label: 12px; --t-code: 13.5px;
}
[data-theme="dark"] {
--paper: #131210;
--paper-2: #1a1814;
--surface: #1c1a16;
--surface-2: #211f1a;
--ink: #f3f1e8;
--ink-2: #a8a59a;
--ink-3: #757267;
--line: #2c2a24;
--line-2: #3a372f;
--signal: #6a82ff;
--signal-press: #8497ff;
--signal-soft: #1b1f3a;
--signal-fg: #ffffff;
--signal-end: #35d6c2;
--signal-grad: linear-gradient(118deg, #5a74ff 0%, #2fd0bc 100%);
--signal-grad-press: linear-gradient(118deg, #7e91ff 0%, #4fe0cd 100%);
--signal-grad-soft: linear-gradient(118deg, #1b1f3a 0%, #15302c 100%);
--healthy: #3fc77e; --healthy-soft: #142a1d;
--warn: #e0a93a; --warn-soft: #2c2412;
--critical: #f06464; --critical-soft: #2e1616;
--shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
--shadow-md: 0 4px 16px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.5);
--shadow-lg: 0 24px 64px rgba(0,0,0,0.55), 0 8px 24px rgba(0,0,0,0.5);
}
/* ============================================================================
Component styles (from the o11y.cool website UI kit)
============================================================================ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
background: var(--paper);
color: var(--ink);
font-family: var(--font-body);
font-size: var(--t-body);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
transition: background 0.18s ease, color 0.18s ease;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--signal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
::selection { background: var(--signal-soft); }
h1, h2, h3, h4 {
font-family: var(--font-display); font-weight: 600;
letter-spacing: -0.02em; line-height: 1.08; color: var(--ink);
margin: 0; text-wrap: balance;
}
.app { min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.label {
font-family: var(--font-mono); font-size: var(--t-label);
text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500;
color: var(--ink-2);
}
.label.accent { color: var(--signal); }
/* ---- Nav ---------------------------------------------------------------- */
.nav {
position: sticky; top: 0; z-index: 40;
background: color-mix(in srgb, var(--paper) 78%, transparent);
backdrop-filter: saturate(180%) blur(14px);
border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.brand .wm { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.03em; }
.brand .wm .suffix { color: var(--ink-3); }
.nav-links { display: flex; gap: 6px; }
.nav-link {
font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase;
letter-spacing: 0.08em; color: var(--ink-2); background: none; border: none;
padding: 7px 11px; border-radius: var(--r-sm); transition: color 0.14s, background 0.14s;
white-space: nowrap; text-decoration: none;
}
.nav-link:hover { color: var(--ink); background: var(--paper-2); text-decoration: none; }
.nav-spacer { flex: 1; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.icon-btn {
width: 36px; height: 36px; border-radius: var(--r-sm); border: 1px solid var(--line);
background: var(--surface); color: var(--ink-2); display: inline-flex;
align-items: center; justify-content: center; transition: all 0.14s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); text-decoration: none; }
/* ---- Buttons ------------------------------------------------------------ */
.btn {
font-family: var(--font-body); font-size: 14px; font-weight: 500;
border-radius: var(--r-md); padding: 10px 17px; border: 1px solid transparent;
display: inline-flex; align-items: center; gap: 7px; transition: all 0.14s; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--signal-grad); color: var(--signal-fg); border-color: transparent; }
.btn-primary:hover { background: var(--signal-grad-press); border-color: transparent; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink-3); }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: var(--r-sm); }
.btn-lg { padding: 13px 22px; font-size: 15px; }
/* ---- Status / dots ------------------------------------------------------ */
.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.05em; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--healthy); } .status.ok { color: var(--healthy); }
@keyframes o11y-ping { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--healthy) 45%,transparent);} 70%{box-shadow:0 0 0 7px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }
.dot.live { background: var(--healthy); animation: o11y-ping 1.9s infinite; }
/* ---- Hero --------------------------------------------------------------- */
.hero { padding: 86px 0 56px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.hero h1 { font-family: var(--font-display); font-size: var(--t-display); font-weight: 600; line-height: 1.0; letter-spacing: -0.03em; margin: 0 0 22px; max-width: 18ch; }
.hero h1 .ink3 { color: var(--ink-3); }
.hero .lede { font-size: var(--t-lede); color: var(--ink-2); max-width: 60ch; margin: 0 0 30px; line-height: 1.5; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; gap: 2px; }
.hero-meta .m .v { font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.hero-meta .m .k { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
/* ---- Sections ----------------------------------------------------------- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 20px; }
.section-head h2 { font-family: var(--font-display); font-size: var(--t-h2); font-weight: 600; letter-spacing: -0.02em; margin: 8px 0 0; }
.section-sub { color: var(--ink-2); font-size: 15px; margin: 10px 0 0; max-width: 62ch; line-height: 1.55; }
/* ---- Setup grid --------------------------------------------------------- */
.setup-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 16px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 24px; }
.panel h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.panel p { color: var(--ink-2); font-size: 14px; margin: 0 0 16px; line-height: 1.55; }
/* terminal stays dark in both themes (fixed near-black, not var(--ink) which inverts) */
.term { background: #16150f; border-radius: var(--r-md); padding: 16px 18px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: #f3f1e8; overflow-x: auto; margin: 0; }
[data-theme="dark"] .term { border: 1px solid var(--line-2); }
.term .cm { color: #908e82; }
.term .ac { color: #6a82ff; }
.term .ok { color: #3fc77e; }
.term .str { color: #3fc77e; }
.term-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.copy-btn { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 5px 10px; display: inline-flex; align-items: center; gap: 6px; transition: all 0.14s; }
.copy-btn:hover { color: var(--ink); border-color: var(--ink-3); }
/* ---- Module cards ------------------------------------------------------- */
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 12px; transition: all 0.16s; }
.mod-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mod-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mod-name { font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--ink); }
.mod-code { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; padding: 3px 9px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--ink-2); background: var(--surface-2); white-space: nowrap; }
.mod-code.ok { color: var(--healthy); border-color: color-mix(in srgb, var(--healthy) 30%, var(--line)); background: var(--healthy-soft); }
.mod-code.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 30%, var(--line)); background: var(--warn-soft); }
.mod-code.crit { color: var(--critical); border-color: color-mix(in srgb, var(--critical) 30%, var(--line)); background: var(--critical-soft); }
.mod-code.sig { color: var(--signal); border-color: color-mix(in srgb, var(--signal) 30%, var(--line)); background: var(--signal-soft); }
.mod-desc { color: var(--ink-2); font-size: 14px; margin: 0; line-height: 1.5; }
.mod-default { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--signal); margin-top: auto; }
/* ---- Callout ------------------------------------------------------------ */
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--warn); border-radius: var(--r-md); padding: 16px 18px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.callout .label { margin-bottom: 6px; color: var(--warn); display: block; }
.callout code { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-xs); padding: 1px 6px; font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
/* ---- Footer ------------------------------------------------------------- */
.footer { margin-top: auto; border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--ink-2); font-size: 14px; }
.footer-row { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 30px; }
.footer-col h6 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin: 0 0 12px; font-weight: 500; }
.footer-col a { display: block; padding: 4px 0; color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.02em; gap: 16px; flex-wrap: wrap; }
.footer-blurb { max-width: 40ch; line-height: 1.6; margin: 12px 0 0; color: var(--ink-2); font-size: 13.5px; }
/* ---- Graph-paper backdrop ---------------------------------------------- */
.backdrop { position: absolute; top: 0; left: 0; right: 0; height: 100vh; z-index: 0; pointer-events: none; overflow: hidden; }
.backdrop.grid {
background-image:
linear-gradient(to right, color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1px),
linear-gradient(to bottom, color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1px);
background-size: 30px 30px;
-webkit-mask-image: radial-gradient(ellipse 120% 75% at 50% -5%, #000 45%, transparent 100%);
mask-image: radial-gradient(ellipse 120% 75% at 50% -5%, #000 45%, transparent 100%);
}
.backdrop.grid::after {
content: ''; position: absolute; inset: 0;
background-image:
linear-gradient(to right, color-mix(in srgb, var(--signal) 10%, transparent) 1px, transparent 1px),
linear-gradient(to bottom, color-mix(in srgb, var(--signal) 10%, transparent) 1px, transparent 1px);
background-size: 150px 150px;
}
/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
.mod-grid { grid-template-columns: repeat(2, 1fr); }
.setup-grid { grid-template-columns: 1fr; }
.footer-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
.mod-grid { grid-template-columns: 1fr; }
.hero { padding: 60px 0 40px; }
}
</style>
</head>
<body>
<div class="app">
<div class="backdrop grid"></div>
<!-- ===== Nav ===== -->
<header class="nav">
<div class="container nav-inner">
<a class="brand" href="/" aria-label="o11y.cool home">
<!-- winged-box + radar-ping brand mark (from the o11y.cool design system) -->
<svg width="42" height="26" viewBox="0 0 340 210" fill="none" style="display:block;flex:none" aria-hidden="true">
<defs>
<linearGradient id="mk" x1="20" y1="50" x2="320" y2="160" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#2e49ef" /><stop offset="0.5" stop-color="#2486d4" /><stop offset="1" stop-color="#12b3a4" />
</linearGradient>
</defs>
<g stroke="var(--ink)" stroke-width="7" stroke-linejoin="round">
<path d="M128 84 Q66 32 30 44 Q44 78 128 104 Z" fill="url(#mk)" />
<path d="M128 106 Q52 76 14 92 Q44 116 128 122 Z" fill="url(#mk)" />
</g>
<g stroke="var(--ink)" stroke-width="7" stroke-linejoin="round" transform="translate(352,0) scale(-1,1)">
<path d="M128 84 Q66 32 30 44 Q44 78 128 104 Z" fill="url(#mk)" />
<path d="M128 106 Q52 76 14 92 Q44 116 128 122 Z" fill="url(#mk)" />
</g>
<g>
<rect x="124" y="50" width="104" height="104" rx="20" fill="var(--surface)" stroke="var(--ink)" stroke-width="7.5" />
<path d="M124 76 H228" stroke="var(--ink)" stroke-width="4.5" opacity="0.18" />
<circle cx="176" cy="106" r="30" stroke="var(--ink)" stroke-width="4.5" opacity="0.22" />
<circle cx="176" cy="106" r="19.5" stroke="var(--ink)" stroke-width="4.5" opacity="0.5" />
<circle cx="176" cy="106" r="11.5" fill="url(#mk)" stroke="var(--ink)" stroke-width="3.5" />
</g>
</svg>
<span class="wm">blackbox<span class="suffix">.o11y.cool</span></span>
</a>
<nav class="nav-links">
<a class="nav-link" href="#setup">Setup</a>
<a class="nav-link" href="#modules">Modules</a>
<a class="nav-link" href="https://github.com/observabilitystack" target="_blank" rel="noopener">GitHub</a>
</nav>
<div class="nav-spacer"></div>
<div class="nav-right">
<a class="icon-btn" href="https://github.com/observabilitystack" target="_blank" rel="noopener" title="GitHub" aria-label="GitHub">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.4 5.4 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4"/><path d="M9 18c-4.51 2-5-2-7-2"/></svg>
</a>
<button class="icon-btn" id="theme-toggle" title="Toggle theme" aria-label="Toggle light / dark theme"></button>
</div>
</div>
</header>
<main>
<!-- ===== Hero ===== -->
<section class="hero">
<div class="container">
<div class="hero-eyebrow">
<span class="dot live"></span>
<span class="label">PUBLIC BLACKBOX EXPORTER</span>
</div>
<h1>Probe your endpoints <span class="ink3">from the outside.</span></h1>
<p class="lede">A free, publicly hosted <a href="https://github.com/prometheus/blackbox_exporter" target="_blank" rel="noopener">Prometheus Blackbox Exporter</a>. Point your Prometheus at <code style="font-family:var(--font-mono);font-size:0.9em">blackbox.o11y.cool/probe</code> to check whether your targets are up and returning the HTTP status you expect. Rate limited for fair access — no signup, no keys.</p>
<div class="hero-actions">
<a class="btn btn-primary btn-lg" href="#setup">Get started <span aria-hidden="true">→</span></a>
<a class="btn btn-ghost btn-lg" href="https://github.com/observabilitystack" target="_blank" rel="noopener">View on GitHub</a>
</div>
<div class="hero-meta">
<div class="m"><span class="v">/probe</span><span class="k">endpoint</span></div>
<div class="m"><span class="v">6</span><span class="k">modules</span></div>
<div class="m"><span class="v">HTTP · IPv4</span><span class="k">prober</span></div>
<div class="m"><span class="v">5s</span><span class="k">timeout</span></div>
</div>
</div>
</section>
<!-- ===== Setup ===== -->
<section class="section" id="setup" style="scroll-margin-top:80px">
<div class="container">
<div class="section-head">
<div>
<span class="label accent">QUICK START</span>
<h2>Point your Prometheus at me</h2>
<p class="section-sub">Scrape <span style="font-family:var(--font-mono)">/probe</span>, pick a module for the response you expect, and let relabeling rewrite the address to <span style="font-family:var(--font-mono)">blackbox.o11y.cool</span> while keeping your real target as the <span style="font-family:var(--font-mono)">instance</span> label.</p>
</div>
</div>
<div class="setup-grid">
<div class="panel">
<h3>The endpoint</h3>
<p>One probe endpoint, selected by the <span style="font-family:var(--font-mono)">module</span> and <span style="font-family:var(--font-mono)">target</span> query params.</p>
<div class="term-head">
<span class="label" style="font-size:10.5px">TRY IT</span>
<button class="copy-btn" data-copy="url" type="button">Copy</button>
</div>
<pre class="term" id="probe-url"><span class="cm"># check a target returns 2xx</span>
GET <span class="ac">https://blackbox.o11y.cool/probe</span>
?module=<span class="ok">http_2xx</span>
&target=https://prometheus.io</pre>
</div>
<div class="panel">
<h3>Prometheus scrape config</h3>
<p>Drop this into <span style="font-family:var(--font-mono)">prometheus.yml</span> — swap <span style="font-family:var(--font-mono)">module</span> for any module below.</p>
<div class="term-head">
<span class="label" style="font-size:10.5px">prometheus.yml</span>
<button class="copy-btn" data-copy="scrape" type="button">Copy</button>
</div>
<pre class="term" id="scrape-config">scrape_configs:
<span class="cm">- job_name: blackbox</span>
scheme: https
metrics_path: /probe
params:
module: [<span class="ok">http_2xx</span>]
static_configs:
- targets:
- https://prometheus.io
- https://o11y.cool
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: <span class="ac">blackbox.o11y.cool</span>
- target_label: __scheme__
replacement: https</pre>
</div>
</div>
</div>
</section>
<!-- ===== Modules ===== -->
<section class="section" id="modules" style="padding-top:8px;scroll-margin-top:80px">
<div class="container">
<div class="section-head">
<div>
<span class="label accent">PROBE MODULES</span>
<h2>Pick what you expect back</h2>
<p class="section-sub">Every module uses the HTTP prober over IPv4 with a 5 second timeout. A probe reports <span style="font-family:var(--font-mono)">probe_success 1</span> when the response matches the module's expected status.</p>
</div>
</div>
<div class="mod-grid">
<div class="mod-card">
<div class="mod-top"><span class="mod-name">http_2xx</span><span class="mod-code ok">2xx</span></div>
<p class="mod-desc">Any 2xx response. The general-purpose "is it up?" check.</p>
<span class="mod-default">● default module</span>
</div>
<div class="mod-card">
<div class="mod-top"><span class="mod-name">http_post_2xx</span><span class="mod-code ok">POST · 2xx</span></div>
<p class="mod-desc">POST variant of http_2xx — expects any 2xx from a POST request.</p>
</div>
<div class="mod-card">
<div class="mod-top"><span class="mod-name">http_3xx</span><span class="mod-code sig">3xx</span></div>
<p class="mod-desc">A redirect (300–308). Does not follow it — asserts the redirect itself.</p>
</div>
<div class="mod-card">
<div class="mod-top"><span class="mod-name">http_401</span><span class="mod-code warn">401</span></div>
<p class="mod-desc">HTTP 401 Unauthorized — for endpoints meant to be gated.</p>
</div>
<div class="mod-card">
<div class="mod-top"><span class="mod-name">http_403</span><span class="mod-code warn">403</span></div>
<p class="mod-desc">HTTP 403 Forbidden.</p>
</div>
<div class="mod-card">
<div class="mod-top"><span class="mod-name">http_404</span><span class="mod-code crit">404</span></div>
<p class="mod-desc">HTTP 404 Not Found — assert a path is absent.</p>
</div>
</div>
<div class="callout" style="margin-top:24px">
<span class="label">FAIR USE</span>
This exporter is free for everyone and <strong>rate limited per client IP</strong> to keep it available for all. For heavy or production monitoring, run your own — the full Kubernetes manifests live in the <a href="https://github.com/observabilitystack" target="_blank" rel="noopener">repository</a>. It's the upstream <code>prom/blackbox-exporter</code>, so anything it supports works there.
</div>
</div>
</section>
</main>
<!-- ===== Footer ===== -->
<footer class="footer">
<div class="container">
<div class="footer-row">
<div class="footer-col">
<a class="brand" href="/" aria-label="o11y.cool home">
<svg width="42" height="26" viewBox="0 0 340 210" fill="none" style="display:block;flex:none" aria-hidden="true">
<defs>
<linearGradient id="mk2" x1="20" y1="50" x2="320" y2="160" gradientUnits="userSpaceOnUse">
<stop offset="0" stop-color="#2e49ef" /><stop offset="0.5" stop-color="#2486d4" /><stop offset="1" stop-color="#12b3a4" />
</linearGradient>
</defs>
<g stroke="var(--ink)" stroke-width="7" stroke-linejoin="round">
<path d="M128 84 Q66 32 30 44 Q44 78 128 104 Z" fill="url(#mk2)" />
<path d="M128 106 Q52 76 14 92 Q44 116 128 122 Z" fill="url(#mk2)" />
</g>
<g stroke="var(--ink)" stroke-width="7" stroke-linejoin="round" transform="translate(352,0) scale(-1,1)">
<path d="M128 84 Q66 32 30 44 Q44 78 128 104 Z" fill="url(#mk2)" />
<path d="M128 106 Q52 76 14 92 Q44 116 128 122 Z" fill="url(#mk2)" />
</g>
<g>
<rect x="124" y="50" width="104" height="104" rx="20" fill="var(--surface)" stroke="var(--ink)" stroke-width="7.5" />
<path d="M124 76 H228" stroke="var(--ink)" stroke-width="4.5" opacity="0.18" />
<circle cx="176" cy="106" r="30" stroke="var(--ink)" stroke-width="4.5" opacity="0.22" />
<circle cx="176" cy="106" r="19.5" stroke="var(--ink)" stroke-width="4.5" opacity="0.5" />
<circle cx="176" cy="106" r="11.5" fill="url(#mk2)" stroke="var(--ink)" stroke-width="3.5" />
</g>
</svg>
<span class="wm">blackbox<span class="suffix">.o11y.cool</span></span>
</a>
<p class="footer-blurb">A free public Prometheus Blackbox Exporter, run by the folks behind o11y.cool — field notes and free tools from the observability space.</p>
</div>
<div class="footer-col">
<h6>This service</h6>
<a href="#setup">Setup</a>
<a href="#modules">Modules</a>
<a href="/probe?module=http_2xx&target=https://prometheus.io">Example probe call</a>
</div>
<div class="footer-col">
<h6>Docs</h6>
<a href="https://github.com/prometheus/blackbox_exporter" target="_blank" rel="noopener">Blackbox Exporter</a>
<a href="https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config" target="_blank" rel="noopener">Prometheus scrape_config</a>
</div>
<div class="footer-col">
<h6>Elsewhere</h6>
<a href="https://o11y.cool" target="_blank" rel="noopener">o11y.cool</a>
<a href="https://geoip.o11y.cool" target="_blank" rel="noopener">geoip.o11y.cool</a>
<a href="https://spotlight.o11y.cool" target="_blank" rel="noopener">spotlight.o11y.cool</a>
<a href="https://github.com/observabilitystack" target="_blank" rel="noopener">GitHub</a>
</div>
</div>
<div class="footer-bottom">
<span>© 2026 o11y.cool · made in Hamburg, Germany</span>
<span>runs prom/blackbox-exporter · built on paper & mono</span>
</div>
</div>
</footer>
</div>
<script>
(function () {
var root = document.documentElement;
var toggle = document.getElementById('theme-toggle');
var SUN = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="4"/><path d="M12 2v2"/><path d="M12 20v2"/><path d="m4.93 4.93 1.41 1.41"/><path d="m17.66 17.66 1.41 1.41"/><path d="M2 12h2"/><path d="M20 12h2"/><path d="m6.34 17.66-1.41 1.41"/><path d="m19.07 4.93-1.41 1.41"/></svg>';
var MOON = '<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z"/></svg>';
function apply(theme) {
root.setAttribute('data-theme', theme);
toggle.innerHTML = theme === 'dark' ? SUN : MOON;
}
var stored = null;
try { stored = localStorage.getItem('o11y-theme'); } catch (e) {}
var initial = stored || (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
apply(initial);
toggle.addEventListener('click', function () {
var next = root.getAttribute('data-theme') === 'dark' ? 'light' : 'dark';
apply(next);
try { localStorage.setItem('o11y-theme', next); } catch (e) {}
});
// copy buttons
var SNIPPETS = {
url: 'https://blackbox.o11y.cool/probe?module=http_2xx&target=https://prometheus.io',
scrape: [
'scrape_configs:',
' - job_name: blackbox',
' scheme: https',
' metrics_path: /probe',
' params:',
' module: [http_2xx]',
' static_configs:',
' - targets:',
' - https://prometheus.io',
' - https://o11y.cool',
' relabel_configs:',
' - source_labels: [__address__]',
' target_label: __param_target',
' - source_labels: [__param_target]',
' target_label: instance',
' - target_label: __address__',
' replacement: blackbox.o11y.cool',
' - target_label: __scheme__',
' replacement: https'
].join('\n')
};
document.querySelectorAll('.copy-btn').forEach(function (btn) {
btn.addEventListener('click', function () {
var text = SNIPPETS[btn.getAttribute('data-copy')];
if (!text || !navigator.clipboard) return;
navigator.clipboard.writeText(text).then(function () {
var prev = btn.textContent;
btn.textContent = 'Copied ✓';
setTimeout(function () { btn.textContent = prev; }, 1600);
});
});
});
})();
</script>
</body>
</html>