we have some err in our redis like "error:{GRvqZS...
# fleet
w
we have some err in our redis like "error{GRvqZSU6Xr9wn9NgM1ifyxwQ8DvEqiZkW7a6oWuQgGQ=}json" and i got the val of it: "[\n {\n \"message\": \"Authentication required\"\n },\n {\n \"message\": \"missing FleetError in chain\",\n \"data\": {\n \"timestamp\": \"2023-02-10T225214Z\"\n },\n \"stack\": [\n \"github.com/fleetdm/fleet/v4/server/contexts/ctxerr.Handle (ctxerr.go:258)\",\n \"github.com/fleetdm/fleet/v4/server/service.encodeError (transport_error.go:80)\",\n \"github.com/go-kit/kit/transport/http.Server.ServeHTTP (server.go:124)\",\n \"github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerRequestSize.func2 (instrument_server.go:204)\",\n \"net/http.HandlerFunc.ServeHTTP (server.go:2109)\",\n \"github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerResponseSize.func1 (instrument_server.go:239)\",\n \"net/http.HandlerFunc.ServeHTTP (server.go:2109)\",\n \"github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerCounter.func1 (instrument_server.go:117)\",\n \"net/http.HandlerFunc.ServeHTTP (server.go:2109)\",\n \"github.com/prometheus/client_golang/prometheus/promhttp.InstrumentHandlerDuration.func2 (instrument_server.go:84)\",\n \"net/http.HandlerFunc.ServeHTTP (server.go:2109)\"\n ]\n }\n]" but we didn't install prometheus, why it has this err?
k
Hi @wennan.he! Fleet exposes server metrics in a format compatible with Prometheus through the
/metrics
endpoint, using basic
http
authorization. If credentials aren’t supplied, that endpoint is disabled: https://fleetdm.com/docs/deploying/configuration#basic-auth-username