Update README + Lockfile
This commit is contained in:
52
Cargo.lock
generated
52
Cargo.lock
generated
@@ -1544,32 +1544,6 @@ dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "server_metrics"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"axum",
|
||||
"clap",
|
||||
"futures",
|
||||
"http",
|
||||
"http-body",
|
||||
"hyper",
|
||||
"openssl",
|
||||
"prometheus",
|
||||
"reqwest",
|
||||
"rust_decimal",
|
||||
"rust_decimal_macros",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"slog",
|
||||
"thiserror",
|
||||
"tokio",
|
||||
"tower",
|
||||
"tower-http",
|
||||
"url",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "sha2"
|
||||
version = "0.10.7"
|
||||
@@ -1694,6 +1668,32 @@ version = "0.1.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160"
|
||||
|
||||
[[package]]
|
||||
name = "system-exporter"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"axum",
|
||||
"clap",
|
||||
"futures",
|
||||
"http",
|
||||
"http-body",
|
||||
"hyper",
|
||||
"openssl",
|
||||
"prometheus",
|
||||
"reqwest",
|
||||
"rust_decimal",
|
||||
"rust_decimal_macros",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"slog",
|
||||
"thiserror",
|
||||
"tokio",
|
||||
"tower",
|
||||
"tower-http",
|
||||
"url",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tap"
|
||||
version = "1.0.1"
|
||||
|
||||
13
README.md
13
README.md
@@ -1,10 +1,17 @@
|
||||
# system-exporter
|
||||
|
||||
This repo will export useful metrics about your system and provide a nice dashboard.
|
||||
This repo will export useful metrics about your system and provide a nice dashboard.
|
||||
|
||||
Note: currently only supports docker
|
||||
|
||||
## Usage
|
||||
## Usage
|
||||
|
||||
1. Build: `docker build -t dockermonrs .`
|
||||
2. Run: `cd example && docker-compose up -d`
|
||||
2. Run: `cd example && docker-compose up -d`
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
* If you are on OS X and using Docker Desktop, you may have to enable the docker socket. You can do this by
|
||||
going to Settings -> Advanced -> Allow the default Docker socket to be used.
|
||||
|
||||

|
||||
BIN
img/docker_config.png
Normal file
BIN
img/docker_config.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 132 KiB |
Reference in New Issue
Block a user