prometheus and grafana dashboards implemented

This commit is contained in:
mohandasspat
2022-08-04 20:16:09 +05:30
parent 22874ce300
commit de58ccd4ba
6 changed files with 1156 additions and 0 deletions

38
Cargo.lock generated
View File

@ -2045,6 +2045,7 @@ dependencies = [
"indexmap",
"itertools",
"jsonwebtoken",
"lazy_static",
"log",
"manifest-dir-macros",
"maplit",
@ -2058,6 +2059,7 @@ dependencies = [
"parking_lot",
"pin-project-lite",
"platform-dirs",
"prometheus",
"rand",
"rayon",
"regex",
@ -2664,6 +2666,36 @@ dependencies = [
"unicode-ident",
]
[[package]]
name = "procfs"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0941606b9934e2d98a3677759a971756eb821f75764d0e0d26946d08e74d9104"
dependencies = [
"bitflags",
"byteorder",
"hex",
"lazy_static",
"libc",
]
[[package]]
name = "prometheus"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cface98dfa6d645ea4c789839f176e4b072265d085bfcc48eaa8d137f58d3c39"
dependencies = [
"cfg-if 1.0.0",
"fnv",
"lazy_static",
"libc",
"memchr",
"parking_lot",
"procfs",
"protobuf",
"thiserror",
]
[[package]]
name = "proptest"
version = "1.0.0"
@ -2695,6 +2727,12 @@ dependencies = [
"syn 0.15.44",
]
[[package]]
name = "protobuf"
version = "2.27.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf7e6d18738ecd0902d30d1ad232c9125985a3422929b16c65517b38adc14f96"
[[package]]
name = "quick-error"
version = "1.2.3"