]> git.ipfire.org Git - thirdparty/collectd.git/commit
write_open_telemetry plugin: Take the resource attributes into account when comparing...
authorFlorian Forster <octo@collectd.org>
Thu, 14 Dec 2023 11:54:42 +0000 (12:54 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 3 Jan 2024 16:16:28 +0000 (17:16 +0100)
commita724d6db906be9d2aa89c7bd8953f7c60f970961
tree85d27929aa74ab598874b426aae8478f338d1912
parent50413b185ca10a2eef6b8ec1f0ce7b6075dace8f
write_open_telemetry plugin: Take the resource attributes into account when comparing metric families.

The `staged_metric_families` tree was only using the metric family's name
to stage metrics, which is incorrect with the new resource attributes.

The code is now using the new `metric_family_compare` function to take the
attributes also into account.
src/write_open_telemetry.cc