Skip to content

Commit 6e6e8a9

Browse files
authored
feat(deletion): return request ID in response header (#19444)
1 parent 6a5be7e commit 6e6e8a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/compactor/deletion/request_handler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ func (dm *DeleteRequestHandler) AddDeleteRequestHandler(w http.ResponseWriter, r
105105
)
106106

107107
dm.metrics.deleteRequestsReceivedTotal.WithLabelValues(userID).Inc()
108+
w.Header().Set("X-Delete-Request-ID", requestID)
108109
w.WriteHeader(http.StatusNoContent)
109110
}
110111

0 commit comments

Comments
 (0)