You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, collectd provides the python plugin, the way to execute out-of-tree user code as a plugin. The python plugin is not just an replacement for not-yet-written plugins but it also allows the user to collect the data in custom circumstances, for instance some custom hardware or proprietary software, i.e. when writing the in-tree collectd plugin is meaningless.
Unfortunately, writing out-of-tree C plugin is currently more complicated that using Python. For instance, https://github.com/nickbabcock/collectd-rust-plugin#to-build needs to supply all existed collectd API and ask user to choose or guess the version. No need to say that some collectd API updates can be missed in such approach.
What I would expect is collectd/plugin.h installed to the user OS, allowing the user to compile his out-of-tree code and produce dynamically loaded shared object ELF to load from collectd.
The text was updated successfully, but these errors were encountered:
This is a feature request to export plugin API.
Currently,
collectd
provides the python plugin, the way to execute out-of-tree user code as a plugin. The python plugin is not just an replacement for not-yet-written plugins but it also allows the user to collect the data in custom circumstances, for instance some custom hardware or proprietary software, i.e. when writing the in-tree collectd plugin is meaningless.Unfortunately, writing out-of-tree C plugin is currently more complicated that using Python. For instance, https://github.com/nickbabcock/collectd-rust-plugin#to-build needs to supply all existed
collectd
API and ask user to choose or guess the version. No need to say that somecollectd
API updates can be missed in such approach.What I would expect is
collectd/plugin.h
installed to the user OS, allowing the user to compile his out-of-tree code and produce dynamically loaded shared object ELF to load fromcollectd
.The text was updated successfully, but these errors were encountered: