]> git.ipfire.org Git - thirdparty/collectd.git/log
thirdparty/collectd.git
4 years agoMerge branch 'google-interns-2020' of https://github.com/collectd/collectd into googl... 3527/head
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

4 years agoMerge pull request #3525 from collectd/revert-3523-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"

4 years agoRevert "Integrate distribution metrics into collectd core: add new distribution_t... 3525/head
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.

4 years agoRevert "Formatted the code."
Elene Margalitadze [Mon, 17 Aug 2020 15:35:56 +0000 (17:35 +0200)] 
Revert "Formatted the code."

This reverts commit 6214e862a84bf9c6613b009bdc744fa040e6c872.

4 years agoRevert "Formatted the code."
Elene Margalitadze [Mon, 17 Aug 2020 15:35:56 +0000 (17:35 +0200)] 
Revert "Formatted the code."

This reverts commit 9948fdcad48786b45445eb3b85af24e1e22797e0.

4 years agoFormatted the code.
elene-margalit [Sun, 16 Aug 2020 17:31:16 +0000 (19:31 +0200)] 
Formatted the code.

4 years agoFormatted the code.
elene-margalit [Sun, 16 Aug 2020 17:30:13 +0000 (19:30 +0200)] 
Formatted the code.

4 years agoIntegrate distribution metrics into collectd core: add new distribution_t value to...
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.

4 years agoAdded unit test for metric_reset.
elene-margalit [Mon, 17 Aug 2020 15:33:22 +0000 (17:33 +0200)] 
Added unit test for metric_reset.

4 years agoMerge pull request #3522 from Lana243/google-interns-2020
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

4 years agoMerge pull request #3524 from Lana243/project-sshmidt
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

4 years agofix distbench/Makefile.am 3522/head
Svetlana [Mon, 17 Aug 2020 13:18:43 +0000 (13:18 +0000)] 
fix distbench/Makefile.am

4 years agofix memory leaks in clone unit test 3524/head
Svetlana [Mon, 17 Aug 2020 13:06:35 +0000 (13:06 +0000)] 
fix memory leaks in clone unit test

4 years agofix Makefile.am
Svetlana [Mon, 17 Aug 2020 12:41:39 +0000 (12:41 +0000)] 
fix Makefile.am

4 years agoremove benchmark from Makefile
Svetlana [Mon, 17 Aug 2020 11:56:09 +0000 (11:56 +0000)] 
remove benchmark from Makefile

4 years agoremove benchmark csv files
Svetlana [Mon, 17 Aug 2020 11:53:11 +0000 (11:53 +0000)] 
remove benchmark csv files

4 years agoremove distribution benchmark as full benchmark was created in google-interns-2020...
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

4 years agoFormatted the code. 3523/head
elene-margalit [Sun, 16 Aug 2020 17:31:16 +0000 (19:31 +0200)] 
Formatted the code.

4 years agoFormatted the code.
elene-margalit [Sun, 16 Aug 2020 17:30:13 +0000 (19:30 +0200)] 
Formatted the code.

4 years agoIntegrate distribution metrics into collectd core: add new distribution_t value to...
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.

4 years agofix the redefinition of bucket_t data structure
Svetlana [Fri, 14 Aug 2020 11:30:53 +0000 (11:30 +0000)] 
fix the redefinition of bucket_t data structure

4 years agofix codestyle in distribution data structure
Svetlana [Fri, 14 Aug 2020 11:12:02 +0000 (11:12 +0000)] 
fix codestyle in distribution data structure

4 years agofix codestyle for the benchmark
Svetlana [Fri, 14 Aug 2020 10:55:29 +0000 (10:55 +0000)] 
fix codestyle for the benchmark

4 years agofix the codestyle
Svetlana [Fri, 14 Aug 2020 10:52:08 +0000 (10:52 +0000)] 
fix the codestyle

4 years agoMerge pull request #2 from Lana243/benchmark
Svetlana Shmidt [Fri, 14 Aug 2020 10:35:27 +0000 (15:35 +0500)] 
Merge pull request #2 from Lana243/benchmark

Benchmark

4 years agofull benchmark done
Svetlana [Thu, 13 Aug 2020 16:57:24 +0000 (16:57 +0000)] 
full benchmark done

4 years agoNANOS_PER_SEC fixed
Svetlana [Thu, 13 Aug 2020 15:33:29 +0000 (15:33 +0000)] 
NANOS_PER_SEC fixed

4 years agochange output style for benchmark
Svetlana [Thu, 13 Aug 2020 15:20:11 +0000 (15:20 +0000)] 
change output style for benchmark

4 years agoadd benchmark
Svetlana [Thu, 13 Aug 2020 15:17:36 +0000 (15:17 +0000)] 
add benchmark

4 years agofix header
Svetlana [Thu, 13 Aug 2020 10:38:02 +0000 (10:38 +0000)] 
fix header

4 years agofix implementations that way that they were compiled with new header
Svetlana [Thu, 13 Aug 2020 10:37:05 +0000 (10:37 +0000)] 
fix implementations that way that they were compiled with new header

4 years agoadd bkjg implementation
Svetlana Shmidt [Thu, 13 Aug 2020 10:01:28 +0000 (15:01 +0500)] 
add bkjg implementation

4 years agoadd margalit implementation
Svetlana Shmidt [Thu, 13 Aug 2020 10:00:01 +0000 (15:00 +0500)] 
add margalit implementation

4 years agoadd sshmidt implementation
Svetlana Shmidt [Thu, 13 Aug 2020 09:53:50 +0000 (14:53 +0500)] 
add sshmidt implementation

4 years agoRename function.h to distribution.h
Svetlana Shmidt [Thu, 13 Aug 2020 09:48:45 +0000 (14:48 +0500)] 
Rename function.h to distribution.h

4 years agoremove bucket_t definition from the header file
Svetlana Shmidt [Thu, 13 Aug 2020 09:46:29 +0000 (14:46 +0500)] 
remove bucket_t definition from the header file

4 years agoadd header file
Svetlana Shmidt [Thu, 13 Aug 2020 09:45:07 +0000 (14:45 +0500)] 
add header file

4 years agochange includes to collectd.h
Svetlana [Thu, 13 Aug 2020 09:36:34 +0000 (09:36 +0000)] 
change includes to collectd.h

5 years agochange benchmark
Svetlana [Wed, 12 Aug 2020 13:01:25 +0000 (13:01 +0000)] 
change benchmark

5 years agoadd unit test for clone function
Svetlana [Wed, 12 Aug 2020 12:53:17 +0000 (12:53 +0000)] 
add unit test for clone function

5 years agoadd mutexes
Svetlana [Wed, 12 Aug 2020 12:29:20 +0000 (12:29 +0000)] 
add mutexes

5 years agofix distribution clone function
Svetlana [Wed, 12 Aug 2020 11:57:34 +0000 (11:57 +0000)] 
fix distribution clone function

5 years agoMerge pull request #3519 from yath/google-interns-2020
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.

5 years agoFall back to gettimeofday if there’s no clock_gettime. 3519/head
Sebastian Schmidt [Wed, 12 Aug 2020 10:04:11 +0000 (12:04 +0200)] 
Fall back to gettimeofday if there’s no clock_gettime.

5 years agoAdd missing function.h to *_SOURCES
Sebastian Schmidt [Wed, 12 Aug 2020 09:52:03 +0000 (11:52 +0200)] 
Add missing function.h to *_SOURCES

5 years agoAdd a skeleton for benchmarking distribution_t.
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.

5 years agofix codestyle
Svetlana [Tue, 11 Aug 2020 13:21:45 +0000 (13:21 +0000)] 
fix codestyle

5 years agoremoved unnecessary if condition from the building function
Svetlana [Tue, 11 Aug 2020 13:20:18 +0000 (13:20 +0000)] 
removed unnecessary if condition from the building function

5 years agodaemon: Remove uc_get_rate_by_name_vl().
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.

5 years agocmds: Disable the GETVAL test relying on the default host behavior.
Florian Forster [Mon, 10 Aug 2020 06:35:36 +0000 (08:35 +0200)] 
cmds: Disable the GETVAL test relying on the default host behavior.

5 years agoMakefile.am: Link libcommon with libmetric.
Florian Forster [Mon, 10 Aug 2020 06:35:10 +0000 (08:35 +0200)] 
Makefile.am: Link libcommon with libmetric.

5 years agocmds: Change GETVAL to use parse_legacy_identifier().
Florian Forster [Fri, 31 Jul 2020 06:53:17 +0000 (08:53 +0200)] 
cmds: Change GETVAL to use parse_legacy_identifier().

5 years agocommon: Fix a memory leak in plugin_value_list_to_metric_family().
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.

5 years agodaemon, common: Move plugin_value_list_to_metric_family().
Florian Forster [Thu, 30 Jul 2020 16:35:00 +0000 (18:35 +0200)] 
daemon, common: Move plugin_value_list_to_metric_family().

5 years agocommon: Implement parse_legacy_identifier().
Florian Forster [Thu, 30 Jul 2020 16:31:19 +0000 (18:31 +0200)] 
common: Implement parse_legacy_identifier().

5 years agoadd benchmark for million updates
Svetlana [Fri, 7 Aug 2020 12:15:24 +0000 (12:15 +0000)] 
add benchmark for million updates

5 years agobenchmark done
Svetlana [Fri, 7 Aug 2020 10:39:56 +0000 (10:39 +0000)] 
benchmark done

5 years agoadd benchmark
Svetlana [Thu, 6 Aug 2020 14:27:33 +0000 (14:27 +0000)] 
add benchmark

5 years agoadd unit tests for percentile calculation
Svetlana [Mon, 3 Aug 2020 15:05:40 +0000 (15:05 +0000)] 
add unit tests for percentile calculation

5 years agoadd unit tests for average function
Svetlana [Mon, 3 Aug 2020 13:56:20 +0000 (13:56 +0000)] 
add unit tests for average function

5 years agoadd unit tests for update function
Svetlana [Mon, 3 Aug 2020 13:16:17 +0000 (13:16 +0000)] 
add unit tests for update function

5 years agoadd unit tests for custom constructor + add inf checker to custom constructor
Svetlana [Mon, 3 Aug 2020 09:25:22 +0000 (09:25 +0000)] 
add unit tests for custom constructor + add inf checker to custom constructor

5 years agochange return value from tree getter function
Svetlana [Mon, 3 Aug 2020 08:36:15 +0000 (08:36 +0000)] 
change return value from tree getter function

5 years agoremove libdistribution.la and remove -lm from COMMON_LIBS
Svetlana [Mon, 3 Aug 2020 08:27:20 +0000 (08:27 +0000)] 
remove libdistribution.la and remove -lm from COMMON_LIBS

5 years agofix exponential constructor unit tests
Svetlana [Fri, 31 Jul 2020 12:24:26 +0000 (12:24 +0000)] 
fix exponential constructor unit tests

5 years agoadd some tests for exponential constructor (test failed because of doubles equality...
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)

5 years agoadd destroy function for bucket_array_t data structure
Svetlana [Fri, 31 Jul 2020 11:54:59 +0000 (11:54 +0000)] 
add destroy function for bucket_array_t data structure

5 years agoadd some unit tests for distribution_new_exponential
Svetlana [Fri, 31 Jul 2020 11:34:32 +0000 (11:34 +0000)] 
add some unit tests for distribution_new_exponential

5 years agoadd some test for distribution_new_linear
Svetlana [Fri, 31 Jul 2020 09:53:49 +0000 (09:53 +0000)] 
add some test for distribution_new_linear

5 years agoadd some unit tests for distribution_new_linear
Svetlana [Fri, 31 Jul 2020 09:44:20 +0000 (09:44 +0000)] 
add some unit tests for distribution_new_linear

5 years agoadd 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

5 years agoadd checker to bucket getter
Svetlana [Fri, 31 Jul 2020 08:58:41 +0000 (08:58 +0000)] 
add checker to bucket getter

5 years agoadd getter for buckets
Svetlana [Fri, 31 Jul 2020 08:43:23 +0000 (08:43 +0000)] 
add getter for buckets

5 years agocommon: Add a "data_source" return argument to parse_identifier_vl().
Florian Forster [Thu, 30 Jul 2020 16:21:06 +0000 (18:21 +0200)] 
common: Add a "data_source" return argument to parse_identifier_vl().

5 years agoadd some unit tests for distribution_new_linear
Svetlana [Thu, 30 Jul 2020 12:58:53 +0000 (12:58 +0000)] 
add some unit tests for distribution_new_linear

5 years agoadd distribution_num_buckets function
Svetlana [Thu, 30 Jul 2020 10:45:01 +0000 (10:45 +0000)] 
add distribution_num_buckets function

5 years agomove bucket_t declaration to the header file
Svetlana [Thu, 30 Jul 2020 10:37:32 +0000 (10:37 +0000)] 
move bucket_t declaration to the header file

5 years agoadd unit tests into a build system
Svetlana [Thu, 30 Jul 2020 10:32:48 +0000 (10:32 +0000)] 
add unit tests into a build system

5 years agotest ssh commit
Svetlana [Wed, 29 Jul 2020 13:44:44 +0000 (13:44 +0000)] 
test ssh commit

5 years agoadd distribution files to build system
Svetlana [Wed, 29 Jul 2020 13:34:08 +0000 (13:34 +0000)] 
add distribution files to build system

5 years agoadd distribution_test.c file
Svetlana [Wed, 29 Jul 2020 13:33:30 +0000 (13:33 +0000)] 
add distribution_test.c file

5 years agofix compilation errors
Svetlana [Wed, 29 Jul 2020 13:32:49 +0000 (13:32 +0000)] 
fix compilation errors

5 years agocmds: Remove "data source" from the FLUSH command.
Florian Forster [Wed, 29 Jul 2020 11:45:11 +0000 (13:45 +0200)] 
cmds: Remove "data source" from the FLUSH command.

5 years agoformat_json: migrate to metric_parse_identity().
Florian Forster [Tue, 21 Jul 2020 17:05:55 +0000 (19:05 +0200)] 
format_json: migrate to metric_parse_identity().

5 years agocmds: migrate to metric_parse_identity().
Florian Forster [Tue, 21 Jul 2020 17:01:08 +0000 (19:01 +0200)] 
cmds: migrate to metric_parse_identity().

5 years agoMakefile.am: Remove libidentity.la
Florian Forster [Fri, 17 Jul 2020 11:36:25 +0000 (13:36 +0200)] 
Makefile.am: Remove libidentity.la

5 years agosrc/daemon/plugin_mock.c: Remove metrics_list_t.
Florian Forster [Fri, 17 Jul 2020 11:36:08 +0000 (13:36 +0200)] 
src/daemon/plugin_mock.c: Remove metrics_list_t.

5 years agoformat_json: s/keyval_t/label_t/g
Florian Forster [Fri, 17 Jul 2020 11:19:23 +0000 (13:19 +0200)] 
format_json: s/keyval_t/label_t/g

5 years agoformat_graphite: Remove left-over line from resolving merge conflicts.
Florian Forster [Fri, 17 Jul 2020 11:18:16 +0000 (13:18 +0200)] 
format_graphite: Remove left-over line from resolving merge conflicts.

5 years ago.travis.yml: Disable plugins that are known not to build yet.
Florian Forster [Thu, 16 Jul 2020 14:05:24 +0000 (16:05 +0200)] 
.travis.yml: Disable plugins that are known not to build yet.

5 years agoformat_graphite: Format with contrib/format.sh
Florian Forster [Fri, 17 Jul 2020 16:08:46 +0000 (18:08 +0200)] 
format_graphite: Format with contrib/format.sh

5 years agocommon: Format with contrib/format.sh
Florian Forster [Fri, 17 Jul 2020 16:08:38 +0000 (18:08 +0200)] 
common: Format with contrib/format.sh

5 years agocmds: Format with contrib/format.sh
Florian Forster [Fri, 17 Jul 2020 16:08:32 +0000 (18:08 +0200)] 
cmds: Format with contrib/format.sh

5 years agosrc/daemon/plugin_mock.c: 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

5 years agoformat_graphite: Remove static buffer from unit test.
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.

5 years ago.cirrus.yml: Disable the "built plugins" check for now.
Florian Forster [Thu, 16 Jul 2020 09:53:01 +0000 (11:53 +0200)] 
.cirrus.yml: Disable the "built plugins" check for now.

5 years agoformat_json: Free memory allocated in the "metric_family" test.
Florian Forster [Thu, 16 Jul 2020 09:40:35 +0000 (11:40 +0200)] 
format_json: Free memory allocated in the "metric_family" test.

5 years agosrc/utils/cmds/cmds_test.c: Free memory allocated in the string buffer.
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.

5 years ago.cirrus.yml: Print test-suite.log on failure.
Florian Forster [Thu, 16 Jul 2020 09:27:01 +0000 (11:27 +0200)] 
.cirrus.yml: Print test-suite.log on failure.

5 years agometadata: Fix unit test.
Florian Forster [Wed, 15 Jul 2020 21:56:07 +0000 (23:56 +0200)] 
metadata: Fix unit test.