-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Automatically generate field names for HAProxy from columns in stats CSV #2193
Conversation
…umns in stats CSV
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you explain what this feature adds? have you had problems with the current HAProxy plugin omitting metrics?
I can see that this is also a breaking change, can you explain what migrations people will have to perform to deal with the new data format?
Actually I'm just going to close this PR because I can see that it's still a breaking change. Unfortunately I don't think that this adds enough to justify breaking all current users of the plugin. If there are missing metrics then they will have to be added manually. |
While I agree this in it's current form, this is a breaking change, but would you accept it if I returned the field names to match the existing format? The primary reason for this PR is to expand on the list of metrics that this plugin collects, as those currently being gathered seemed to have been cherry-picked from the large number available in the stats pages. The renaming of the metrics was done for simplicity and to stay in line with the vendors own stats names, but I'm not married to the idea and if keeping the existing name for metrics already being collected will mean this gets accepted then I'm fine with that. I'll just do a search/replace on the first row (field names) to keep them the same. |
yes, in order to be accepted you need to:
|
most likely #2323 |
Looking over it, I agree that it's a more comprehensive PR. I'll submit a separate PR for the aggregated server status counters from here once that one gets merged. |
Automatically generate field names for HAProxy from columns in stats CSV, instead of manually looping through to find metrics.
This will allow newly added metrics in the stats page to be sent through Telegraf without changing anything.
Is follow-up to #1179.
Required for all PRs: