-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port Statistics Dashboard Not Working #4229
Comments
I tried the latest port stats dashboard from this repo and am not having any issues, however it could just be something different with my setup. If you query Is I'm not a maintainer, so perhaps someone else can chime in, but it may be helpful to see your modified faucet and gauge config files. |
Could you elaborate on what the test using the grafana explorer looks like? Not really sure what I would have to do to test this. I'm using the docker-compose file from this repository that sets up all services so I see gauge running in docker. The gauge.yaml file is the one from the /etc/ folder in this repository. https://github.com/faucetsdn/faucet/blob/master/etc/faucet/gauge.yaml I can also see that the faucet and gauge controller are both connected to the ovs bridge so not really sure what the issue is.
|
In your Prometheus database you should have an |
I had the issue that after a fresh install the of_port_rx_bytes was missing in grafana. |
Any updates on this issue? I am trying to query If I try to seek the metric on prometheus metrics explorer I get no results: |
@joaopedropsilva do you actually have a datapath connected to gauge? metrics won't show up until the datapath is connected. You can check like this (or check gauge log file):
|
@gizmoguy after running the above command and also checking gauge logs I have noticed that my datapath is not actually connected to gauge. Even though I still did not manage to establish that connection. I am not sure if I have misconfigured gauge, I have also tried to explicitly set my datapath name in |
It's more likely your datapath is misconfigured rather than gauge, I don't see any datapaths attempting to connect to gauge in your log screenshot. I recommend you follow the getting started faucet tutorial which shows you how to set all this up: https://docs.faucet.nz/en/latest/tutorials/first_time.html |
@gizmoguy my datapath was indeed misconfigured. I was having trouble to assign gauge as a controller for my virtual network and after retrying all the steps it did work, I could see the metrics I was looking for. Thanks for the help! |
The port statistics dashboard appears to be broken. I have cloned a clean copy of this repo, changed the faucet.yml config to match my setup, configured grafana to talk to the prometheus data service and setup all dashboards accordingly. The other two dashboards show information as expected but the port statistics do not show any datapath names. I can manually enter them and it resolves the port list but no data is ever resolved.
I am running this via docker-compose so all the versions there are the versions being used. Is this a broken dashboard? Prometheus version issue? Some other compatibility issue with the dashboard itself?
The text was updated successfully, but these errors were encountered: