Merge pull request #12124 from pbudner/advertise-valid-remote-write-flag

Advertise correct flag to enable remote write receiver
This commit is contained in:
Julien Pivotto 2023-03-14 14:40:35 +01:00 committed by GitHub
commit ba235ee353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1494,7 +1494,7 @@ func (api *API) remoteWrite(w http.ResponseWriter, r *http.Request) {
if api.remoteWriteHandler != nil {
api.remoteWriteHandler.ServeHTTP(w, r)
} else {
http.Error(w, "remote write receiver needs to be enabled with --enable-feature=remote-write-receiver", http.StatusNotFound)
http.Error(w, "remote write receiver needs to be enabled with --web.enable-remote-write-receiver", http.StatusNotFound)
}
}