mirror of
https://codeberg.org/icewind/palantir.git
synced 2026-06-03 18:24:08 +02:00
1.3.0
This commit is contained in:
parent
b9a49b3c80
commit
d4bef4ac01
4 changed files with 7 additions and 5 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -1291,7 +1291,7 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "palantir"
|
name = "palantir"
|
||||||
version = "0.1.0"
|
version = "1.3.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash",
|
"ahash",
|
||||||
"bollard",
|
"bollard",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "palantir"
|
name = "palantir"
|
||||||
version = "0.1.0"
|
version = "1.3.0"
|
||||||
authors = ["Robin Appelman <robin@icewind.nl>"]
|
authors = ["Robin Appelman <robin@icewind.nl>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.73.0"
|
rust-version = "1.73.0"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Palantir
|
# Palantir
|
||||||
|
|
||||||
System metrics exporter for prometheus
|
Opinionated system metrics exporter for prometheus
|
||||||
|
|
||||||
## Exported metrics
|
## Exported metrics
|
||||||
|
|
||||||
|
|
@ -9,6 +9,7 @@ System metrics exporter for prometheus
|
||||||
- cpu and gpu temperature
|
- cpu and gpu temperature
|
||||||
- cpu and gpu power usage on modern amd and intel platforms
|
- cpu and gpu power usage on modern amd and intel platforms
|
||||||
- docker per-container cpu, memory and network stats
|
- docker per-container cpu, memory and network stats
|
||||||
|
- per-process memory usage for processes with a memory usage of over 1%
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,14 @@
|
||||||
lib,
|
lib,
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.sources) sourceByRegex;
|
inherit (lib.sources) sourceByRegex;
|
||||||
|
inherit (builtins) fromTOML readFile;
|
||||||
src = sourceByRegex ./. ["Cargo.*" "(src|benches)(/.*)?"];
|
src = sourceByRegex ./. ["Cargo.*" "(src|benches)(/.*)?"];
|
||||||
|
version = (fromTOML (readFile ./Cargo.toml)).package.version;
|
||||||
in
|
in
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "palantir";
|
name = "palantir";
|
||||||
version = "1.2.0";
|
|
||||||
|
|
||||||
inherit src;
|
inherit src version;
|
||||||
|
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue