Create custom Docker image for metricbeat

Hi,

I want to add a new metricset to Metricbeat v7.3.2 and build the corresponding Docker image with my changes. After reading the documentation about "Creating a new metricset", I was able to generate the new "metricbeat" binary using make which works well. However, I would like to build a Docker image as well so that I can test it on the staging environment in an isolated manner. I tried building the Dockerfile present inside the metricbeat directory but it does not register the new metricset.

How do I go about building an updated image of Metricset?

Thanks,
Kshitij

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