Hi, We are using fleet 3.2 version. Does fleet hav...
# fleet
s
Hi, We are using fleet 3.2 version. Does fleet have inbuilt option to turn on/off metrics? If not, Can we disable metrics commenting code rootMux.Handle("/metrics", prometheus.InstrumentHandler("metrics", promhttp.Handler())) in serve.go file? Any safe alternative for the disabling metrics.
n
Typically folks will front Fleet with a proxy that handles exposing/not exposing particular endpoints. Check out https://defensivedepth.com/2020/04/02/kolide-fleet-breaking-out-the-osquery-api-web-ui/ for some guidance on that.