glanceapp / glance

A self-hosted dashboard that puts all your feeds in one place
GNU Affero General Public License v3.0
8.56k stars 297 forks source link

AdguardHome DNS Graphs Blank #211

Closed samcro1967 closed 2 months ago

samcro1967 commented 2 months ago

The DNS widget seems to be connected to both my AdguardHome servers and is retuning some data, but the graphs are blank. It has been running for several hours now. Not sure if it just needs to run longer, I am missing something, or I have done something wrong.

glance DNS Widgets for 2 AdguardHome servers image

AdguardHome Stastics from 1 of the servers image

Relevant glance.yml config

  - name: Monitoring
    columns:
      - size: full
        widgets:
          - type: dns-stats
            title: server1
            service: adguard
            url: http://192.168.1.106:8126/
            username: <redacted>
            password: <redacted>
      - size: full
        widgets:
          - type: dns-stats
            service: adguard
            title: server2
            url: http://192.168.1.108:8126/
            username: <redacted>
            password: <redacted>
svilenmarkov commented 2 months ago

Thanks for reporting this!

I think I know what the issue is. I naively assumed that AdGuard always returns data for the last 24 hours since that's what Pi-hole does, but I had just coincidentally set my statistics retention to 24 hours. Could you please confirm that your statistics retention is set to more than 24 hours if you go to Settings -> Statistics configuration?

samcro1967 commented 2 months ago

It is set to 90 days: image

svilenmarkov commented 2 months ago

Thanks for confirming, I'll get it sorted out soon.

svilenmarkov commented 2 months ago

I've just released v0.6.1 which should fix this.

samcro1967 commented 2 months ago

Can confirm it is now working. image