grafana dashboard show data need time(almost 10 minutes)
Expected Behavior
Display data as soon as possible.
Actual Behavior
grafana dashboard show data need more time(almost 10 minutes).
Steps to Reproduce the Problem
Install deepflow with helm and version v6.1.1
Additional Info
-
deepflow version:
Output of
kubectl exec -it -n deepflow sts/deepflow-server -c deepflow-server -- deepflow-server -v:Output of
kubectl exec -it -n deepflow ds/deepflow-agent -- deepflow-agent -v:
(paste your output here)
-
deepflow agent list:
Output of
deepflow-ctl agent list:(paste your output here) -
Kubernetes CNI:
(paste your Kubernetes CNI) -
operation-system/kernel version:
Output of
awk -F '=' '/PRETTY_NAME/ { print $2 }' /etc/os-release:Output of
uname -r:(paste your output here)
At present, it takes 6 minutes from the completion of DeepFlow installation to the completion of the interconnection with the agent list, including 2 minutes for the creation of K8S domain and 4 minutes for the creation of K8S domain and the completion of the interconnection with K8S domain. Grafana found that the query data currently had a delay of about two minutes, while @lzf575 seemed to have a delay of about two minutes for the data of minute level. The optimization effect of this piece was not obvious (it could be optimized for about 10 seconds), and what needed to be solved was the 6 minutes of docking @ZhengYa-0110