WARNING: Version 6.2 of Beats has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Extending Metricbeat
editExtending Metricbeat
editMetricbeat periodically interrogates other services to fetch key metrics information. As a developer, you can use Metricbeat in two different ways:
- Extend Metricbeat directly
- Create your own Beat and use Metricbeat as a library
We recommend that you start by creating your own Beat to keep the development of your own module or metricset independent of Metricbeat. At a later stage, if you decide to add a module to Metricbeat, you can reuse the code without making additional changes.
This following topics describe how to contribute to Metricbeat by adding metricsets, modules, and new Beats based on Metricbeat:
If you would like to contribute to Metricbeat or the Beats project, also see Contributing to Beats.