AdguardTeam / AdguardTeam/AdGuardHome

Statistics do not add up or match upstream logs

Ouverte
#7,578 4 commentaires 0 réactions 1 personne assignée Réclamée par @Chinaski1 Voir sur GitHub
Priority: P4
Langage dominant
TypeScript
Étoiles
36.9k
Forks
2.5k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### Prerequisites

- [x] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) and found no answer

- [x] I have searched other issues and found no duplicates

- [x] I want to report a bug and not [ask a question or ask for help](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a)

- [x] I have set up AdGuard Home correctly and [configured clients to use it](https://github.com/AdguardTeam/AdGuardHome/wiki/Clients). (Use the [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions/categories/q-a) for help with installing and configuring clients.)

### Platform (OS and CPU architecture)

Linux, MIPS64 LE

### Installation

GitHub releases or script from README

### Setup

On a router, DHCP is handled by the router

### AdGuard Home version

v0.108.0-b.62

### Action

- General stats over past 30 days show 2.1M requests.
- Top upstreams are way off and they don't match the stats from the upstreams, e.g. ControlD as reported by AGH shows 162K requests, but looking at the actual ControlD stats on their side, there were 1.4M requests over the past month. This is ~10x difference.

I do have `optimistic caching` and `parallel requests` enabled in AGH, but still the stats for top upstreams are way off and they don't match the actual requests seen by the upstream.

Not sure whether there is a reasonable explanation for this or a bug where it is literally off by a factor of 10?

![Image](https://github.com/user-attachments/assets/2a11acb3-06e7-4268-ac76-9f9e03f0ed94)

First 192.168 upstream below is the local LAN DHCP+DNS server that only serves requests for the local LAN domain.

![Image](https://github.com/user-attachments/assets/11a8aad0-78cf-40b0-aba5-f2e068493877)

ControlD Stats:

![Image](https://github.com/user-attachments/assets/cdc4e6b5-5af1-4edc-b972-217f2d17269b)

### Expected result

Stats should match (within some small margin of error).

### Actual result

Stats do not match actual requests seen by the upstreams, they are way off by ~10x.

### Additional information and/or screenshots

_No response_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.