nomad-monorepo icon indicating copy to clipboard operation
nomad-monorepo copied to clipboard

feature: add more logging to watcher

Open luketchang opened this issue 3 years ago • 3 comments

Just watcher:

  • Gauge: number of updates sent through UpdateHandler (number of updates checked)
  • Gauge: 0 or 1 binary for double update detected
  • Histogram: latency between Update event emitted and update sent through UpdateHandler (see ContractSync for example)

All agents that check home failure:

  • Gauge: 0 or 1 for improper update observed (failed home; can be for all agents)
  • Gauge: number of home failed checks (can be for all agents)

luketchang avatar Feb 03 '22 20:02 luketchang

@ltchang2019 what kind of logs do you want to add here?

yourbuddyconner avatar Feb 08 '22 21:02 yourbuddyconner

@yourbuddyconner updated

luketchang avatar Feb 09 '22 18:02 luketchang

Will turn this into broader per-agent agent_metrics field with a proper decl_metrics! macro

luketchang avatar Feb 10 '22 21:02 luketchang