Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Problem
I was trying to compile vector on FreeBSD (my intention is to add FreeBSD port to the ports tree). I found that hosts_metric is depended on heim, so i disabled that plugin by providing FEATURES=api,api-client,sources-datadog_agent,sources-fluent,sources-internal_metrics,sources-kubernetes_logs,sources-logstash,sources-splunk_hec,sources-statsd,sources-syslog,sources-vector,sinks-console,sinks-prometheus,sinks-vector. However, it was not enough, src/config/validation.rs using heim::disk too.
Is it possible to remove heim dependency from the core components? Vector is a great tool, and having strong dependency on non-cross platform library is problematic.
Thanks for opening this @samm-git . Good catch. I think we could rely on sysinfo there which does work on FreeBSD. We'd be open to seeing a PR if you or someone else feels motivated.
A note for the community
Problem
I was trying to compile vector on FreeBSD (my intention is to add FreeBSD port to the ports tree). I found that hosts_metric is depended on heim, so i disabled that plugin by providing
FEATURES=api,api-client,sources-datadog_agent,sources-fluent,sources-internal_metrics,sources-kubernetes_logs,sources-logstash,sources-splunk_hec,sources-statsd,sources-syslog,sources-vector,sinks-console,sinks-prometheus,sinks-vector
. However, it was not enough, src/config/validation.rs using heim::disk too.Is it possible to remove heim dependency from the core components? Vector is a great tool, and having strong dependency on non-cross platform library is problematic.
Configuration
No response
Version
0.39.0
Debug Output
No response
Example Data
No response
Additional Context
No response
References
No response