mongodb_exporter icon indicating copy to clipboard operation
mongodb_exporter copied to clipboard

Mongodb monitoring in windows

Open hy-whs opened this issue 2 years ago • 1 comments

We have a few Windows servers running MongoDB on them and i am currently looking to start monitoring them using Prometheus. Looking online I couldn't find any build or relevant documentation regarding a Windows deployment. I searched the issues in the repo but still nothing came up.

hy-whs avatar Jun 09 '23 08:06 hy-whs

@hy-whs We are not currently building this exporter for all flavors of operating systems, but if you are looking to be able to run mongodb_exporter on Windows, you can do so as follows:

  1. clone this repository
  2. checkout a specific tag, for example: git checkout v0.38.0
  3. run GOOS=windows GOARCH=amd64 goreleaser build --clean --single-target

This should get you a binary in the build directory.

ademidoff avatar Jun 12 '23 08:06 ademidoff