docs(diigo-cache): open issue 9, observability
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
992e871c56
commit
0116ccd0d2
1 file changed
+17
@@ -119,3 +119,20 @@ In [IBIS](https://github.com/dckc/vattr97/wiki/IBIS) notation: `?` issue, `?!` r
|
|||||||
+ dev cookies were minted for wherever dev ran (see 1)
|
+ dev cookies were minted for wherever dev ran (see 1)
|
||||||
: 8b. copy .wrangler/state/v3/do/<script>-<class>/ into the state dirs
|
: 8b. copy .wrangler/state/v3/do/<script>-<class>/ into the state dirs
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### ? 9. What should we be able to observe, and how?
|
||||||
|
|
||||||
|
```
|
||||||
|
? 9. What should we be able to observe, and how?
|
||||||
|
. today: each worker console.logs objects ({event, ...}); workerd's
|
||||||
|
structuredLogging puts them in the journal (operate.md)
|
||||||
|
. gap: webapp logs only mint; a diigo request shows up only as the
|
||||||
|
cache's account of it ({event: "cache", outcome: "miss" | "refetch"}),
|
||||||
|
so no status, latency, or failure before the cache sees it
|
||||||
|
. the refresh (every 3h) is seen only by reading the journal
|
||||||
|
! survey practice before choosing: logs vs metrics vs traces, what to
|
||||||
|
alert on; Workers observability docs as a start
|
||||||
|
: 9a. log each diigo request in webapp: path, status, ms; no query
|
||||||
|
values or headers, so the cookie never appears
|
||||||
|
? 9b. how does anyone notice a refresh failing (expired cookie)?
|
||||||
|
```
|
||||||
Reference in new issue
Block a user