10000 [collectd 6] write_prometheus: migration to v6.0 by manuelluis · Pull Request #3861 · collectd/collectd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[collectd 6] write_prometheus: migration to v6.0 #3861

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 3, 2022
Merged

[collectd 6] write_prometheus: migration to v6.0 #3861

merged 4 commits into from
Feb 3, 2022

Conversation

manuelluis
Copy link
Contributor

ChangeLog: write_prometheus plugin: migration to v6.0

The protocol-buffer support is removed as it is not supported after prometehus 2.0.

@manuelluis manuelluis requested a review from a team as a code owner March 9, 2021 23:16
@collectd-bot collectd-bot added this to the 6.0 milestone Mar 9, 2021
@eero-t
Copy link
Contributor
eero-t commented Oct 7, 2021

@mrunge
Copy link
Member
mrunge commented Oct 11, 2021

I still need to test this, it's not forgotten.

@systemcrash
Copy link
Contributor

I've run this (PR) plugin with v6 code - tested my multiple server entries addition on this and v5. OK by me.

@elfiesmelfie elfiesmelfie linked an issue Nov 16, 2021 that may be closed by this pull request
6 tasks
continue;
}
metric_family_destroy(fam);
metric_family_free(prom_fam);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After freeing "prom_fam", you cannot loop & use "prom_fam" members any more => you should break out of the loop here.

eero-t added a commit to eero-t/collectd that referenced this pull request Dec 23, 2021
Changes by "manuelluis" from:
collectd#3861

For testing it with "gpu_sysman" plugin label support.

Besides moving "write_prometheus" plugin to v6 API, this commit
removes the obsolete protobuf support, and adds label support
(= fix to related 3 open collectd tickets).
eero-t added a commit to eero-t/collectd that referenced this pull request Dec 23, 2021
Changes by "manuelluis" from:
collectd#3861

For testing it with "gpu_sysman" plugin label support.

Besides moving "write_prometheus" plugin to v6 API, this commit
removes the obsolete protobuf support, and adds label support
(= fix to related 3 open collectd tickets).
eero-t added a commit to eero-t/collectd that referenced this pull request Dec 27, 2021
Changes by "manuelluis" from:
collectd#3861

For testing it with "gpu_sysman" plugin label support.

Besides moving "write_prometheus" plugin to v6 API, this commit
removes the obsolete protobuf support, and adds label support
(= fix to related 3 open collectd tickets).
eero-t added a commit to eero-t/collectd that referenced this pull request Jan 4, 2022
Changes by "manuelluis" from:
collectd#3861

For testing it with "gpu_sysman" plugin label support.

Besides moving "write_prometheus" plugin to v6 API, this commit
removes the obsolete protobuf support, and adds label support
(= fix to related 3 open collectd tickets).
eero-t added a commit to eero-t/collectd that referenced this pull request Jan 11, 2022
Changes by "manuelluis" from:
collectd#3861

For testing it with "gpu_sysman" plugin label support.

Besides moving "write_prometheus" plugin to v6 API, this commit
removes the obsolete protobuf support, and adds label support
(= fix to related 3 open collectd tickets).
@eero-t
Copy link
Contributor
eero-t commented Jan 25, 2022

I've run this (PR) plugin with v6 code - tested my multiple server entries addition on this and v5. OK by me.

I've been running this over a week now [1], and it's been working fine for me too.

@mrunge & @elfiesmelfie any chance of getting this in, and closing the related 4 issues?

(@manuelluis did not respond to my review comment above, but I can add separate PR for that after this goes in.)

[1] with my "gpu_sysman" plugin updated to v6 API. I'll submit PR for that soon, but I'd like this to go in first.

eero-t added a commit to eero-t/collectd that referenced this pull request Jan 27, 2022
Changes by "manuelluis" from:
collectd#3861

For testing it with "gpu_sysman" plugin label support.

Besides moving "write_prometheus" plugin to v6 API, this commit
removes the obsolete protobuf support, and adds label support
(= fix to related 3 open collectd tickets).
eero-t added a commit to eero-t/collectd that referenced this pull request Jan 27, 2022
Changes by "manuelluis" from:
collectd#3861

For testing it with "gpu_sysman" plugin label support.

Besides moving "write_prometheus" plugin to v6 API, this commit
removes the obsolete protobuf support, and adds label support
(= fix to related 3 open collectd tickets).
Copy link
Member
@mrunge mrunge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, this looks good to me. Sorry to keep you waiting for so long.

< 99FE /div>
@mrunge mrunge merged commit a9fa505 into collectd:collectd-6.0 Feb 3, 2022
@manuelluis manuelluis deleted the mlsr/collectd6-write_prometheus branch December 14, 2023 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[collectd 6] Migrate the write_prometheus plugin
5 participants
0