Monitoring service api (#2251)

## Issue Addressed

N/A

## Proposed Changes

Adds a client side api for collecting system and process metrics and pushing it to a monitoring service.
This commit is contained in:
Pawan Dhananjay
2021-05-26 05:58:41 +00:00
parent 55aada006f
commit fdaeec631b
30 changed files with 1108 additions and 65 deletions

24
Cargo.lock generated
View File

@@ -651,6 +651,7 @@ dependencies = [
"hyper 0.14.7",
"lighthouse_version",
"logging",
"monitoring_api",
"node_test_rig",
"rand 0.7.3",
"sensitive_url",
@@ -1100,6 +1101,7 @@ dependencies = [
"http_metrics",
"lazy_static",
"lighthouse_metrics",
"monitoring_api",
"network",
"parking_lot",
"prometheus",
@@ -4036,6 +4038,27 @@ dependencies = [
"winapi 0.3.9",
]
[[package]]
name = "monitoring_api"
version = "0.1.0"
dependencies = [
"eth2",
"futures 0.3.14",
"lazy_static",
"lighthouse_metrics",
"lighthouse_version",
"regex",
"reqwest",
"sensitive_url",
"serde",
"serde_derive",
"serde_json",
"slog",
"store",
"task_executor",
"tokio 1.5.0",
]
[[package]]
name = "multihash"
version = "0.13.2"
@@ -7135,6 +7158,7 @@ dependencies = [
"lighthouse_version",
"lockfile",
"logging",
"monitoring_api",
"parking_lot",
"rand 0.7.3",
"rayon",