From b841ea3b6465e9c391e2574e5111683cbb622c30 Mon Sep 17 00:00:00 2001 From: Andrew Maguire Date: Wed, 16 Nov 2022 17:52:59 +0000 Subject: [PATCH] clean up Signed-off-by: Andrew Maguire --- netdata/README.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/netdata/README.md b/netdata/README.md index fba2e05..5bdb4cd 100644 --- a/netdata/README.md +++ b/netdata/README.md @@ -45,6 +45,14 @@ Make sure the port 19999 on the host is not already in use. ``` $ docker compose up -d +[+] Running 8/8 + ⠿ netdata Pulled +[+] Running 5/5 + ⠿ Network tmp_default Created + ⠿ Volume "tmp_netdatalib" Created + ⠿ Volume "tmp_netdatacache" Created + ⠿ Volume "tmp_netdataconfig" Created + ⠿ Container netdata Started ``` ## Expected result @@ -52,10 +60,21 @@ $ docker compose up -d Listing containers must show two containers running and the port mapping as below: ``` $ docker ps -TODO +NAME COMMAND SERVICE STATUS PORTS +netdata "/usr/sbin/run.sh" netdata running (healthy) 0.0.0.0:19999->19999/tcp ``` -Navigate to `http://localhost:19999` in your web browser to access the local Netdata dashboard. +Navigate to `http://localhost:19999` in your web browser to access the local Netdata dashboard or run: + +``` +$ curl localhost:19999/api/v1/allmetrics +# chart: system.idlejitter (name: system.idlejitter) +NETDATA_SYSTEM_IDLEJITTER_MIN="73" # microseconds lost/s +NETDATA_SYSTEM_IDLEJITTER_MAX="231" # microseconds lost/s +NETDATA_SYSTEM_IDLEJITTER_AVERAGE="109" # microseconds lost/s +NETDATA_SYSTEM_IDLEJITTER_VISIBLETOTAL="413" # microseconds lost/s +... +``` ![page](output.jpg)