Skip to content

[WIP] Alarm engine written in Rust while live coding on Twitch

Notifications You must be signed in to change notification settings

sergiordob/guardian_bell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guardian Bell

Guardian Bell is a WIP Alarm Engine written in Rust, developed during live streams.

It should be compatible with OpenTelemetry standards.

Design

Ingestion

The metrics are kept for a pre-defined ttl. The metrics are kept in-memory and no pagination is supported. The metrics are also written in a WAL to make sure in case of crashes the software can recover from the last state.

The metrics are saved on buckets based on their name and tags. In other words, each timeseries is kept on their own*.

Any node can receive ingestion requests for any metrics. The metrics are sharded based on a DHT.

Nodes can only receive requests if their health checks passed for a majority of nodes, avoiding in case of brain-split the two halves decide opposite actions regarding the same alarm configuration.

  • note: the alarms later will subscribe to those buckets

About

[WIP] Alarm engine written in Rust while live coding on Twitch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%