I am trying to run the make collect
command after creating new metricset and get the following error:
~/go_dev/src/github.com/elastic/beats/metricbeat$ make collect
Makefile:84: warning: overriding recipe for target 'integration-tests'
../libbeat/scripts/Makefile:217: warning: ignoring old recipe for target 'integration-tests'
go run -mod=vendor ../metricbeat/scripts/assets/assets.go ../metricbeat/module
mkdir -p include/fields
go run -mod=vendor ../libbeat/scripts/cmd/global_fields/main.go -es_beats_path .. -beat_path /home/daniel/go_dev/src/github.com/elastic/beats/metricbeat | go run ../dev-tools/cmd/asset/asset.go -license ASL2 -out ./include/fields/fields.go -pkg include -priority asset.LibbeatFieldsPri ../libbeat/fields.yml metricbeat
mage CollectAll
Generated fields.yml for metricbeat to /home/daniel/go_dev/src/github.com/elastic/beats/metricbeat/build/fields/fields.all.yml
# github.com/godror/godror
../vendor/github.com/godror/godror/conn.go:10:10: fatal error: dpiImpl.h: No such file or directory
#include "dpiImpl.h"
^~~~~~~~~~~
compilation terminated.
Error: error getting default metricsets: Error running subcommand to get metricsets: running "go run -mod vendor /home/daniel/go_dev/src/github.com/elastic/beats/x-pack/metricbeat/scripts/msetlists/main.go" failed with exit code 2
Makefile:27: recipe for target 'collect-docs' failed
make: *** [collect-docs] Error 1
What should I do??