add badges to many readme's etc.
This commit is contained in:
+5
-5
@@ -35,11 +35,11 @@ assigning_clones = "allow"
|
|||||||
result_large_err = "allow"
|
result_large_err = "allow"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
prometheus-http-client = { path = "prometheus-http-client", default-features = false }
|
prometheus-http-client = { path = "prometheus-http-client", version = "0.1.0", default-features = false }
|
||||||
signal-cli-jsonrpc-client = { path = "signal-cli-jsonrpc-client" }
|
signal-cli-jsonrpc-client = { path = "signal-cli-jsonrpc-client", version = "0.1.0" }
|
||||||
signal-gateway = { path = "signal-gateway", default-features = false }
|
signal-gateway = { path = "signal-gateway", version = "0.1.0", default-features = false }
|
||||||
signal-gateway-assistant = { path = "signal-gateway-assistant" }
|
signal-gateway-assistant = { path = "signal-gateway-assistant", version = "0.1.0" }
|
||||||
signal-gateway-assistant-claude = { path = "signal-gateway-assistant/claude" }
|
signal-gateway-assistant-claude = { path = "signal-gateway-assistant/claude", version = "0.1.0" }
|
||||||
|
|
||||||
async-trait = "0.1"
|
async-trait = "0.1"
|
||||||
chrono = { version = "0.4", default-features = false, features = ["clock", "serde", "std"] }
|
chrono = { version = "0.4", default-features = false, features = ["clock", "serde", "std"] }
|
||||||
|
|||||||
@@ -3,10 +3,14 @@
|
|||||||
An extensible monitoring tool, sending alerts via Signal messenger, and responding to requests for information
|
An extensible monitoring tool, sending alerts via Signal messenger, and responding to requests for information
|
||||||
(status, metrics values, plots) or other commands from administrators.
|
(status, metrics values, plots) or other commands from administrators.
|
||||||
|
|
||||||
|
[](https://crates.io/crates/signal-gateway)
|
||||||
|
[](https://crates.io/crates/signal-gateway)
|
||||||
[](LICENSE-APACHE)
|
[](LICENSE-APACHE)
|
||||||
[](LICENSE-MIT)
|
[](LICENSE-MIT)
|
||||||
[](https://github.com/cbeck88/signal-gateway/actions/workflows/ci.yml?query=branch%3Amaster)
|
[](https://github.com/cbeck88/signal-gateway/actions/workflows/ci.yml?query=branch%3Amaster)
|
||||||
|
|
||||||
|
[API Docs](https://docs.rs/signal-gateway/latest/signal_gateway/)
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
`signal-gateway` receives alerts and log messages from various sources and forwards them to [Signal
|
`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")
|
* When a log message can lead to an alert (by configuring one or more "routes")
|
||||||
* Overall limits on alerting (applies to all 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:
|
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
|
If a message is at the alert level or higher, and it passes the filter, then we test
|
||||||
each `Limit` in the route.
|
each `Limit` in the route.
|
||||||
* A `LogFilter` is a test against the fields of the log message. It is stateless.
|
* 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
|
### Claude
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# prometheus-http-client
|
# prometheus-http-client
|
||||||
|
|
||||||
|
[](https://crates.io/crates/prometheus-http-client)
|
||||||
|
[](https://crates.io/crates/prometheus-http-client)
|
||||||
|
[](LICENSE-APACHE)
|
||||||
|
[](LICENSE-MIT)
|
||||||
|
|
||||||
|
[API Docs](https://docs.rs/prometheus-http-client/latest/prometheus_http_client/)
|
||||||
|
|
||||||
Makes requests to the prometheus query API. With `plot` feature, also provides
|
Makes requests to the prometheus query API. With `plot` feature, also provides
|
||||||
a way to plot responses from prometheus.
|
a way to plot responses from prometheus.
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# signal-cli-jsonrpc-client
|
# signal-cli-jsonrpc-client
|
||||||
|
|
||||||
|
[](https://crates.io/crates/signal-cli-jsonrpc-client)
|
||||||
|
[](https://crates.io/crates/signal-cli-jsonrpc-client)
|
||||||
|
[](LICENSE-APACHE)
|
||||||
|
[](LICENSE-MIT)
|
||||||
|
|
||||||
|
[API Docs](https://docs.rs/signal-cli-jsonrpc-client/latest/signal_cli_jsonrpc_client/)
|
||||||
|
|
||||||
A Rust JSON-RPC client for [signal-cli](https://github.com/AsamK/signal-cli) daemon.
|
A Rust JSON-RPC client for [signal-cli](https://github.com/AsamK/signal-cli) daemon.
|
||||||
|
|
||||||
## Origin
|
## Origin
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
# signal-gateway-assistant
|
# signal-gateway-assistant
|
||||||
|
|
||||||
|
[](https://crates.io/crates/signal-gateway-assistant)
|
||||||
|
[](https://crates.io/crates/signal-gateway-assistant)
|
||||||
|
[](LICENSE-APACHE)
|
||||||
|
[](LICENSE-MIT)
|
||||||
|
|
||||||
|
[API Docs](https://docs.rs/signal-gateway-assistant/latest/signal_gateway_assistant/)
|
||||||
|
|
||||||
Trait used to represent conversational assistant in `signal-gateway`.
|
Trait used to represent conversational assistant in `signal-gateway`.
|
||||||
|
|
||||||
You can implement this trait yourself in order to customize `signal-gateway`.
|
You can implement this trait yourself in order to customize `signal-gateway`.
|
||||||
|
|||||||
@@ -1,7 +1,14 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "signal-gateway-assistant-claude"
|
name = "signal-gateway-assistant-claude"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
description = "Claude AI implementation of signal-gateway-assistant"
|
||||||
|
keywords = ["signal", "assistant", "ai", "claude", "anthropic"]
|
||||||
|
categories = ["asynchronous"]
|
||||||
|
authors.workspace = true
|
||||||
|
repository.workspace = true
|
||||||
|
license.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
include.workspace = true
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
# signal-gateway-assistant-claude
|
# signal-gateway-assistant-claude
|
||||||
|
|
||||||
A stock implementation of the `signal-gateway-assitant` trait, using anthropic's claude API.
|
[](https://crates.io/crates/signal-gateway-assistant-claude)
|
||||||
|
[](https://crates.io/crates/signal-gateway-assistant-claude)
|
||||||
|
[](LICENSE-APACHE)
|
||||||
|
[](LICENSE-MIT)
|
||||||
|
|
||||||
|
[API Docs](https://docs.rs/signal-gateway-assistant-claude/latest/signal_gateway_assistant_claude/)
|
||||||
|
|
||||||
|
A stock implementation of the `signal-gateway-assistant` trait, using Anthropic's Claude API.
|
||||||
|
|||||||
Reference in New Issue
Block a user