add badges to many readme's etc.
This commit is contained in:
@@ -3,10 +3,14 @@
|
||||
An extensible monitoring tool, sending alerts via Signal messenger, and responding to requests for information
|
||||
(status, metrics values, plots) or other commands from administrators.
|
||||
|
||||
[](https://crates.io/crates/signal-gateway)
|
||||
[](https://crates.io/crates/signal-gateway)
|
||||
[](LICENSE-APACHE)
|
||||
[](LICENSE-MIT)
|
||||
[](https://github.com/cbeck88/signal-gateway/actions/workflows/ci.yml?query=branch%3Amaster)
|
||||
|
||||
[API Docs](https://docs.rs/signal-gateway/latest/signal_gateway/)
|
||||
|
||||
## Overview
|
||||
|
||||
`signal-gateway` receives alerts and log messages from various sources and forwards them to [Signal
|
||||
@@ -137,11 +141,11 @@ The log handler controls (not exhaustive):
|
||||
* When a log message can lead to an alert (by configuring one or more "routes")
|
||||
* Overall limits on alerting (applies to all routes)
|
||||
|
||||
See docs for `LogHandlerConfig` for more specifics.
|
||||
See docs for [`LogHandlerConfig`](https://docs.rs/signal-gateway/latest/signal_gateway/log_handler/struct.LogHandlerConfig.html) for more specifics.
|
||||
|
||||
High level:
|
||||
|
||||
* A `Route` consists of an `alert_level`, a `LogFilter`, and a series of `Limit`'s.
|
||||
* A [`Route`](https://docs.rs/signal-gateway/latest/signal_gateway/log_handler/struct.Route.html) consists of an `alert_level`, a [`LogFilter`](https://docs.rs/signal-gateway/latest/signal_gateway/log_handler/struct.LogFilter.html), and a series of [`Limit`](https://docs.rs/signal-gateway/latest/signal_gateway/log_handler/struct.Limit.html)'s.
|
||||
If a message is at the alert level or higher, and it passes the filter, then we test
|
||||
each `Limit` in the route.
|
||||
* A `LogFilter` is a test against the fields of the log message. It is stateless.
|
||||
@@ -190,7 +194,7 @@ limits = [
|
||||
]
|
||||
```
|
||||
|
||||
For a complete list of `LogFilter` keys, see docs for `struct LogFilter`.
|
||||
For a complete list of `LogFilter` keys, see docs for [`LogFilter`](https://docs.rs/signal-gateway/latest/signal_gateway/log_handler/struct.LogFilter.html).
|
||||
|
||||
### Claude
|
||||
|
||||
|
||||
Reference in New Issue
Block a user