AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

add filters to dashboard

Open harrhp opened this issue 1 year ago • 2 comments

Prerequisites

  • [X] I have checked the Wiki and Discussions and found no answer

  • [X] I have searched other issues and found no duplicates

  • [X] I want to request a feature or enhancement and not ask a question

The problem

i want to see on dashboard different stats depending on filter by client ips/domains/date range right now dashboard shows all stats from stats.db. i can only filter out domain with statistics.ignored config when stats are written to db. same with filtering stats by client, it's done on write to db. the problem with filtering on write instead of on read is that i have only 1 view of stats. i have outlier clients/domains like router that generates ~40% of all dns requests or domain that gets blocked 10x more than others, because of this i see ~13% of blocked requests which is technically correct but if i remove the noise it's more like ~20% which is more accurately reflects lists efficiency. but also i don't want to lose complete unfiltered view of statistic which is why i need filters on read. filters on read and on write can coexists, you can use one or the other or both at the same time, but filters on read are more superior to filters on write

Proposed solution

add filters to dashboard by client ips/domains/date range

Alternatives considered and additional information

there are statistics.ignored config and ignore_statistics config for client but they filter stats on write and it does not allow for different views of statistics

harrhp avatar Aug 13 '24 15:08 harrhp