Documentation
¶
Overview ¶
Package agentmetrics owns Fenced operational metrics. Cardinality is kept bounded deliberately: tenant/task/workflow identifiers belong on traces and logs, never metric attributes.
Index ¶
- func AccountingDrift(ctx context.Context, ledger string, count int64)
- func BudgetEvent(ctx context.Context, event, dimension string)
- func DBTransactionConflict(ctx context.Context)
- func DBTransactionRetry(ctx context.Context)
- func LeaseExpiration(ctx context.Context)
- func ModelFirstTokenLatency(ctx context.Context, provider string, ms float64)
- func OrchestratorReconcileDuration(ctx context.Context, ms float64)
- func QueueDepth(ctx context.Context, queue string, depth int64)
- func RuntimeTakeover(ctx context.Context)
- func SchedulerClaims(ctx context.Context, count int)
- func SchedulerDeferral(ctx context.Context)
- func SchedulerOutcome(ctx context.Context, outcome string)
- func SpawnOutcome(ctx context.Context, outcome string)
- func WorkflowClaims(ctx context.Context, count int)
- func WorkflowOutcome(ctx context.Context, outcome string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BudgetEvent ¶
func DBTransactionConflict ¶
DBTransactionConflict increments the total number of database transactions that aborted on serialization or version conflict.
func DBTransactionRetry ¶
DBTransactionRetry increments the total number of retryable database transactions that were retried by the store layer.
func LeaseExpiration ¶
LeaseExpiration increments the total number of runtime lease expirations observed by the recovery controller.
func ModelFirstTokenLatency ¶
ModelFirstTokenLatency records streaming time-to-first-token in milliseconds, attributed by provider only (bounded cardinality). Recorded at the kernel invoker so it is captured regardless of any downstream delta consumer.
func OrchestratorReconcileDuration ¶
OrchestratorReconcileDuration records the wall-clock time of one workflow orchestrate round in milliseconds.
func RuntimeTakeover ¶
RuntimeTakeover increments the total number of expired attempts that the recovery controller successfully recovered onto a new run.
func SchedulerClaims ¶
func SchedulerDeferral ¶
SchedulerDeferral increments the total number of scheduler deferrals caused by capacity exhaustion, lease contention, or other transient placement failures.
func SchedulerOutcome ¶
func SpawnOutcome ¶
func WorkflowClaims ¶
func WorkflowOutcome ¶
Types ¶
This section is empty.