NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
Metricbeat Developer FAQ
editMetricbeat Developer FAQ
editThis is a list of common questions when creating a metricset and the potential answers.
Metricset is not compiled
editYou are compiling your Beat, but the newly created metricset is not compiled?
Make sure that the path to your module and metricset are added as an import path either in your main.go
file or your include/list.go
file. You can do this manually or by running make imports
.
Metricset is not started
editThe metricset is compiled, but not started when starting Metricbeat?
After creating your metricset, make sure you run make collect
. This command adds the configuration
of your metricset to the default configuration. If the metricset still doesn’t start, check your
default configuration file to see if the metricset is listed there.