youtubebeat/vendor/github.com/elastic/beats/docs/devguide/faq.asciidoc

22 lines
824 B
Text
Raw Normal View History

2018-11-18 11:08:38 +01:00
[[dev-faq]]
=== Metricbeat Developer FAQ
This is a list of common questions when creating a metricset and the potential answers.
[float]
==== Metricset is not compiled
You 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`.
[float]
==== Metricset is not started
The 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.