2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

15 Commits

Author SHA1 Message Date
Razvan Becheriu
e9c83cc60a [#3920] remove experimental label for supported features 2025-06-12 23:54:23 +03:00
Thomas Markwalder
5d86419105 [#3328] Addressed review comments
Revampe UTs
Replaced ave and average with mean throughout
2024-06-15 09:17:40 +02:00
Thomas Markwalder
da8046161d [#3328] More doc JSON fixes
And added missing api file

modified:   hooks-perfmon.rst
new file:   ../../../src/share/api/perfmon-get-all-durations.json
2024-06-15 09:17:39 +02:00
Thomas Markwalder
2045651627 [#3328] Corrected JOSN errors in doc
modified:   hooks-perfmon.rst
2024-06-15 09:17:39 +02:00
Thomas Markwalder
6f9989b6d2 [#3328] Doc updates
/doc/sphinx/api-files.txt
/src/share/api/api_files.mk
    Added new command files
        src/share/api/perfmon-control.json
        src/share/api/perfmon-get-all-durations.json

/doc/sphinx/arm/hooks-perfmon.rst
    Updated API section

/src/hooks/dhcp/perfmon/perfmon_mgr.cc
    Added "result-set-format" to get-all-durations results.
2024-06-15 09:17:39 +02:00
Thomas Markwalder
4889c3f9a3 [#3328] Output usecs; add permon-get-all-durations
Statistics and raw data return durations in microseconds instead
of milliseconds.  Add initial support for perfmon-get-all-durations.

/doc/sphinx/arm/hooks-perfmon.rst
    Updated to microseconds
    Updated perfmon-control command

/src/hooks/dhcp/perfmon/monitored_duration.*
    DurationKey::toElement()
    MonitoredDuration::toElement() - new functions

/src/hooks/dhcp/perfmon/perfmon_callouts.cc
    int perfmon_control()
    int perfmon_get_all_durations() - new functions

    int load() - register commands

/src/hooks/dhcp/perfmon/perfmon_config.cc
    PerfMonConfig::parse() - replace use of copy ctor

    PerfMonConfig::enable_monitoring_
    PerfMonConfig::stats_mgr_reporting_ - made std::atomic

/src/hooks/dhcp/perfmon/perfmon_messages.mes
    PERFMON_CMDS_CONTROL_ERROR
    PERFMON_CMDS_CONTROL_OK
    PERFMON_CMDS_GET_ALL_DURATIONS_ERROR
    PERFMON_CMDS_GET_ALL_DURATIONS_OK - new messages

/src/hooks/dhcp/perfmon/perfmon_mgr.cc
    PerfMonMgr::perfmonControlHandler()
    PerfMonMgr::perfmonGetAllDurationsHandler()
    PerfMonMgr::formatDurationDataAsElements()
    PerfMonMgr::formatDurationDataAsResultSet() - new functions

/src/hooks/dhcp/perfmon/tests/Makefile.am
    Added perfmon_cmds_unittests.cc

/src/hooks/dhcp/perfmon/tests/perfmon_config_unittests.cc
    Replaced use of copy ctor

/src/hooks/dhcp/perfmon/tests/perfmon_mgr_unittests.cc
    Updated tests for microseconds
2024-06-15 09:17:39 +02:00
Suzanne Goldlust
7730a1d60d Resolve "Editorial review of the ARM prior to 2.6 release" 2024-05-16 20:09:54 +00:00
Razvan Becheriu
a92269956c [#3297] addressed review 2024-04-03 20:48:44 +03:00
Thomas Markwalder
f39b4692f8 [#3297] Updated ARM, added a ChangeLog 2024-04-03 13:31:48 -04:00
Thomas Markwalder
60902db63f [#3278] Addressed review comments
Minor corrections in ARM and UTs
2024-03-26 19:33:28 +00:00
Razvan Becheriu
e917b75f50 [#3278] addressed review 2024-03-26 19:33:28 +00:00
Thomas Markwalder
8ee36eb89f [#3278] Fix JSON in ARM again
modified:   hooks-perfmon.rst
2024-03-26 19:33:28 +00:00
Thomas Markwalder
8cfe7f9aaa [#3278] Fix JSON error in ARM
modified:   hooks-perfmon.rst
2024-03-26 19:33:28 +00:00
Thomas Markwalder
12e4dddcc5 [#3278] Updated ARM
Added ChangeLog entry, updated ARM, and changed
enable-monitoring to false by default.

doc/sphinx/arm/hooks-perfmon.rst
    Added a good deal more information

src/hooks/dhcp/perfmon/perfmon_config.cc
src/hooks/dhcp/perfmon/perfmon_mgr.cc
    enable-monitoring now defaults to false. Users must
    explicitly enable it.

src/hooks/dhcp/perfmon/tests/perfmon_config_unittests.cc
src/hooks/dhcp/perfmon/tests/perfmon_mgr_unittests.cc
    Updated tests
2024-03-26 19:33:28 +00:00
Thomas Markwalder
7202da7530 [#3242] Added bare-bones perfmon hook library
New files:
    arm/hooks-perfmon.rst
	src/hooks/dhcp/perfmon/.gitattributes
	src/hooks/dhcp/perfmon/.gitignore
	src/hooks/dhcp/perfmon/Makefile.am
	src/hooks/dhcp/perfmon/libloadtests/.gitignore
	src/hooks/dhcp/perfmon/libloadtests/Makefile.am
	src/hooks/dhcp/perfmon/libloadtests/load_unload_unittests.cc
	src/hooks/dhcp/perfmon/libloadtests/run_unittests.cc
	src/hooks/dhcp/perfmon/perfmon.dox
	src/hooks/dhcp/perfmon/perfmon_callouts.cc
	src/hooks/dhcp/perfmon/perfmon_log.cc
	src/hooks/dhcp/perfmon/perfmon_log.h
	src/hooks/dhcp/perfmon/perfmon_messages.cc
	src/hooks/dhcp/perfmon/perfmon_messages.h
	src/hooks/dhcp/perfmon/perfmon_messages.mes
	src/hooks/dhcp/perfmon/tests/.gitignore
	src/hooks/dhcp/perfmon/tests/Makefile.am
	src/hooks/dhcp/perfmon/tests/run_unittests.cc
	src/hooks/dhcp/perfmon/version.cc

Modified:
	configure.ac
	arm/hooks-perfmon.rst
	arm/hooks.rst
	arm/logging.rst
	arm/rst_arm_sources.mk
	conf.py
	src/hooks/dhcp/Makefile.am
2024-02-16 17:51:25 +00:00