]>
git.ipfire.org Git - thirdparty/collectd.git/log
Barbara Kaczorowska [Fri, 16 Oct 2020 14:06:27 +0000 (16:06 +0200)]
Merge pull request #3768 from pj1031999/lock-order
Avoid deadlocks.
Paweł Jasiak [Tue, 13 Oct 2020 21:54:45 +0000 (23:54 +0200)]
Avoid deadlocks.
Florian Forster [Thu, 1 Oct 2020 08:22:15 +0000 (10:22 +0200)]
Merge pull request #3587 from bkjg/fix-format-name
Fix seg fault in format_name function
Florian Forster [Tue, 29 Sep 2020 07:16:02 +0000 (09:16 +0200)]
Merge pull request #3760 from bkjg/fix-memory-leak-configfile
configfile.c: Fix memory leaks in case of failure
Barbara Kaczorowska [Fri, 25 Sep 2020 12:50:13 +0000 (12:50 +0000)]
Fix memory leak in configfile.c
Barbara Kaczorowska [Mon, 21 Sep 2020 10:31:26 +0000 (10:31 +0000)]
clang format
Barbara Kaczorowska [Mon, 21 Sep 2020 10:26:59 +0000 (10:26 +0000)]
Little fix
Barbara Kaczorowska [Mon, 21 Sep 2020 10:21:27 +0000 (10:21 +0000)]
Fix seg fault in format_name
Barbara Kaczorowska [Thu, 17 Sep 2020 10:23:05 +0000 (12:23 +0200)]
Merge pull request #3582 from Lana243/utils-cache-destroy
Utils cache destroy
Svetlana Shmidt [Wed, 16 Sep 2020 10:07:33 +0000 (10:07 +0000)]
add myself as a contributor
Svetlana Shmidt [Wed, 16 Sep 2020 10:03:45 +0000 (10:03 +0000)]
fix formatting
Svetlana Shmidt [Wed, 16 Sep 2020 10:00:57 +0000 (10:00 +0000)]
add uc_destroy to plugin_shuttdown_all
Svetlana Shmidt [Wed, 16 Sep 2020 10:00:19 +0000 (10:00 +0000)]
fix memory leaks in tests
Svetlana Shmidt [Wed, 16 Sep 2020 09:57:50 +0000 (09:57 +0000)]
fix all memoty leaks
Barbara Kaczorowska [Wed, 16 Sep 2020 09:36:19 +0000 (11:36 +0200)]
Merge pull request #3578 from bkjg/fix-leaks-write_http
Fix memory leaks in write_http plugin
Svetlana Shmidt [Wed, 16 Sep 2020 09:35:31 +0000 (09:35 +0000)]
modify cache_free to destroy distributions
Svetlana Shmidt [Wed, 16 Sep 2020 09:27:22 +0000 (09:27 +0000)]
add typed_value_destroy function
Svetlana Shmidt [Wed, 16 Sep 2020 09:20:04 +0000 (14:20 +0500)]
Merge pull request #3570 from Lana243/utils-cache
Utils cache: Start value
Barbara Kaczorowska [Tue, 15 Sep 2020 20:54:42 +0000 (22:54 +0200)]
Delete const keyword
Florian Forster [Tue, 15 Sep 2020 13:46:48 +0000 (15:46 +0200)]
Merge pull request #3579 from bkjg/fix-bug-write_http
Fix bug inside write_http plugin
Svetlana Shmidt [Tue, 15 Sep 2020 11:01:57 +0000 (11:01 +0000)]
change format
Svetlana Shmidt [Tue, 15 Sep 2020 10:57:22 +0000 (10:57 +0000)]
add comments to functions with typed_value
Svetlana Shmidt [Tue, 15 Sep 2020 10:52:11 +0000 (10:52 +0000)]
return constructor for derive
Barbara Kaczorowska [Tue, 15 Sep 2020 10:02:39 +0000 (10:02 +0000)]
Fix bug inside write_http plugin
Barbara Kaczorowska [Tue, 15 Sep 2020 09:59:27 +0000 (09:59 +0000)]
clang format
Barbara Kaczorowska [Tue, 15 Sep 2020 09:56:46 +0000 (09:56 +0000)]
Fix memory leaks in write_http plugin
Svetlana Shmidt [Tue, 15 Sep 2020 08:10:57 +0000 (08:10 +0000)]
change type checks using typed_value
Svetlana Shmidt [Tue, 15 Sep 2020 08:06:31 +0000 (08:06 +0000)]
change values_raw type to typed_value to support distributions
Svetlana Shmidt [Tue, 15 Sep 2020 07:58:58 +0000 (07:58 +0000)]
change naming
Svetlana Shmidt [Tue, 15 Sep 2020 07:27:14 +0000 (07:27 +0000)]
Merge remote-tracking branch 'github-sshmidt/utils-cache' into utils-cache
Svetlana Shmidt [Tue, 15 Sep 2020 07:24:27 +0000 (07:24 +0000)]
add create_typed_value function
Florian Forster [Mon, 14 Sep 2020 16:21:29 +0000 (18:21 +0200)]
daemon: Run contrib/format.sh
Svetlana Shmidt [Mon, 14 Sep 2020 11:26:02 +0000 (11:26 +0000)]
change value_t to typed_value_t in start_value
Svetlana Shmidt [Mon, 14 Sep 2020 11:11:04 +0000 (11:11 +0000)]
add new typed_value type
Svetlana Shmidt [Thu, 10 Sep 2020 11:44:22 +0000 (11:44 +0000)]
fix codestyle
Svetlana Shmidt [Thu, 10 Sep 2020 11:40:41 +0000 (11:40 +0000)]
change formatting for files
Svetlana Shmidt [Thu, 10 Sep 2020 11:35:15 +0000 (11:35 +0000)]
fix overwritten status
Svetlana Shmidt [Thu, 10 Sep 2020 10:58:11 +0000 (10:58 +0000)]
simplify distribution_cmp function
Svetlana Shmidt [Thu, 10 Sep 2020 10:39:30 +0000 (10:39 +0000)]
add comment about double comparison
Elene Margalitadze [Thu, 10 Sep 2020 07:22:43 +0000 (09:22 +0200)]
Merge pull request #3551 from elene-margalit/google-interns-2020
Finalized formatting distribution metrics to JSON
elene-margalit [Wed, 9 Sep 2020 22:29:32 +0000 (00:29 +0200)]
Clang format
elene-margalit [Wed, 9 Sep 2020 22:25:19 +0000 (00:25 +0200)]
Replaced function calls to deleted functions.
elene-margalit [Wed, 9 Sep 2020 22:15:20 +0000 (00:15 +0200)]
Deleted already unneccessary functions distribution_marshal_count, distribution_marshal_sum and distribution_marshal_text and added another switch case for distribution type in metric.c.
elene-margalit [Wed, 9 Sep 2020 10:40:57 +0000 (12:40 +0200)]
Clang format.
elene-margalit [Wed, 9 Sep 2020 10:39:04 +0000 (12:39 +0200)]
Fixed description in header file and changed function name to distribution_total_counter_marshal_text.
Svetlana Shmidt [Wed, 9 Sep 2020 09:13:41 +0000 (09:13 +0000)]
fix codestyle
Svetlana Shmidt [Wed, 9 Sep 2020 09:07:54 +0000 (09:07 +0000)]
add getters for start time and value
Svetlana Shmidt [Tue, 8 Sep 2020 12:55:13 +0000 (12:55 +0000)]
remove old code
Svetlana Shmidt [Tue, 8 Sep 2020 12:38:34 +0000 (12:38 +0000)]
fix bug in update_metric function
Svetlana Shmidt [Tue, 8 Sep 2020 12:37:54 +0000 (12:37 +0000)]
fixed bug in comparison function
Svetlana Shmidt [Tue, 8 Sep 2020 11:38:31 +0000 (11:38 +0000)]
fix memory leak in subtract function
Svetlana Shmidt [Tue, 8 Sep 2020 11:37:44 +0000 (11:37 +0000)]
change update function to reset metric
Svetlana Shmidt [Tue, 8 Sep 2020 09:18:41 +0000 (09:18 +0000)]
add equals function for distribution add description for subtract function
Svetlana Shmidt [Mon, 7 Sep 2020 14:23:30 +0000 (14:23 +0000)]
make distribution_cmp private and change the return value type
Svetlana Shmidt [Mon, 7 Sep 2020 11:19:14 +0000 (11:19 +0000)]
change names
Svetlana Shmidt [Mon, 7 Sep 2020 11:02:33 +0000 (11:02 +0000)]
fix typo
Svetlana Shmidt [Mon, 7 Sep 2020 11:01:41 +0000 (11:01 +0000)]
change distribution_sub function in order d1 >= d2
Svetlana Shmidt [Mon, 7 Sep 2020 10:55:34 +0000 (10:55 +0000)]
add comparison for distributions
Svetlana Shmidt [Mon, 7 Sep 2020 10:22:12 +0000 (10:22 +0000)]
add start value to cache entry
Barbara Kaczorowska [Tue, 1 Sep 2020 14:31:37 +0000 (16:31 +0200)]
Merge pull request #3554 from pj1031999/google-interns-2020
Avoid deadlocks.
elene-margalit [Tue, 1 Sep 2020 10:51:29 +0000 (12:51 +0200)]
Formatted code.
elene-margalit [Tue, 1 Sep 2020 10:43:44 +0000 (12:43 +0200)]
Remove test for deleted distribution_marshal_text function.
elene-margalit [Tue, 1 Sep 2020 10:37:03 +0000 (12:37 +0200)]
Formatted code.
elene-margalit [Tue, 1 Sep 2020 10:29:57 +0000 (12:29 +0200)]
Removed unnecessary function distribution_marshal_text.
elene-margalit [Tue, 1 Sep 2020 10:28:44 +0000 (12:28 +0200)]
Changed string formatting in function format_metric_distribution and adjusted unit test.
Paweł Jasiak [Mon, 31 Aug 2020 21:42:01 +0000 (23:42 +0200)]
Avoid deadlocks.
elene-margalit [Mon, 31 Aug 2020 10:19:02 +0000 (12:19 +0200)]
Changed buffer size in function format_metric_distribution.
elene-margalit [Mon, 31 Aug 2020 10:11:42 +0000 (12:11 +0200)]
Formatted the code.
elene-margalit [Mon, 31 Aug 2020 10:07:22 +0000 (12:07 +0200)]
Adjusted distribution_marshal_text function to Prometheus text format of Histograms and changed unit test accordingly.
Elene Margalitadze [Sun, 30 Aug 2020 21:02:55 +0000 (23:02 +0200)]
Merge pull request #3545 from elene-margalit/google-interns-2020
Extended format_json.c to map distribution metrics to json output.
elene-margalit [Sun, 30 Aug 2020 11:07:55 +0000 (13:07 +0200)]
Formatted code in metric.c.
elene-margalit [Sun, 30 Aug 2020 11:06:53 +0000 (13:06 +0200)]
Formatted code.
elene-margalit [Sun, 30 Aug 2020 11:04:45 +0000 (13:04 +0200)]
Added unit test for function distribution_marshal_text.
elene-margalit [Fri, 28 Aug 2020 10:11:26 +0000 (12:11 +0200)]
Fixed memory leak in distribution_marshal_text function in metric.c.
elene-margalit [Fri, 28 Aug 2020 10:02:09 +0000 (12:02 +0200)]
Found and fixed memory leak in function format_metric_distribution.
elene-margalit [Fri, 28 Aug 2020 09:49:20 +0000 (11:49 +0200)]
Formatted code.
elene-margalit [Fri, 28 Aug 2020 09:43:13 +0000 (11:43 +0200)]
Fixed error in format_json_test.c
elene-margalit [Thu, 27 Aug 2020 22:19:02 +0000 (00:19 +0200)]
Formatted code.
elene-margalit [Thu, 27 Aug 2020 22:10:36 +0000 (00:10 +0200)]
Extended metric_family unit test to also test new format_metric_distribution function.
elene-margalit [Thu, 27 Aug 2020 21:33:33 +0000 (23:33 +0200)]
Fix argument in snprintf.
elene-margalit [Thu, 27 Aug 2020 21:23:16 +0000 (23:23 +0200)]
Fix argument in snprintf.
elene-margalit [Thu, 27 Aug 2020 21:17:40 +0000 (23:17 +0200)]
Fix argument in snprintf.
elene-margalit [Thu, 27 Aug 2020 17:25:01 +0000 (19:25 +0200)]
Added error handling for strbuf_printf and fixed formatting in the distribution_marshal_text function.
elene-margalit [Thu, 27 Aug 2020 16:28:53 +0000 (18:28 +0200)]
Added functions distribution_marshal_text, distribution_count_marshal_text and distribution_sum_marshal_text to be called when the value argument of value_marshal_text is a distribution metric.
elene-margalit [Thu, 27 Aug 2020 16:18:15 +0000 (18:18 +0200)]
Extended function format_metric to call the new function format_metric_distribution if the argument is a distribution. Function format_metric_distribution formats the distribution metric to into json according to the prom2json mapping of Histograms to json.
elene-margalit [Mon, 24 Aug 2020 15:12:10 +0000 (17:12 +0200)]
Formatted code.
elene-margalit [Mon, 24 Aug 2020 14:56:01 +0000 (16:56 +0200)]
Merge branch 'google-interns-2020' of https://github.com/collectd/collectd into google-interns-2020
elene-margalit [Mon, 24 Aug 2020 14:46:44 +0000 (16:46 +0200)]
Fixed return type of distribution_total_counter from double to uint64_t and added cast to double for it in distribution_square_deviation_sum.
elene-margalit [Mon, 24 Aug 2020 12:12:09 +0000 (14:12 +0200)]
Fixed return type from function distribution_total_counter from double to uint64_t
Svetlana Shmidt [Fri, 21 Aug 2020 12:22:21 +0000 (17:22 +0500)]
Merge pull request #3538 from Lana243/google-interns-2020
bugfix in metric.c
Svetlana Shmidt [Fri, 21 Aug 2020 12:11:52 +0000 (12:11 +0000)]
fix dereferencing null pointer
Svetlana Shmidt [Fri, 21 Aug 2020 11:47:20 +0000 (16:47 +0500)]
Merge pull request #3537 from yath/bootstrap
[interns] Add a bootstrapping script and a sample configuration
Sebastian Schmidt [Fri, 21 Aug 2020 10:41:45 +0000 (12:41 +0200)]
Add a bootstrapping script and a sample configuration
This adds a script that installs necessary build dependencies to the
system, builds and installs collectd into an 'install/' subdirectory,
installs a sample config and starts collectd in foreground mode
afterwards.
Note that this script is entirely optional but it may help you to get
started (some plugins don't compile, so this script is only building a
few). Once installed this way, another 'make install' will re-install
collectd into install/sbin/collectd and it can be started normally.
NOTE: collectd segfaults in src/daemon/metric.c:208 (called from
src/cpu.c:545) when build this way from the current branch HEAD. It
works on tree
630b948 , so it's likely caused by your code and you
already got something to fix. :-)
ChangeLog: collectd: added bootstrap helper script
Barbara Kaczorowska [Wed, 19 Aug 2020 10:35:18 +0000 (10:35 +0000)]
Merge pull request #3531 from bkjg/cache
Add support for the distribution metrics to the collectd core
Barbara Kaczorowska [Wed, 19 Aug 2020 09:48:35 +0000 (11:48 +0200)]
Format Makefile.am
Barbara Kaczorowska [Wed, 19 Aug 2020 08:21:00 +0000 (08:21 +0000)]
clang format
Barbara Kaczorowska [Wed, 19 Aug 2020 08:20:17 +0000 (08:20 +0000)]
Remove debug messages
Barbara Kaczorowska [Wed, 19 Aug 2020 08:19:22 +0000 (08:19 +0000)]
Fix seg fault in tests
Barbara Kaczorowska [Wed, 19 Aug 2020 07:50:23 +0000 (07:50 +0000)]
Remove debug messages
Barbara Kaczorowska [Wed, 19 Aug 2020 07:20:55 +0000 (07:20 +0000)]
clang format