Grafana Dashboard fails to retrieve database #1468
-
|
Hi everyone, I am trying to run the Grafan Metrics GUI as highlighted in docs here and on the Readme page. Issue persists in ZMQ and USRP based deployment 5G core network is launched in a separate terminal window using default settings gNB is launched in a different terminal as USRP Config: ZMQ: Grafana Launched as : leads to this error on the default INFLUXDB3_PORT=8081 When switched according to INFLUX IP and port as shown by my docker deployments
Can someone explain where I am going wrong. Any param not not mentioned here is default |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Hello, Your gNB (running on the host) exposes its metrics via a WebSocket on port 8001. However, Grafana showed "No data" because Telegraf is not receiving any metrics.
|
Beta Was this translation helpful? Give feedback.





Hello, Your gNB (running on the host) exposes its metrics via a WebSocket on port 8001. However, Grafana showed "No data" because Telegraf is not receiving any metrics.
Telegraf uses a Python script (ws_adapter.py) to connect to the WebSocket.
The script reads the WebSocket address from the environment variable WS_URL (defined in your .env file).
Your .env had WS_URL=172.19.1.3:8001, an IP address that didn't exist in the Docker network.
Replace the IP with the gateway IP, you'll find it here: docker network inspect docker_metrics