Fix Zipkin trace receiver response: make the HTTP status code from `200` to `202`. (#11356)
This commit is contained in:
parent
7ff7d73642
commit
2b7e5ee625
|
|
@ -11,7 +11,7 @@
|
||||||
* [Breaking Change] Elasticsearch storage merge all management data indices into one index `management`,
|
* [Breaking Change] Elasticsearch storage merge all management data indices into one index `management`,
|
||||||
including `ui_template,ui_menu,continuous_profiling_policy`.
|
including `ui_template,ui_menu,continuous_profiling_policy`.
|
||||||
* Add a release mechanism for alarm windows when it is expired in case of OOM.
|
* Add a release mechanism for alarm windows when it is expired in case of OOM.
|
||||||
* Apply MQE on K8s layer UI-templates
|
* Fix Zipkin trace receiver response: make the HTTP status code from `200` to `202`.
|
||||||
|
|
||||||
#### UI
|
#### UI
|
||||||
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
* Fix the display height of the link tree structure.
|
* Fix the display height of the link tree structure.
|
||||||
* Replace the name by shortName on service widget.
|
* Replace the name by shortName on service widget.
|
||||||
* Refactor: update pagination style. No visualization style change.
|
* Refactor: update pagination style. No visualization style change.
|
||||||
|
* Apply MQE on K8s layer UI-templates
|
||||||
|
|
||||||
#### Documentation
|
#### Documentation
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -101,7 +101,7 @@ public class ZipkinSpanHTTPHandler {
|
||||||
try (final HttpData httpData = request.content()) {
|
try (final HttpData httpData = request.content()) {
|
||||||
final List<Span> spanList = decoder.decodeList(httpData.byteBuf().nioBuffer());
|
final List<Span> spanList = decoder.decodeList(httpData.byteBuf().nioBuffer());
|
||||||
spanForward.send(spanList);
|
spanForward.send(spanList);
|
||||||
return HttpResponse.of(HttpStatus.OK);
|
return HttpResponse.of(HttpStatus.ACCEPTED);
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
response.whenComplete().handle((unused, throwable) -> {
|
response.whenComplete().handle((unused, throwable) -> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue