Open lapo-luchini opened 1 year ago
Small changes to add ability to build on FreeBSD.
To use it on FreeBSD. 😇
I don't know no Go, so I just added a keyword in a file and got lucky.
I think changes are small and straightforward enough not to need specific review, but YMMV.
I just tested it on FreeBSD/amd64:
$ .build/freebsd-amd64/beat-exporter {"level":"info","message":"Exploring target for beat type","time":"2023-10-12T14:57:30+02:00"} {"beat":"filebeat","hostname":"c2s.dev.andxor.it","level":"info","message":"Target beat configuration loaded successfully!","name":"c2s.dev.andxor.it","time":"2023-10-12T14:57:31+02:00","uuid":"1b280254-5562-4ce6-86db-900f6158d590","version":"7.17.11"} $ % xh http://localhost:9479/metrics | fgrep filebeat_runtime_goroutines # HELP filebeat_runtime_goroutines beat.runtime.goroutines # TYPE filebeat_runtime_goroutines gauge filebeat_runtime_goroutines 31
What ⁉️
Small changes to add ability to build on FreeBSD.
Why ⁉️
To use it on FreeBSD. 😇
How ⁉️
I don't know no Go, so I just added a keyword in a file and got lucky.
How to review and test 📱
I think changes are small and straightforward enough not to need specific review, but YMMV.
I just tested it on FreeBSD/amd64: