-
Notifications
You must be signed in to change notification settings - Fork 35
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
use crm_mon instead parsing cib with cibadmin for constraint metric #173
Comments
|
It is a discussion i had back in time with @gao-yan and In this exporter, we are using here Instead of maintaining 2 binary tools with different API/ABI breaking changes that we can have, we should consolidate to the Also could be a nice improvement/contribution upstream to the C code to add this kind of data. It is more a middle-term issue, but removing a binary dependency is always an improvement if we get the same data from |
I guess we should open an issue on the Pacemaker project to add the feature we require to |
it is a tracking issue which we can reference later on. :) Parsing the CIB directly has in my knowledge some contra-effects and risks comparing to I think if there is no contra to parse the CIB directly and it provides the same functionality/stability as crm_mon we can get rid definitely of both binaries, for that is true. |
okay, let's keep this in the back burner and see how the whole contributing-to-upstream thing goes. |
yep it is definitely something as prio/low or tech-debt but is ok to track |
Parsing CIB with cibadmin is something we should remove and use more "conventional" tools like
crm_mon
.Also right now we should use just
crm_mon
and improve it upstream to support the needed data.In past we parsed the cib with
cibadmin
as workaround but the cleanest solution would be to implement the metric withcrm_mon
see the only one metric we build with that:
ha_cluster_exporter/collector/pacemaker/pacemaker.go
Line 210 in 0af48bf
The text was updated successfully, but these errors were encountered: