]>
git.ipfire.org Git - thirdparty/collectd.git/log
Barbara Kaczorowska [Tue, 18 Aug 2020 19:46:06 +0000 (19:46 +0000)]
clang format
Barbara Kaczorowska [Tue, 18 Aug 2020 19:45:20 +0000 (19:45 +0000)]
Implement tests for uc_get_rate function
Barbara Kaczorowska [Tue, 18 Aug 2020 18:42:39 +0000 (18:42 +0000)]
Fix updating utils cache
Barbara Kaczorowska [Tue, 18 Aug 2020 18:42:03 +0000 (18:42 +0000)]
Implement draft of tests for uc_rate_by_name function
Barbara Kaczorowska [Tue, 18 Aug 2020 17:29:22 +0000 (17:29 +0000)]
Remove DS_TYPE_DISTRIBUTION define
Barbara Kaczorowska [Tue, 18 Aug 2020 17:28:20 +0000 (17:28 +0000)]
Add DS_TYPE_DISTRIBUTION to the plugin.h file
Barbara Kaczorowska [Tue, 18 Aug 2020 17:24:34 +0000 (17:24 +0000)]
Add nickname of the new author to the license
Barbara Kaczorowska [Tue, 18 Aug 2020 17:23:52 +0000 (17:23 +0000)]
Add new author to the license
Barbara Kaczorowska [Tue, 18 Aug 2020 17:20:08 +0000 (17:20 +0000)]
Add support for distribution metrics in rate functions
Barbara Kaczorowska [Tue, 18 Aug 2020 15:46:29 +0000 (15:46 +0000)]
Add functions for getting last time and update time of cache entry in avl tree
Barbara Kaczorowska [Tue, 18 Aug 2020 15:42:56 +0000 (15:42 +0000)]
Remove finished TODO in tests
Barbara Kaczorowska [Tue, 18 Aug 2020 15:40:25 +0000 (15:40 +0000)]
Add checking correctness of uc_update in tests
Barbara Kaczorowska [Tue, 18 Aug 2020 14:52:44 +0000 (14:52 +0000)]
Implement tests for uc_get_percentile_by_name function
Barbara Kaczorowska [Tue, 18 Aug 2020 10:29:28 +0000 (10:29 +0000)]
Implement tests for uc_get_percentile function
Barbara Kaczorowska [Tue, 18 Aug 2020 09:49:37 +0000 (09:49 +0000)]
Add checking if the percent argument is correct
This commit will add checking if the percent argument in
uc_get_percentile and uc_get_percentile_by_name functions is correct,
i.e. is not smaller than zero and not greater than 100.
Barbara Kaczorowska [Tue, 18 Aug 2020 06:54:37 +0000 (06:54 +0000)]
Add test for uc_update function
Barbara Kaczorowska [Mon, 17 Aug 2020 13:00:41 +0000 (13:00 +0000)]
Successfully add tests to Makefile.am
Barbara Kaczorowska [Mon, 17 Aug 2020 10:00:47 +0000 (10:00 +0000)]
Add checking status after returning from distribution_sub function
Barbara Kaczorowska [Mon, 17 Aug 2020 07:26:13 +0000 (07:26 +0000)]
Clang format
Barbara Kaczorowska [Fri, 14 Aug 2020 14:00:48 +0000 (14:00 +0000)]
Add skeleton of tests for functions from utils_test.h file
Barbara Kaczorowska [Fri, 14 Aug 2020 12:22:03 +0000 (12:22 +0000)]
Add utils_cache_test to the Makefile.am
Barbara Kaczorowska [Fri, 14 Aug 2020 11:26:03 +0000 (11:26 +0000)]
Add uc_get_percentile and uc_get_percentile_by_name functions
Barbara Kaczorowska [Fri, 14 Aug 2020 07:44:23 +0000 (07:44 +0000)]
Add prototype of uc_get_percentile function
Barbara Kaczorowska [Thu, 13 Aug 2020 12:38:10 +0000 (12:38 +0000)]
Starting implementing support for distribution metrics to the cache
This commit will begin providing support for distribution metrics to the
cache. distribution_t now is added to the cache_entry_t structure and
also to the uc_insert and uc_update functions.
Svetlana Shmidt [Wed, 19 Aug 2020 07:36:09 +0000 (12:36 +0500)]
Merge pull request #3529 from Lana243/add_squares
Add getter functions to distribution data structure
Svetlana Shmidt [Wed, 19 Aug 2020 07:26:52 +0000 (07:26 +0000)]
fix metric test
Svetlana Shmidt [Tue, 18 Aug 2020 14:00:48 +0000 (14:00 +0000)]
fix code style
Svetlana Shmidt [Tue, 18 Aug 2020 13:55:57 +0000 (13:55 +0000)]
add unit tests for getters
Svetlana Shmidt [Tue, 18 Aug 2020 13:02:03 +0000 (13:02 +0000)]
add getters for total sum and total counter. Add square deviation sum
Elene Margalitadze [Tue, 18 Aug 2020 16:09:11 +0000 (18:09 +0200)]
Merge pull request #3530 from elene-margalit/google-interns-2020
Fixed unit test to work with adjusted metric_reset function
elene-margalit [Tue, 18 Aug 2020 15:36:38 +0000 (17:36 +0200)]
Formatted code.
elene-margalit [Tue, 18 Aug 2020 15:30:08 +0000 (17:30 +0200)]
Adjusted existing unit test to work with changed metric_reset function.
elene-margalit [Mon, 17 Aug 2020 15:46:42 +0000 (17:46 +0200)]
Merge branch 'google-interns-2020' of https://github.com/collectd/collectd into google-interns-2020
Elene Margalitadze [Mon, 17 Aug 2020 15:38:24 +0000 (17:38 +0200)]
Merge pull request #3525 from collectd/revert-3523-google-interns-2020
Revert "Integrate distribution metrics into collectd core"
Elene Margalitadze [Mon, 17 Aug 2020 15:35:56 +0000 (17:35 +0200)]
Revert "Integrate distribution metrics into collectd core: add new distribution_t value to metric_type_t enum, add distribution_t* to the value_t pointer, modify function metric_reset to call distribution_destroy when appropriate, add according documentation to metric.h. Modify metric_list_clone to call distribution_clone when appropriate."
This reverts commit
ce53eb79ae455131e28c1869a28150e0c48cfad3 .
Elene Margalitadze [Mon, 17 Aug 2020 15:35:56 +0000 (17:35 +0200)]
Revert "Formatted the code."
This reverts commit
6214e862a84bf9c6613b009bdc744fa040e6c872 .
Elene Margalitadze [Mon, 17 Aug 2020 15:35:56 +0000 (17:35 +0200)]
Revert "Formatted the code."
This reverts commit
9948fdcad48786b45445eb3b85af24e1e22797e0 .
elene-margalit [Sun, 16 Aug 2020 17:31:16 +0000 (19:31 +0200)]
Formatted the code.
elene-margalit [Sun, 16 Aug 2020 17:30:13 +0000 (19:30 +0200)]
Formatted the code.
elene-margalit [Sun, 16 Aug 2020 17:18:28 +0000 (19:18 +0200)]
Integrate distribution metrics into collectd core: add new distribution_t value to metric_type_t enum, add distribution_t* to the value_t pointer, modify function metric_reset to call distribution_destroy when appropriate, add according documentation to metric.h. Modify metric_list_clone to call distribution_clone when appropriate.
elene-margalit [Mon, 17 Aug 2020 15:33:22 +0000 (17:33 +0200)]
Added unit test for metric_reset.
Svetlana Shmidt [Mon, 17 Aug 2020 15:11:03 +0000 (20:11 +0500)]
Merge pull request #3522 from Lana243/google-interns-2020
Create a benchmark for the distribution
Svetlana Shmidt [Mon, 17 Aug 2020 15:10:34 +0000 (20:10 +0500)]
Merge pull request #3524 from Lana243/project-sshmidt
Add distribution data structure
Svetlana [Mon, 17 Aug 2020 13:18:43 +0000 (13:18 +0000)]
fix distbench/Makefile.am
Svetlana [Mon, 17 Aug 2020 13:06:35 +0000 (13:06 +0000)]
fix memory leaks in clone unit test
Svetlana [Mon, 17 Aug 2020 12:41:39 +0000 (12:41 +0000)]
fix Makefile.am
Svetlana [Mon, 17 Aug 2020 11:56:09 +0000 (11:56 +0000)]
remove benchmark from Makefile
Svetlana [Mon, 17 Aug 2020 11:53:11 +0000 (11:53 +0000)]
remove benchmark csv files
Svetlana [Mon, 17 Aug 2020 11:31:54 +0000 (11:31 +0000)]
remove distribution benchmark as full benchmark was created in google-interns-2020 branch
elene-margalit [Sun, 16 Aug 2020 17:31:16 +0000 (19:31 +0200)]
Formatted the code.
elene-margalit [Sun, 16 Aug 2020 17:30:13 +0000 (19:30 +0200)]
Formatted the code.
elene-margalit [Sun, 16 Aug 2020 17:18:28 +0000 (19:18 +0200)]
Integrate distribution metrics into collectd core: add new distribution_t value to metric_type_t enum, add distribution_t* to the value_t pointer, modify function metric_reset to call distribution_destroy when appropriate, add according documentation to metric.h. Modify metric_list_clone to call distribution_clone when appropriate.
Svetlana [Fri, 14 Aug 2020 11:30:53 +0000 (11:30 +0000)]
fix the redefinition of bucket_t data structure
Svetlana [Fri, 14 Aug 2020 11:12:02 +0000 (11:12 +0000)]
fix codestyle in distribution data structure
Svetlana [Fri, 14 Aug 2020 10:55:29 +0000 (10:55 +0000)]
fix codestyle for the benchmark
Svetlana [Fri, 14 Aug 2020 10:52:08 +0000 (10:52 +0000)]
fix the codestyle
Svetlana Shmidt [Fri, 14 Aug 2020 10:35:27 +0000 (15:35 +0500)]
Merge pull request #2 from Lana243/benchmark
Benchmark
Svetlana [Thu, 13 Aug 2020 16:57:24 +0000 (16:57 +0000)]
full benchmark done
Svetlana [Thu, 13 Aug 2020 15:33:29 +0000 (15:33 +0000)]
NANOS_PER_SEC fixed
Svetlana [Thu, 13 Aug 2020 15:20:11 +0000 (15:20 +0000)]
change output style for benchmark
Svetlana [Thu, 13 Aug 2020 15:17:36 +0000 (15:17 +0000)]
add benchmark
Svetlana [Thu, 13 Aug 2020 10:38:02 +0000 (10:38 +0000)]
fix header
Svetlana [Thu, 13 Aug 2020 10:37:05 +0000 (10:37 +0000)]
fix implementations that way that they were compiled with new header
Svetlana Shmidt [Thu, 13 Aug 2020 10:01:28 +0000 (15:01 +0500)]
add bkjg implementation
Svetlana Shmidt [Thu, 13 Aug 2020 10:00:01 +0000 (15:00 +0500)]
add margalit implementation
Svetlana Shmidt [Thu, 13 Aug 2020 09:53:50 +0000 (14:53 +0500)]
add sshmidt implementation
Svetlana Shmidt [Thu, 13 Aug 2020 09:48:45 +0000 (14:48 +0500)]
Rename function.h to distribution.h
Svetlana Shmidt [Thu, 13 Aug 2020 09:46:29 +0000 (14:46 +0500)]
remove bucket_t definition from the header file
Svetlana Shmidt [Thu, 13 Aug 2020 09:45:07 +0000 (14:45 +0500)]
add header file
Svetlana [Thu, 13 Aug 2020 09:36:34 +0000 (09:36 +0000)]
change includes to collectd.h
Svetlana [Wed, 12 Aug 2020 13:01:25 +0000 (13:01 +0000)]
change benchmark
Svetlana [Wed, 12 Aug 2020 12:53:17 +0000 (12:53 +0000)]
add unit test for clone function
Svetlana [Wed, 12 Aug 2020 12:29:20 +0000 (12:29 +0000)]
add mutexes
Svetlana [Wed, 12 Aug 2020 11:57:34 +0000 (11:57 +0000)]
fix distribution clone function
Barbara Kaczorowska [Wed, 12 Aug 2020 10:29:07 +0000 (10:29 +0000)]
Merge pull request #3519 from yath/google-interns-2020
[Interns] Add a skeleton for benchmarking distribution_t.
Sebastian Schmidt [Wed, 12 Aug 2020 10:04:11 +0000 (12:04 +0200)]
Fall back to gettimeofday if there’s no clock_gettime.
Sebastian Schmidt [Wed, 12 Aug 2020 09:52:03 +0000 (11:52 +0200)]
Add missing function.h to *_SOURCES
Sebastian Schmidt [Wed, 12 Aug 2020 09:20:28 +0000 (11:20 +0200)]
Add a skeleton for benchmarking distribution_t.
This adds a “distbench” subdirectory for benchmarking different
implementations of distribution_t and three sample implementations.
Svetlana [Tue, 11 Aug 2020 13:21:45 +0000 (13:21 +0000)]
fix codestyle
Svetlana [Tue, 11 Aug 2020 13:20:18 +0000 (13:20 +0000)]
removed unnecessary if condition from the building function
Florian Forster [Mon, 10 Aug 2020 07:46:01 +0000 (09:46 +0200)]
daemon: Remove uc_get_rate_by_name_vl().
The implementation has already been removed.
Florian Forster [Mon, 10 Aug 2020 06:35:36 +0000 (08:35 +0200)]
cmds: Disable the GETVAL test relying on the default host behavior.
Florian Forster [Mon, 10 Aug 2020 06:35:10 +0000 (08:35 +0200)]
Makefile.am: Link libcommon with libmetric.
Florian Forster [Fri, 31 Jul 2020 06:53:17 +0000 (08:53 +0200)]
cmds: Change GETVAL to use parse_legacy_identifier().
Florian Forster [Fri, 31 Jul 2020 06:54:47 +0000 (08:54 +0200)]
common: Fix a memory leak in plugin_value_list_to_metric_family().
The temporary metric_t needs to be reset, otherwise the labels leak.
Florian Forster [Thu, 30 Jul 2020 16:35:00 +0000 (18:35 +0200)]
daemon, common: Move plugin_value_list_to_metric_family().
Florian Forster [Thu, 30 Jul 2020 16:31:19 +0000 (18:31 +0200)]
common: Implement parse_legacy_identifier().
Svetlana [Fri, 7 Aug 2020 12:15:24 +0000 (12:15 +0000)]
add benchmark for million updates
Svetlana [Fri, 7 Aug 2020 10:39:56 +0000 (10:39 +0000)]
benchmark done
Svetlana [Thu, 6 Aug 2020 14:27:33 +0000 (14:27 +0000)]
add benchmark
Svetlana [Mon, 3 Aug 2020 15:05:40 +0000 (15:05 +0000)]
add unit tests for percentile calculation
Svetlana [Mon, 3 Aug 2020 13:56:20 +0000 (13:56 +0000)]
add unit tests for average function
Svetlana [Mon, 3 Aug 2020 13:16:17 +0000 (13:16 +0000)]
add unit tests for update function
Svetlana [Mon, 3 Aug 2020 09:25:22 +0000 (09:25 +0000)]
add unit tests for custom constructor + add inf checker to custom constructor
Svetlana [Mon, 3 Aug 2020 08:36:15 +0000 (08:36 +0000)]
change return value from tree getter function
Svetlana [Mon, 3 Aug 2020 08:27:20 +0000 (08:27 +0000)]
remove libdistribution.la and remove -lm from COMMON_LIBS
Svetlana [Fri, 31 Jul 2020 12:24:26 +0000 (12:24 +0000)]
fix exponential constructor unit tests
Svetlana [Fri, 31 Jul 2020 12:11:20 +0000 (12:11 +0000)]
add some tests for exponential constructor (test failed because of doubles equality check)
Svetlana [Fri, 31 Jul 2020 11:54:59 +0000 (11:54 +0000)]
add destroy function for bucket_array_t data structure
Svetlana [Fri, 31 Jul 2020 11:34:32 +0000 (11:34 +0000)]
add some unit tests for distribution_new_exponential