1ae8f4cf9f
Co-authored-by: nova28 <17953305+nova28@users.noreply.github.com> Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
13 lines
493 B
Go
13 lines
493 B
Go
package service
|
|
|
|
import "expvar"
|
|
|
|
// subagentContextTotal exposes writer-health counters for
|
|
// RecordSubagentContext, under the existing expvar convention used by
|
|
// routing_* (internal/office/scheduler) and subproc_*. Counters only — see
|
|
// AC-26 in docs/specs/subagent-context-persistence/spec.md.
|
|
//
|
|
// Keys: attempted, persisted, skipped_no_identity, anomalous_value, failed,
|
|
// unknown_execution (Amendment 1, AC-31).
|
|
var subagentContextTotal = expvar.NewMap("subagent_context_total")
|