Crate tatl

source ·
Expand description

§tatl

tatl provides in-process alerting. It is an experiment in reporting problems as close to where they can be detected as is possible.

§Status

Active development. tatl is likely to change in the near future in backwards-incompatible ways.

§Scope

tatl provides basic alerting conditions that can be detected from a small number of sensors. Threads can poll the condition close to where the problem occurs for both fast detection and quick localization of errors.

§Warts

The library is under active development.

§Documentation

The latest documentation is always available at docs.rs.

Structs§

  • AboveThreshold monitors a gauge to see if it dips below a threshold.
  • BelowThreshold monitors a gauge to see if it dips below a threshold.
  • A one_two_eight identifier.
  • HeyListen watches a set of monitors in a way that allows conditions to be reliably detected. It is intended that there will be a register_tatl function or similar in each module with a monitor, and the HeyListen instance passed to that function will watch the monitors.
  • A Stationary triggers whenever a counter increments.
  • A SuccessRate compares success/(success + failure) from two counters.

Enums§

  • A condition represents the state of a monitor.