]>
git.ipfire.org Git - thirdparty/collectd.git/log
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
Svetlana [Fri, 31 Jul 2020 09:53:49 +0000 (09:53 +0000)]
add some test for distribution_new_linear
Svetlana [Fri, 31 Jul 2020 09:44:20 +0000 (09:44 +0000)]
add some unit tests for distribution_new_linear
Svetlana [Fri, 31 Jul 2020 09:27:09 +0000 (09:27 +0000)]
add some unit tests for distribution_new_linear
Svetlana [Fri, 31 Jul 2020 08:58:41 +0000 (08:58 +0000)]
add checker to bucket getter
Svetlana [Fri, 31 Jul 2020 08:43:23 +0000 (08:43 +0000)]
add getter for buckets
Florian Forster [Thu, 30 Jul 2020 16:21:06 +0000 (18:21 +0200)]
common: Add a "data_source" return argument to parse_identifier_vl().
Svetlana [Thu, 30 Jul 2020 12:58:53 +0000 (12:58 +0000)]
add some unit tests for distribution_new_linear
Svetlana [Thu, 30 Jul 2020 10:45:01 +0000 (10:45 +0000)]
add distribution_num_buckets function
Svetlana [Thu, 30 Jul 2020 10:37:32 +0000 (10:37 +0000)]
move bucket_t declaration to the header file
Svetlana [Thu, 30 Jul 2020 10:32:48 +0000 (10:32 +0000)]
add unit tests into a build system
Svetlana [Wed, 29 Jul 2020 13:44:44 +0000 (13:44 +0000)]
test ssh commit
Svetlana [Wed, 29 Jul 2020 13:34:08 +0000 (13:34 +0000)]
add distribution files to build system
Svetlana [Wed, 29 Jul 2020 13:33:30 +0000 (13:33 +0000)]
add distribution_test.c file
Svetlana [Wed, 29 Jul 2020 13:32:49 +0000 (13:32 +0000)]
fix compilation errors
Florian Forster [Wed, 29 Jul 2020 11:45:11 +0000 (13:45 +0200)]
cmds: Remove "data source" from the FLUSH command.
Florian Forster [Tue, 21 Jul 2020 17:05:55 +0000 (19:05 +0200)]
format_json: migrate to metric_parse_identity().
Florian Forster [Tue, 21 Jul 2020 17:01:08 +0000 (19:01 +0200)]
cmds: migrate to metric_parse_identity().
Florian Forster [Fri, 17 Jul 2020 11:36:25 +0000 (13:36 +0200)]
Makefile.am: Remove libidentity.la
Florian Forster [Fri, 17 Jul 2020 11:36:08 +0000 (13:36 +0200)]
src/daemon/plugin_mock.c: Remove metrics_list_t.
Florian Forster [Fri, 17 Jul 2020 11:19:23 +0000 (13:19 +0200)]
format_json: s/keyval_t/label_t/g
Florian Forster [Fri, 17 Jul 2020 11:18:16 +0000 (13:18 +0200)]
format_graphite: Remove left-over line from resolving merge conflicts.
Florian Forster [Thu, 16 Jul 2020 14:05:24 +0000 (16:05 +0200)]
.travis.yml: Disable plugins that are known not to build yet.
Florian Forster [Fri, 17 Jul 2020 16:08:46 +0000 (18:08 +0200)]
format_graphite: Format with contrib/format.sh
Florian Forster [Fri, 17 Jul 2020 16:08:38 +0000 (18:08 +0200)]
common: Format with contrib/format.sh
Florian Forster [Fri, 17 Jul 2020 16:08:32 +0000 (18:08 +0200)]
cmds: Format with contrib/format.sh
Florian Forster [Thu, 16 Jul 2020 11:11:21 +0000 (13:11 +0200)]
src/daemon/plugin_mock.c: Format with contrib/format.sh
Florian Forster [Thu, 16 Jul 2020 09:59:55 +0000 (11:59 +0200)]
format_graphite: Remove static buffer from unit test.
Some ancient GCC versions whine about a check being always true,
breaking the test.
Florian Forster [Thu, 16 Jul 2020 09:53:01 +0000 (11:53 +0200)]
.cirrus.yml: Disable the "built plugins" check for now.
Florian Forster [Thu, 16 Jul 2020 09:40:35 +0000 (11:40 +0200)]
format_json: Free memory allocated in the "metric_family" test.
Florian Forster [Thu, 16 Jul 2020 09:40:05 +0000 (11:40 +0200)]
src/utils/cmds/cmds_test.c: Free memory allocated in the string buffer.