Make collect command throws an error

I am trying to run the make collect command after creating new metricset and get the following error:

~/go_dev/src/$ 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/ | 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/
../vendor/ 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/" failed with exit code 2
Makefile:27: recipe for target 'collect-docs' failed
make: *** [collect-docs] Error 1

What should I do??

It is a known issue. I am working on this PR to get it fixed:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.