Skip to content

Commit

Permalink
Return a 200 OK
Browse files Browse the repository at this point in the history
It is what the OTEL Golang SDK expect :(

open-telemetry/opentelemetry-go#4363

Signed-off-by: Goutham <[email protected]>
  • Loading branch information
gouthamve committed Jul 25, 2023
1 parent c055cd1 commit 6b6a924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/remote/write_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,5 +233,5 @@ func (h *otlpWriteHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}

w.WriteHeader(http.StatusNoContent)
w.WriteHeader(http.StatusOK)
}

0 comments on commit 6b6a924

Please sign in to comment.