Repository navigation
Commit 606e023
docs(metrics): note the two-seam overlap hazard in the truth-home (#146)
architecture/metrics.md §Two-seam layering framed the recorder and native
middleware as purely complementary, omitting that they overlap on the
consume/publish series: both emit the same-named duration+count metrics, so one
Prometheus registry raises Duplicated timeseries and live OTel meters on both
double-count. Record the hazard, the separate-registries / middleware-as-source-
of-truth fix, and why the library does not guard it at construction (the collision
is raised upstream of the broker, and "both seams configured" is indistinguishable
from the correct dual-registry setup). Cross-refs the setup doc, which already
covers the operator side.
Closes the last open item from the architecture review (candidate #7). Docs only.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 306ad25 commit 606e023
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
0 commit comments