Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Knot Resolver
Knot Resolver
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 112
    • Issues 112
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 17
    • Merge Requests 17
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Knot projects
  • Knot ResolverKnot Resolver
  • Issues
  • #364

Closed
Open
Opened Jun 02, 2018 by Vladimír Čunát@vcunat0 of 4 tasks completed0/4 tasks
  • Report abuse
  • New issue
Report abuse New issue

policy and statistics: improvements?

  • UX. Each rule in the list of policies has a .count, but it's not much useful as it is. It's not exported in usual statistics and introspecting by hand makes it hard to read the list.
[rules] => {
    [1] => {
        [count] => 40698
        [id] => 0
        [cb] => function: 0xb69374b0
    }
}
Consider collecting more statistics:
  • RPZ rules might additionally collect a counter of matches for each RPZ file line. That seems relatively cheap on performance side, but it's difficult in the way the abstractions are done now, as the [cb] (above) knows nothing about the "parent table".
  • Count of "secure" answer would be interesting, i.e. those that would set AD flag if requested. (ATM the state isn't well visible unless the request had DO or AD.)
  • e.g. inspiration https://pi-hole.net
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
1
Labels
usability
Assign labels
  • View project labels
Reference: knot/knot-resolver#364