netdata/helmchart

No chart is showing - exactly *zero* metrics/charts/alerms/nodes?

fzyzcjy opened this issue · 3 comments

Bug report summary

After installation, netdata shows exactly zero charts... So no chart is on the screen...

image

Note (that maybe helpful to debug)

  1. I am using Netdata Helm chart on Kubernetes.

  2. Here is the log of netdata child and netdata parent:
    netdata-child.log
    netdata-parent.log

  3. When I go to the Netdata child docker container and run curl http://localhost:19999/api/v1/data?chart=system.cpu, I see

{
 "labels": ["time", "guest_nice", "guest", "steal", "softirq", "irq", "user", "system", "nice", "iowait"],
    "data":
 [

  ]
}

(I wait for several minutes, but still zero data points).
3. When I go to netdata parent and do the same, I see

bash-5.0# curl http://localhost:19999/api/v1/data?chart=system.cpu
Chart is not found: system.cpu
  1. When I use port forwarding (forward to my mac on 19998) and access it remotely (http://localhost:19998/api/v1/data?chart=system.cpu), I see
{
 "labels": ["time", "guest_nice", "guest", "steal", "softirq", "irq", "user", "system", "nice", "iowait"],
    "data":
 [

  ]
}

again.

  1. (edited) I change the flood protection threshold and here is the new logs, which may contain more useful information:

(netdata child)
netdata-child-10.25.log

  1. (edited) I made more experiments. I tried to (1) disable persistence (2) disable lots of components, but still no use.
OS / Environment
bash-5.0$ uname -a; uname -K
Linux test-one-55929 3.10.0-862.14.1.5.h428.eulerosv2r7.x86_64 #1 SMP Wed Mar 11 06:00:00 UTC 2020 x86_64 Linux
uname: unrecognized option: K
BusyBox v1.31.1 () multi-call binary.

Usage: uname [-amnrspvio]

Print system information

        -a      Print all
        -m      The machine (hardware) type
        -n      Hostname
        -r      Kernel release
        -s      Kernel name (default)
        -p      Processor type
        -v      Kernel version
        -i      The hardware platform
        -o      OS name
Netdata version

bash-5.0$ /usr/sbin/netdata -V
netdata v1.25.0

Component Name

everything!

Steps To Reproduce
  1. Install netdata helm chart
  2. look at it
Expected behavior

Should see things like cpu/memory/...

Hi @fzyzcjy

That screenshot is netdata parent dashboard, right? If so it is expected

Hi, I spent some time digging around and finally realized that the screenshot is netdata child - I wrongly use NodePort listening on 19999 so actually I go to the child panel. Then since the child set memory mode = none, it stores nothing and displays nothing. So actually this is not a bug but a misuse. Silly me...

Yes yes, same for the parent dashboard (it doesn't collect any data).

Screenshot 2020-10-28 at 10 25 59