Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Kea Kea
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 563
    • Issues 563
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 69
    • Merge requests 69
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • KeaKea
  • Issues
  • #696
Closed
Open
Issue created Jun 25, 2019 by Franciszek Gorski@Franek12Guest

GSoC 2019: Kea statistics enhancements - support for storing more than one sample

@tomek @vicky

Kea is currently able to report dozens of statistics. However, for each statistic there is only one specific value being reported. For certain types of activities it is highly desirable to have multiple observations over time. Having many data points gives an insight into processes that are changing over time, e.g. daily patterns in user activities, DOS detection and mitigation etc. Therefore the primary task of that issue is expanding the method of collecting observations in Kea by adding the possibility to collecting statistics as time-series ‘buckets’.

What I would like to achieve in this issue is extending of storing samples in Kea. I am going to do this by:

  • changing the way of adding new samples in Observation class method setValueInternal,
  • realizing the implementation of setMaxSampleAge and setMaxSampleCount methods, both in StatsMgr and Observation classes,
  • by default setting the MaxSampleCount to 20 for each Observation and leaving setMaxSampleAge disactivated
  • changing "statistic-get" command which is implemented as Observation class method getJSON to enable retrieval all available samples for each statistics not only one value.

Changes are going to be done in stats_mgr.h stats_mgr.cc, observation.cc observation.h files and in their unittests.

Edited Jun 25, 2019 by Franciszek Gorski
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking