]>
git.ipfire.org Git - thirdparty/collectd.git/log 
Florian Forster  [Wed, 27 Dec 2023 08:38:24 +0000  (09:38 +0100)]  
df plugin: Use `STATIC_ARRAY_SIZE` to iterate over metric families.
Florian Forster  [Wed, 27 Dec 2023 08:37:54 +0000  (09:37 +0100)]  
df plugin: Update metric label names to match OpenTelemetry.
Florian Forster  [Wed, 27 Dec 2023 08:35:45 +0000  (09:35 +0100)]  
df plugin: Populate the `unit` field.
Florian Forster  [Wed, 27 Dec 2023 08:30:36 +0000  (09:30 +0100)]  
df plugin: Correctly report inode utilization.
Florian Forster  [Mon, 15 Jan 2024 19:00:12 +0000  (20:00 +0100)]  
Merge pull request #4236 from octo/6/compat
Florian Forster  [Mon, 15 Jan 2024 08:42:08 +0000  (09:42 +0100)]  
CI: Pass the `--enable-compatibility-mode` to all builds.
Florian Forster  [Mon, 15 Jan 2024 08:38:50 +0000  (09:38 +0100)]  
configure.ac: Disable plugins using `value_list_t` by default.
Florian Forster  [Mon, 15 Jan 2024 15:40:07 +0000  (16:40 +0100)]  
Merge pull request #4224 from octo/6/memory
Florian Forster  [Mon, 15 Jan 2024 13:34:30 +0000  (14:34 +0100)]  
memory plugin: Update return value consistently.Co-authored-by: Eero Tamminen <eero.t.tamminen@intel.com> 
Florian Forster  [Wed, 10 Jan 2024 19:16:10 +0000  (20:16 +0100)]  
memory plugin: Sort list of states alphabetically.
Eero Tamminen  [Wed, 10 Jan 2024 19:08:57 +0000  (20:08 +0100)]  
memory plugin: Add comment about the other 2 options being legacy ones.
Florian Forster  [Thu, 4 Jan 2024 08:17:23 +0000  (09:17 +0100)]  
memory plugin: Report "shared" memory (Linux only).
Florian Forster  [Thu, 4 Jan 2024 07:58:14 +0000  (08:58 +0100)]  
memory plugin: Remove "slab" and "available" memory.
Florian Forster  [Thu, 4 Jan 2024 07:48:07 +0000  (08:48 +0100)]  
memory plugin: Remove overly verbose prefix from enum values.
Florian Forster  [Thu, 4 Jan 2024 06:37:49 +0000  (07:37 +0100)]  
memory plugin: Add the "system.memory.limit" metric.
Florian Forster  [Thu, 4 Jan 2024 06:45:16 +0000  (07:45 +0100)]  
memory plugin: Enable utilization reporting by default.
Florian Forster  [Thu, 4 Jan 2024 06:28:18 +0000  (07:28 +0100)]  
memory plugin: Rename `ValuesPercentage` to `ReportUtilization`.
Florian Forster  [Thu, 4 Jan 2024 06:23:28 +0000  (07:23 +0100)]  
memory plugin: Rename `ValuesAbsolute` to `ReportUsage`.
Florian Forster  [Thu, 4 Jan 2024 06:19:08 +0000  (07:19 +0100)]  
memory plugin: Report a fraction of 1 rather than a percentage.
Florian Forster  [Thu, 11 Jan 2024 19:35:30 +0000  (20:35 +0100)]  
write_riemann plugin: Terminate `riemann_event_set` arguments with `RIEMANN_EVENT_FIELD_NONE`.
Florian Forster  [Mon, 15 Jan 2024 13:45:53 +0000  (14:45 +0100)]  
Merge pull request #4228 from octo/6/interface
Florian Forster  [Sun, 14 Jan 2024 19:20:41 +0000  (20:20 +0100)]  
interface plugin: Add link to spec.
Florian Forster  [Thu, 11 Jan 2024 15:01:01 +0000  (16:01 +0100)]  
interface plugin: Fix variable name: `fam` -> `fams`.
Florian Forster  [Thu, 11 Jan 2024 14:26:00 +0000  (15:26 +0100)]  
interface plugin: Align metrics with OpenTelemetry recommendations.
Florian Forster  [Mon, 15 Jan 2024 10:35:20 +0000  (11:35 +0100)]  
Merge pull request #4233 from octo/6/strncpy
Florian Forster  [Fri, 12 Jan 2024 16:51:07 +0000  (17:51 +0100)]  
common: Overhaul the `sstrncpy` implementation.
Florian Forster  [Thu, 11 Jan 2024 20:44:39 +0000  (21:44 +0100)]  
common: Reserve a null byte when calling `strncpy`.
Florian Forster  [Sat, 13 Jan 2024 09:09:24 +0000  (10:09 +0100)]  
Merge pull request #3795 from kenhys/v6-lua
Kentaro Hayashi  [Sat, 13 Jan 2024 07:32:50 +0000  (16:32 +0900)]  
lua: update data types sectionSigned-off-by: Kentaro Hayashi <kenhys@gmail.com> 
Kentaro Hayashi  [Sun, 20 Dec 2020 13:27:30 +0000  (22:27 +0900)]  
lua: migrate interface to v6 plugin APICloses: #3654 Signed-off-by: Kentaro Hayashi <kenhys@gmail.com> 
Kentaro Hayashi  [Sat, 30 Dec 2023 10:49:45 +0000  (19:49 +0900)]  
lua: enable LuaSigned-off-by: Kentaro Hayashi <kenhys@gmail.com> 
collectd bot  [Thu, 11 Jan 2024 20:06:59 +0000  (21:06 +0100)]  
Auto-Merge pull request #4231 from octo/6/submodules
Florian Forster  [Thu, 11 Jan 2024 18:39:20 +0000  (19:39 +0100)]  
.gitmodules: Defaut to shallow submodules.
Florian Forster  [Thu, 11 Jan 2024 18:53:12 +0000  (19:53 +0100)]  
.github/workflows/: Only activate the opentelemetry submodule.
Florian Forster  [Thu, 4 Jan 2024 06:05:08 +0000  (07:05 +0100)]  
memory plugin: Use a constant for label names.
Florian Forster  [Wed, 3 Jan 2024 18:07:59 +0000  (19:07 +0100)]  
Merge pull request #4180 from octo/open-telemetry
Florian Forster  [Wed, 3 Jan 2024 17:39:52 +0000  (18:39 +0100)]  
write_open_telemetry plugin: Fix minor memory leak.
Florian Forster  [Wed, 3 Jan 2024 17:35:45 +0000  (18:35 +0100)]  
src/collectd.conf.in: Add a `LoadPlugin` line for write_open_telemetry.
Florian Forster  [Wed, 3 Jan 2024 16:01:34 +0000  (17:01 +0100)]  
format_open_telemetry: Add `return` statement to that the block is not empty.
Florian Forster  [Wed, 3 Jan 2024 15:37:48 +0000  (16:37 +0100)]  
Write Open Telemetry plugin: Improve readability of time comparison.Co-authored-by: Eero Tamminen <eero.t.tamminen@intel.com> 
Florian Forster  [Wed, 3 Jan 2024 15:35:05 +0000  (16:35 +0100)]  
format_open_telemetry: Handle unexpected metric types gracefully.
Florian Forster  [Wed, 3 Jan 2024 15:17:06 +0000  (16:17 +0100)]  
format_open_telemetry: Unify the `set_gauge` and `set_sum` functions.
Florian Forster  [Wed, 3 Jan 2024 15:10:58 +0000  (16:10 +0100)]  
format_open_telemetry: Reuse local variable.Co-authored-by: Eero Tamminen <eero.t.tamminen@intel.com> 
Florian Forster  [Wed, 3 Jan 2024 15:08:37 +0000  (16:08 +0100)]  
src/daemon/metric.c: Drop redundant check from `metric_family_clone`.Co-authored-by: Eero Tamminen <eero.t.tamminen@intel.com> 
Florian Forster  [Wed, 3 Jan 2024 12:42:11 +0000  (13:42 +0100)]  
format_open_telemetry: Populate the `unit` field.
Florian Forster  [Wed, 20 Dec 2023 11:46:43 +0000  (12:46 +0100)]  
.cirrus.yml: Tell CirrusCI to also clone submodules.
Florian Forster  [Wed, 20 Dec 2023 10:56:00 +0000  (11:56 +0100)]  
./contrib/format.sh src/write_open_telemetry.cc
Florian Forster  [Sun, 17 Dec 2023 08:45:44 +0000  (09:45 +0100)]  
write_open_telemetry plugin: Adapt to changed resource_metrics semantic.
Florian Forster  [Sat, 16 Dec 2023 19:59:39 +0000  (20:59 +0100)]  
write_open_telemetry plugin: Configure the flush callback to be called periodically.
Florian Forster  [Sat, 16 Dec 2023 19:59:02 +0000  (20:59 +0100)]  
write_open_telemetry plugin: Use resource metrics to stage metric families.
Florian Forster  [Sat, 16 Dec 2023 19:55:45 +0000  (20:55 +0100)]  
format_open_telemetry: Accept a `resource_metrics_set_t`.
Florian Forster  [Thu, 14 Dec 2023 11:54:42 +0000  (12:54 +0100)]  
write_open_telemetry plugin: Take the resource attributes into account when comparing metric families.
Florian Forster  [Thu, 14 Dec 2023 07:29:28 +0000  (08:29 +0100)]  
./contrib/format.sh src/utils/format_open_telemetry/format_open_telemetry.h
Eero Tamminen  [Thu, 14 Dec 2023 07:22:05 +0000  (08:22 +0100)]  
src/collectd.conf.pod: Fix typo.
Florian Forster  [Thu, 14 Dec 2023 07:20:20 +0000  (08:20 +0100)]  
Fix .cc .h -> .proto mappings.
Florian Forster  [Thu, 14 Dec 2023 07:13:07 +0000  (08:13 +0100)]  
Add OpenTelemetry .proto files to the distribution.
Florian Forster  [Wed, 13 Dec 2023 22:26:52 +0000  (23:26 +0100)]  
Add `using opentelemetry::proto::resource::v1::Resource`.
Florian Forster  [Wed, 13 Dec 2023 22:18:44 +0000  (23:18 +0100)]  
Add support for resource attributes.
Florian Forster  [Thu, 7 Dec 2023 15:00:16 +0000  (16:00 +0100)]  
Makefile.am: Only build OpenTelemetry protos if needed by write_open_telemetry.
Florian Forster  [Thu, 7 Dec 2023 14:43:46 +0000  (15:43 +0100)]  
configure: Check whether protoc requires `--experimental_allow_proto3_optional`.
Florian Forster  [Mon, 4 Dec 2023 16:49:14 +0000  (17:49 +0100)]  
write_open_telemetry plugin: Fix "unused variable" compile warning.
Florian Forster  [Mon, 4 Dec 2023 16:43:49 +0000  (17:43 +0100)]  
GitHub Actions: Fetch submodules when checking out the repository.
Florian Forster  [Mon, 4 Dec 2023 16:27:16 +0000  (17:27 +0100)]  
write_open_telemetry plugin: Update copyright headers.
Florian Forster  [Mon, 4 Dec 2023 16:20:23 +0000  (17:20 +0100)]  
write_open_telemetry plugin: Document configuration options.
Florian Forster  [Mon, 4 Dec 2023 16:14:18 +0000  (17:14 +0100)]  
write_open_telemetry plugin: Remove the unused "Path" config option.
Florian Forster  [Mon, 4 Dec 2023 16:10:37 +0000  (17:10 +0100)]  
write_open_telemetry plugin: Set up the build system properly.
Florian Forster  [Mon, 4 Dec 2023 14:10:53 +0000  (15:10 +0100)]  
write_open_telemetry plugin: Implement gRPC sending logic.
Florian Forster  [Sun, 3 Dec 2023 09:25:31 +0000  (10:25 +0100)]  
write_open_telemetry plugin: Implement conditional flushing.
Florian Forster  [Sat, 2 Dec 2023 21:42:45 +0000  (22:42 +0100)]  
write_open_telemetry plugin: s/cached/staged/
Florian Forster  [Sat, 2 Dec 2023 21:41:28 +0000  (22:41 +0100)]  
write_open_telemetry plugin: Wrap headers with `extern "C"`.
Florian Forster  [Sat, 2 Dec 2023 21:14:16 +0000  (22:14 +0100)]  
write_open_telemetry plugin: Initial commit.
Florian Forster  [Sat, 2 Dec 2023 06:52:10 +0000  (07:52 +0100)]  
New utility: format OpenTelemetry.
Florian Forster  [Fri, 1 Dec 2023 13:18:55 +0000  (14:18 +0100)]  
git submodule add https://github.com/open-telemetry/opentelemetry-proto/
Florian Forster  [Wed, 3 Jan 2024 15:51:23 +0000  (16:51 +0100)]  
Merge pull request #4188 from octo/6/write_http_otlp_json
Florian Forster  [Wed, 3 Jan 2024 15:01:18 +0000  (16:01 +0100)]  
write_http plugin: Remove `WH_FORMAT_OTLP_PROTO`.
Florian Forster  [Wed, 3 Jan 2024 14:59:53 +0000  (15:59 +0100)]  
format_json: Add the `unit` field to the OpenTelemetry output.
Eero Tamminen  [Wed, 3 Jan 2024 14:52:04 +0000  (15:52 +0100)]  
collectd.conf(5): Improve wording.
Florian Forster  [Wed, 3 Jan 2024 14:50:55 +0000  (15:50 +0100)]  
collectd.conf(5): spell "time series database" consistently.
Florian Forster  [Sun, 17 Dec 2023 08:49:09 +0000  (09:49 +0100)]  
write_http plugin: Adapt to changed resource_metrics semantic.
Florian Forster  [Sun, 17 Dec 2023 07:57:15 +0000  (08:57 +0100)]  
write_http plugin: Clear the response buffer before issuing the request.
Florian Forster  [Sat, 16 Dec 2023 19:17:14 +0000  (20:17 +0100)]  
write_http plugin: Make the OTLP_JSON output configurable.
Florian Forster  [Sat, 16 Dec 2023 13:18:48 +0000  (14:18 +0100)]  
write_http plugin: Add OTLP JSON support using resource metrics.
Florian Forster  [Sat, 16 Dec 2023 18:09:47 +0000  (19:09 +0100)]  
format_json: Fix unit test.
Florian Forster  [Sat, 16 Dec 2023 13:40:11 +0000  (14:40 +0100)]  
format_json: Emit only one `ScopeMetrics` per `ResourceMetrics`.
Florian Forster  [Sat, 16 Dec 2023 13:10:11 +0000  (14:10 +0100)]  
format_json: Update `format_json_open_telemetry` to use resource metrics.
Eero Tamminen  [Fri, 15 Dec 2023 18:18:54 +0000  (19:18 +0100)]  
format_json: Move conditional error logging to a separate function.Co-authored-by: Florian Forster <octo@collectd.org> 
Florian Forster  [Fri, 15 Dec 2023 18:12:13 +0000  (19:12 +0100)]  
format_json: Use `yajl_gen_double` to encode gauge metrics.
Florian Forster  [Fri, 15 Dec 2023 14:39:17 +0000  (15:39 +0100)]  
format_json: Add a missing "array open" call.
Florian Forster  [Fri, 15 Dec 2023 14:38:52 +0000  (15:38 +0100)]  
format_json: Add a unit test for the OpenTelemetry format.
Florian Forster  [Fri, 15 Dec 2023 13:54:23 +0000  (14:54 +0100)]  
format_json: add special error handling to `json_add_string`.
Florian Forster  [Fri, 15 Dec 2023 13:53:57 +0000  (14:53 +0100)]  
format_json: only log errors when a `yajl_gen_` call fails.
Florian Forster  [Thu, 14 Dec 2023 11:58:03 +0000  (12:58 +0100)]  
write_http plugin: Add initial support for exporting OTLP via HTTP.
Florian Forster  [Thu, 14 Dec 2023 11:57:34 +0000  (12:57 +0100)]  
format_json: Add `format_json_open_telemetry` for creating OpenTelemetry JSON.
Florian Forster  [Wed, 3 Jan 2024 12:05:36 +0000  (13:05 +0100)]  
Merge pull request #4219 from octo/6/memory
Florian Forster  [Sun, 17 Dec 2023 14:04:59 +0000  (15:04 +0100)]  
memory plugin: Align metrics with OpenTelemetry recommendations.
Florian Forster  [Fri, 29 Dec 2023 16:55:45 +0000  (17:55 +0100)]  
Merge pull request #4220 from octo/6/write_prometheus
Florian Forster  [Fri, 29 Dec 2023 16:07:24 +0000  (17:07 +0100)]  
write_prometheus plugin: Remove invalid characers from the unit.
Florian Forster  [Fri, 29 Dec 2023 16:00:50 +0000  (17:00 +0100)]  
contrib/format.sh src/write_prometheus.c
Florian Forster  [Fri, 29 Dec 2023 15:58:37 +0000  (16:58 +0100)]  
write_prometheus plugin: Use the `unit` field to create metric names.
Florian Forster  [Thu, 28 Dec 2023 19:55:41 +0000  (20:55 +0100)]  
Merge pull request #4194 from octo/6/unit