Save http status code regardless of it's status (#258)
This commit is contained in:
parent
19dd412b34
commit
d75cdf51e1
|
|
@ -39,7 +39,6 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'java' ]
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ Release Notes.
|
|||
* Fix `onHalfClose` using span operation name `/Request/onComplete` instead of the worng name `/Request/onHalfClose`.
|
||||
* Add plugin to support RESTeasy 4.x.
|
||||
* Add plugin to support hutool-http 5.x.
|
||||
* Save http status code regardless of it's status.
|
||||
|
||||
#### Documentation
|
||||
|
||||
|
|
|
|||
|
|
@ -154,9 +154,9 @@ public class DefaultHttpClientInterceptor implements InstanceMethodsAroundInterc
|
|||
int statusCode = response.status();
|
||||
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -81,9 +81,9 @@ public class LoadBalancerHttpClientInterceptor implements InstanceMethodsAroundI
|
|||
int statusCode = response.status();
|
||||
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ public class DefaultHttpClientInterceptorTest {
|
|||
assertSpan(finishedSpan);
|
||||
|
||||
List<TagValuePair> tags = SpanHelper.getTags(finishedSpan);
|
||||
assertThat(tags.size(), is(2));
|
||||
assertThat(tags.size(), is(3));
|
||||
assertThat(tags.get(0).getValue(), is("GET"));
|
||||
assertThat(tags.get(1).getValue(), is("http://skywalking.org/test/var"));
|
||||
assertThat(finishedSpan.getOperationName(), is("/test/{pathVar}"));
|
||||
|
|
@ -170,7 +170,7 @@ public class DefaultHttpClientInterceptorTest {
|
|||
assertSpan(finishedSpan);
|
||||
|
||||
List<TagValuePair> tags = SpanHelper.getTags(finishedSpan);
|
||||
assertThat(tags.size(), is(2));
|
||||
assertThat(tags.size(), is(3));
|
||||
assertThat(tags.get(0).getValue(), is("GET"));
|
||||
assertThat(tags.get(1).getValue(), is("http://skywalking.org/test/var"));
|
||||
|
||||
|
|
|
|||
|
|
@ -89,9 +89,9 @@ public class HttpClientExecuteInterceptor implements InstanceMethodsAroundInterc
|
|||
if (responseStatusLine != null) {
|
||||
int statusCode = responseStatusLine.getStatusCode();
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
}
|
||||
HttpRequest httpRequest = (HttpRequest) allArguments[1];
|
||||
// Active HTTP parameter collection automatically in the profiling context.
|
||||
|
|
|
|||
|
|
@ -46,9 +46,10 @@ public class HttpAsyncResponseConsumerWrapper<T> implements HttpAsyncResponseCon
|
|||
public void responseReceived(HttpResponse response) throws IOException, HttpException {
|
||||
if (ContextManager.isActive()) {
|
||||
int statusCode = response.getStatusLine().getStatusCode();
|
||||
AbstractSpan span = ContextManager.activeSpan().errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
AbstractSpan span = ContextManager.activeSpan().errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
span.errorOccurred();
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -75,9 +75,9 @@ public class HttpClientExecuteInterceptor implements InstanceMethodsAroundInterc
|
|||
if (ret != null) {
|
||||
final int statusCode = (Integer) ret;
|
||||
final AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
}
|
||||
final HttpMethod httpMethod = (HttpMethod) allArguments[1];
|
||||
if (httpMethod == null) {
|
||||
|
|
|
|||
|
|
@ -84,9 +84,9 @@ public class HttpClientDoExecuteInterceptor implements InstanceMethodsAroundInte
|
|||
|
||||
int statusCode = response.getCode();
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -46,9 +46,10 @@ public class AsyncResponseConsumerWrapper<T> implements AsyncResponseConsumer<T>
|
|||
FutureCallback<T> resultCallback) throws HttpException, IOException {
|
||||
if (ContextManager.isActive()) {
|
||||
int statusCode = response.getCode();
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
AbstractSpan span = ContextManager.activeSpan().errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
span.errorOccurred();
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
}
|
||||
|
|
@ -59,9 +60,10 @@ public class AsyncResponseConsumerWrapper<T> implements AsyncResponseConsumer<T>
|
|||
public void informationResponse(HttpResponse response, HttpContext context) throws HttpException, IOException {
|
||||
if (ContextManager.isActive()) {
|
||||
int statusCode = response.getCode();
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
AbstractSpan span = ContextManager.activeSpan().errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
span.errorOccurred();
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,9 +71,11 @@ public class HandleInterceptor implements InstanceMethodsAroundInterceptor {
|
|||
HttpChannel httpChannel = (HttpChannel) objInst;
|
||||
HttpServletResponse servletResponse = httpChannel.getResponse();
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
if (IS_SERVLET_GET_STATUS_METHOD_EXIST && servletResponse.getStatus() >= 400) {
|
||||
span.errorOccurred();
|
||||
if (IS_SERVLET_GET_STATUS_METHOD_EXIST) {
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, servletResponse.getStatus());
|
||||
if (servletResponse.getStatus() >= 400) {
|
||||
span.errorOccurred();
|
||||
}
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
ContextManager.getRuntimeContext().remove(Constants.FORWARD_REQUEST_FLAG);
|
||||
|
|
|
|||
|
|
@ -69,6 +69,9 @@ public class JsonServiceExporterInterceptor implements InstanceMethodsAroundInte
|
|||
AbstractSpan span = ContextManager.activeSpan();
|
||||
if (IS_SERVLET_GET_STATUS_METHOD_EXIST) {
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, response.getStatus());
|
||||
if (response.getStatus() >= 400) {
|
||||
span.errorOccurred();
|
||||
}
|
||||
}
|
||||
|
||||
ContextManager.stopSpan();
|
||||
|
|
|
|||
|
|
@ -74,9 +74,9 @@ public class HandleRequestInterceptor implements InstanceMethodsAroundIntercepto
|
|||
span.setComponent(ComponentsDefine.LIGHT_4J);
|
||||
SpanLayer.asHttp(span);
|
||||
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, exchange.getStatusCode());
|
||||
if (exchange.getStatusCode() >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, exchange.getStatusCode());
|
||||
}
|
||||
|
||||
ContextManager.stopSpan(span);
|
||||
|
|
|
|||
|
|
@ -65,10 +65,11 @@ public class SenderSendInterceptor implements InstanceMethodsAroundInterceptor {
|
|||
Response response = (Response) ret;
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
|
||||
if (response == null || response.getStatus() >= 400) {
|
||||
span.errorOccurred();
|
||||
if (response != null)
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, response.getStatus());
|
||||
if (response == null) {
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, response.getStatus());
|
||||
if (response.getStatus() >= 400) {
|
||||
span.errorOccurred();
|
||||
}
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -74,9 +74,9 @@ public class ActionMethodInterceptor implements InstanceMethodsAroundInterceptor
|
|||
HttpServletResponse response = Mvcs.getResp();
|
||||
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, response.getStatus());
|
||||
if (response.getStatus() >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, response.getStatus());
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -80,9 +80,9 @@ public class CallInterceptor implements InstanceMethodsAroundInterceptor {
|
|||
if (response != null) {
|
||||
int statusCode = response.code();
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
}
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
|
|
|
|||
|
|
@ -108,9 +108,9 @@ public class RealCallInterceptor implements InstanceMethodsAroundInterceptor, In
|
|||
if (response != null) {
|
||||
int statusCode = response.code();
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -80,9 +80,9 @@ public class CallInterceptor implements InstanceMethodsAroundInterceptor {
|
|||
if (response != null) {
|
||||
int statusCode = response.code();
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
}
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
|
|
|
|||
|
|
@ -103,9 +103,9 @@ public class RealCallInterceptor implements InstanceMethodsAroundInterceptor, In
|
|||
if (response != null) {
|
||||
int statusCode = response.code();
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -78,9 +78,9 @@ public class TracingFilter extends Filter {
|
|||
SpanLayer.asHttp(span);
|
||||
span.prepareForAsync();
|
||||
CompletionStage<Result> stage = next.apply(request).thenApply(result -> {
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, result.status());
|
||||
if (result.status() >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, result.status());
|
||||
}
|
||||
try {
|
||||
span.asyncFinish();
|
||||
|
|
|
|||
|
|
@ -59,9 +59,9 @@ public class SynchronousDispatcherInterceptor implements InstanceMethodsAroundIn
|
|||
Object ret) throws Throwable {
|
||||
HttpResponse response = (HttpResponse) allArguments[1];
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, response.getStatus());
|
||||
if (response.getStatus() >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, response.getStatus());
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -58,9 +58,9 @@ public class ProducerOperationHandlerInterceptor implements InstanceMethodsAroun
|
|||
Invocation invocation = (Invocation) allArguments[0];
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
int statusCode = invocation.getStatus().getStatusCode();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -67,9 +67,9 @@ public class TransportClientHandlerInterceptor implements InstanceMethodsAroundI
|
|||
}
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
int statusCode = invocation.getStatus().getStatusCode();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -71,9 +71,11 @@ public class InvokeInterceptor implements InstanceMethodsAroundInterceptorV2 {
|
|||
return;
|
||||
}
|
||||
HttpStatus httpStatus = exchange.getResponse().getStatusCode();
|
||||
if (httpStatus != null && httpStatus.isError()) {
|
||||
span.errorOccurred();
|
||||
if (httpStatus != null) {
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, httpStatus.value());
|
||||
if (httpStatus.isError()) {
|
||||
span.errorOccurred();
|
||||
}
|
||||
}
|
||||
span.asyncFinish();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -201,9 +201,11 @@ public abstract class AbstractMethodInterceptor implements InstanceMethodsAround
|
|||
}
|
||||
}
|
||||
|
||||
if (statusCode != null && statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
if (statusCode != null) {
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
}
|
||||
}
|
||||
|
||||
runtimeContext.remove(REACTIVE_ASYNC_SPAN_IN_RUNTIME_CONTEXT);
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@ public class RestResponseInterceptor implements InstanceMethodsAroundInterceptor
|
|||
ClientHttpResponse response = (ClientHttpResponse) allArguments[2];
|
||||
int statusCode = response.getStatusCode().value();
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
if (statusCode >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, statusCode);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,9 +69,11 @@ public class Struts2Interceptor implements InstanceMethodsAroundInterceptor {
|
|||
HttpServletResponse response = ServletActionContext.getResponse();
|
||||
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
if (IS_SERVLET_GET_STATUS_METHOD_EXIST && response.getStatus() >= 400) {
|
||||
span.errorOccurred();
|
||||
if (IS_SERVLET_GET_STATUS_METHOD_EXIST) {
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, response.getStatus());
|
||||
if (response.getStatus() >= 400) {
|
||||
span.errorOccurred();
|
||||
}
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
return ret;
|
||||
|
|
|
|||
|
|
@ -93,9 +93,11 @@ public class TomcatInvokeInterceptor implements InstanceMethodsAroundInterceptor
|
|||
HttpServletResponse response = (HttpServletResponse) allArguments[1];
|
||||
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
if (IS_SERVLET_GET_STATUS_METHOD_EXIST && response.getStatus() >= 400) {
|
||||
span.errorOccurred();
|
||||
if (IS_SERVLET_GET_STATUS_METHOD_EXIST) {
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, response.getStatus());
|
||||
if (response.getStatus() >= 400) {
|
||||
span.errorOccurred();
|
||||
}
|
||||
}
|
||||
// Active HTTP parameter collection automatically in the profiling context.
|
||||
if (!TomcatPluginConfig.Plugin.Tomcat.COLLECT_HTTP_PARAMS && span.isProfiling()) {
|
||||
|
|
|
|||
|
|
@ -70,9 +70,9 @@ public class TracingHandler implements HttpHandler {
|
|||
@Override
|
||||
public void exchangeEvent(HttpServerExchange httpServerExchange, NextListener nextListener) {
|
||||
nextListener.proceed();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, httpServerExchange.getStatusCode());
|
||||
if (httpServerExchange.getStatusCode() >= 400) {
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, httpServerExchange.getStatusCode());
|
||||
}
|
||||
span.asyncFinish();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,10 +43,10 @@ public class HttpClientParseHttpInterceptor implements InstanceMethodsAroundInte
|
|||
MessageHeader responseHeader = (MessageHeader) allArguments[0];
|
||||
String statusLine = responseHeader.getValue(0);
|
||||
Integer responseCode = parseResponseCode(statusLine);
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, responseCode);
|
||||
if (responseCode >= 400) {
|
||||
AbstractSpan span = ContextManager.activeSpan();
|
||||
span.errorOccurred();
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, responseCode);
|
||||
}
|
||||
ContextManager.stopSpan();
|
||||
return ret;
|
||||
|
|
@ -78,4 +78,4 @@ public class HttpClientParseHttpInterceptor implements InstanceMethodsAroundInte
|
|||
return -1;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,8 +66,8 @@ public class CommonUtil {
|
|||
return ret;
|
||||
}
|
||||
Optional.ofNullable(exchange.getResponse().getStatusCode()).ifPresent(httpStatus -> {
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, httpStatus.value());
|
||||
if (httpStatus.isError()) {
|
||||
Tags.HTTP_RESPONSE_STATUS_CODE.set(span, httpStatus.value());
|
||||
span.errorOccurred();
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ The test framework provides `JVM-container` and `Tomcat-container` base images i
|
|||
|
||||
### JVM-container Image Introduction
|
||||
|
||||
[JVM-container](../../../../../test/plugin/containers/jvm-container) uses `adoptopenjdk/openjdk8:alpine-jre` as the base image. `JVM-container` supports JDK8 and JDK17 as well in CI, which inherits `adoptopenjdk/openjdk8:alpine-jre` and `eclipse-temurin:17-alpine`.
|
||||
[JVM-container](../../../../../test/plugin/containers/jvm-container) uses `adoptopenjdk/openjdk8:alpine-jre` as the base image. `JVM-container` supports JDK8 and JDK17 as well in CI, which inherits `adoptopenjdk/openjdk8:alpine-jre` and `eclipse-temurin:17-alpine`.
|
||||
It is supported to custom the base Java docker image by specify `base_image_java`.
|
||||
The test case project must be packaged as `project-name.zip`, including `startup.sh` and uber jar, by using `mvn clean package`.
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ File Name | Descriptions
|
|||
|
||||
| Option | description
|
||||
| --- | ---
|
||||
| default | Activate all plugins in `plugin` folder like the official distribution agent.
|
||||
| default | Activate all plugins in `plugin` folder like the official distribution agent.
|
||||
| with_optional | Activate `default` and plugins in `optional-plugin` by the give selector.
|
||||
| with_bootstrap | Activate `default` and plugins in `bootstrap-plugin` by the give selector.
|
||||
|
||||
|
|
@ -139,7 +139,7 @@ depends_on:
|
|||
dependencies:
|
||||
service1:
|
||||
image:
|
||||
hostname:
|
||||
hostname:
|
||||
expose:
|
||||
...
|
||||
environment:
|
||||
|
|
@ -222,7 +222,7 @@ segmentItems:
|
|||
|
||||
|
||||
| Field | Description
|
||||
| --- | ---
|
||||
| --- | ---
|
||||
| serviceName | Service Name.
|
||||
| segmentSize | The number of segments is expected.
|
||||
| segmentId | Trace ID.
|
||||
|
|
@ -263,26 +263,26 @@ segmentItems:
|
|||
...
|
||||
```
|
||||
|
||||
| Field | Description
|
||||
|--- |---
|
||||
| Field | Description
|
||||
|--- |---
|
||||
| operationName | Span Operation Name.
|
||||
| parentSpanId | Parent span ID. **Note**: The parent span ID of the first span should be -1.
|
||||
| spanId | Span ID. **Note**: Start from 0.
|
||||
| parentSpanId | Parent span ID. **Note**: The parent span ID of the first span should be -1.
|
||||
| spanId | Span ID. **Note**: Start from 0.
|
||||
| startTime | Span start time. It is impossible to get the accurate time, not 0 should be enough.
|
||||
| endTime | Span finish time. It is impossible to get the accurate time, not 0 should be enough.
|
||||
| isError | Span status, true or false.
|
||||
| componentId | Component id for your plugin.
|
||||
| isError | Span status, true or false.
|
||||
| componentId | Component id for your plugin.
|
||||
| tags | Span tag list. **Notice**, Keep in the same order as the plugin coded.
|
||||
| logs | Span log list. **Notice**, Keep in the same order as the plugin coded.
|
||||
| SpanLayer | Options, DB, RPC_FRAMEWORK, HTTP, MQ, CACHE.
|
||||
| SpanType | Span type, options, Exit, Entry or Local.
|
||||
| peer | Remote network address, IP + port mostly. For exit span, this should be required.
|
||||
| peer | Remote network address, IP + port mostly. For exit span, this should be required.
|
||||
|
||||
The verify description for SegmentRef
|
||||
|
||||
| Field | Description
|
||||
|---- |----
|
||||
| traceId |
|
||||
| Field | Description
|
||||
|---- |----
|
||||
| traceId |
|
||||
| parentTraceSegmentId | Parent SegmentId, pointing to the segment id in the parent segment.
|
||||
| parentSpanId | Parent SpanID, pointing to the span id in the parent segment.
|
||||
| parentService | The service of parent/downstream service name.
|
||||
|
|
@ -302,7 +302,7 @@ meterItems:
|
|||
```
|
||||
|
||||
| Field | Description
|
||||
| --- | ---
|
||||
| --- | ---
|
||||
| serviceName | Service Name.
|
||||
| meterSize | The number of meters is expected.
|
||||
| meters | meter list. Follow the next section to see how to describe every meter.
|
||||
|
|
@ -310,7 +310,7 @@ meterItems:
|
|||
**Expected Data Format Of The Meter**
|
||||
|
||||
```yml
|
||||
meterId:
|
||||
meterId:
|
||||
name: NAME(string)
|
||||
tags:
|
||||
- {name: TAG_NAME(string), value: TAG_VALUE(string)}
|
||||
|
|
@ -322,8 +322,8 @@ meterItems:
|
|||
|
||||
The verify description for MeterId
|
||||
|
||||
| Field | Description
|
||||
|--- |---
|
||||
| Field | Description
|
||||
|--- |---
|
||||
| name | meter name.
|
||||
| tags | meter tags.
|
||||
| tags.name | tag name.
|
||||
|
|
@ -348,7 +348,7 @@ The following system environment variables are available in the shell.
|
|||
> `${agent_opts}` is required to add into your `java -jar` command, which including the parameter injected by test framework, and
|
||||
> make agent installed. All other parameters should be added after `${agent_opts}`.
|
||||
|
||||
The test framework will set the service name as the test case folder name by default, but in some cases, there are more
|
||||
The test framework will set the service name as the test case folder name by default, but in some cases, there are more
|
||||
than one test projects are required to run in different service codes, could set it explicitly like the following example.
|
||||
|
||||
Example
|
||||
|
|
@ -409,7 +409,7 @@ Then, runs and generates a project, named by `scenario_name`, in `./scenarios`.
|
|||
|
||||
Heartbeat service is designed for checking the service available status. This service is a simple HTTP service, returning 200 means the
|
||||
target service is ready. Then the traffic generator will access the entry service and verify the expected data.
|
||||
User should consider to use this service to detect such as whether the dependent services are ready, especially when
|
||||
User should consider to use this service to detect such as whether the dependent services are ready, especially when
|
||||
dependent services are database or cluster.
|
||||
|
||||
Notice, because heartbeat service could be traced fully or partially, so, segmentSize in `expectedData.yaml` should use `ge` as the operator,
|
||||
|
|
@ -479,6 +479,7 @@ SegmentA span list should like following
|
|||
tags:
|
||||
- {key: url, value: 'http://127.0.0.1:8080/httpclient-case/case/context-propagate'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
logs: []
|
||||
peer: 127.0.0.1:8080
|
||||
- operationName: /httpclient-case/case/httpclient
|
||||
|
|
@ -493,6 +494,7 @@ SegmentA span list should like following
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:{SERVER_OUTPUT_PORT}/httpclient-case/case/httpclient'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
logs: []
|
||||
peer: null
|
||||
```
|
||||
|
|
@ -510,6 +512,7 @@ SegmentB span list should like following
|
|||
tags:
|
||||
- {key: url, value: 'http://127.0.0.1:8080/httpclient-case/case/context-propagate'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
logs: []
|
||||
startTime: nq 0
|
||||
endTime: nq 0
|
||||
|
|
@ -542,22 +545,22 @@ MeterFactory.histogram("test_histogram").tag("hk1", "hv1").steps(1d, 5d, 10d).bu
|
|||
| Plugin | | Agent core |
|
||||
| | | |
|
||||
+-----|-------+ +---------|--------+
|
||||
| |
|
||||
| |
|
||||
| Build or operate +-+
|
||||
+------------------------> |-|
|
||||
| |
|
||||
| |
|
||||
| Build or operate +-+
|
||||
+------------------------> |-|
|
||||
| |-]
|
||||
| |-|
|
||||
| |-|
|
||||
| |-|
|
||||
| |-|
|
||||
| <--------------------------|
|
||||
| +-+
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
+ +
|
||||
| |-|
|
||||
| |-|
|
||||
| |-|
|
||||
| <--------------------------|
|
||||
| +-+
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
+ +
|
||||
```
|
||||
|
||||
#### meterItems
|
||||
|
|
|
|||
|
|
@ -42,6 +42,8 @@ spans:
|
|||
value: POST
|
||||
- key: url
|
||||
value: {{ notEmpty .value }}
|
||||
- key: http.status_code
|
||||
value: '200'
|
||||
{{- end }}
|
||||
logs: []
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -36,6 +36,8 @@ spans:
|
|||
value: POST
|
||||
- key: url
|
||||
value: {{ notEmpty .value }}
|
||||
- key: http.status_code
|
||||
value: '200'
|
||||
{{- end }}
|
||||
logs: []
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/activemq-scenario/case/activemq'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- segmentId: not null
|
||||
spans:
|
||||
|
|
|
|||
|
|
@ -208,6 +208,7 @@ segmentItems:
|
|||
- {key: traceID, value: not null}
|
||||
- {key: segmentID, value: not null}
|
||||
- {key: spanID, value: not null}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'true'
|
||||
refs:
|
||||
- {parentEndpoint: /app, networkAddress: '127.0.0.1:8080', refType: CrossProcess,
|
||||
|
|
@ -230,6 +231,7 @@ segmentItems:
|
|||
- {key: url, value: 'http://localhost:8080/apm-toolkit-trace-scenario/case/asyncVisit/callable'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: correlation, value: correlationValueTest}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: Thread/org.apache.skywalking.apm.toolkit.trace.CallableWrapper/call,
|
||||
networkAddress: 'localhost:8080', refType: CrossProcess, parentSpanId: 1,
|
||||
|
|
@ -251,6 +253,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/apm-toolkit-trace-scenario/case/asyncVisit/runnable'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'true'
|
||||
- operationName: Thread/org.apache.skywalking.apm.toolkit.trace.RunnableWrapper/run
|
||||
parentSpanId: -1
|
||||
|
|
@ -282,6 +285,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/apm-toolkit-trace-scenario/case/asyncVisit/callable'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'true'
|
||||
- operationName: Thread/org.apache.skywalking.apm.toolkit.trace.CallableWrapper/call
|
||||
parentSpanId: -1
|
||||
|
|
@ -314,6 +318,7 @@ segmentItems:
|
|||
- {key: url, value: 'http://localhost:8080/apm-toolkit-trace-scenario/case/asyncVisit/runnable'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: correlation, value: correlationValueTest}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: Thread/org.apache.skywalking.apm.toolkit.trace.RunnableWrapper/run,
|
||||
networkAddress: 'localhost:8080', refType: CrossProcess, parentSpanId: 1,
|
||||
|
|
@ -335,6 +340,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/apm-toolkit-trace-scenario/case/asyncVisit/supplier'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'true'
|
||||
- operationName: Thread/org.apache.skywalking.apm.toolkit.trace.SupplierWrapper/get
|
||||
parentSpanId: -1
|
||||
|
|
@ -367,6 +373,7 @@ segmentItems:
|
|||
- {key: url, value: 'http://localhost:8080/apm-toolkit-trace-scenario/case/asyncVisit/supplier'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: correlation, value: correlationValueTest}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: Thread/org.apache.skywalking.apm.toolkit.trace.SupplierWrapper/get,
|
||||
networkAddress: 'localhost:8080', refType: CrossProcess, parentSpanId: 1,
|
||||
|
|
@ -388,6 +395,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/apm-toolkit-trace-scenario/case/asyncVisit/consumer'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'true'
|
||||
- operationName: Thread/org.apache.skywalking.apm.toolkit.trace.ConsumerWrapper/accept
|
||||
parentSpanId: -1
|
||||
|
|
@ -420,6 +428,7 @@ segmentItems:
|
|||
- {key: url, value: 'http://localhost:8080/apm-toolkit-trace-scenario/case/asyncVisit/function'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: correlation, value: correlationValueTest}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: Thread/org.apache.skywalking.apm.toolkit.trace.FunctionWrapper/apply,
|
||||
networkAddress: 'localhost:8080', refType: CrossProcess, parentSpanId: 1,
|
||||
|
|
@ -441,6 +450,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/apm-toolkit-trace-scenario/case/asyncVisit/function'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'true'
|
||||
- operationName: Thread/org.apache.skywalking.apm.toolkit.trace.FunctionWrapper/apply
|
||||
parentSpanId: -1
|
||||
|
|
@ -473,6 +483,7 @@ segmentItems:
|
|||
- {key: url, value: 'http://localhost:8080/apm-toolkit-trace-scenario/case/asyncVisit/consumer'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: correlation, value: correlationValueTest}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: Thread/org.apache.skywalking.apm.toolkit.trace.ConsumerWrapper/accept,
|
||||
networkAddress: 'localhost:8080', refType: CrossProcess, parentSpanId: 1,
|
||||
|
|
|
|||
|
|
@ -69,4 +69,5 @@ segmentItems:
|
|||
value: |-
|
||||
q1=[v1]
|
||||
chinese=[中文]
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -65,4 +65,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/greet/skywalking'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/asynchttpclient/case'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- segmentId: not null
|
||||
spans:
|
||||
- operationName: GET:/asynchttpclient/back
|
||||
|
|
@ -64,7 +65,8 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/asynchttpclient/back'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: GET:/asynchttpclient/case, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not null,
|
||||
parentService: asynchttpclient-scenario, traceId: not null}
|
||||
parentService: asynchttpclient-scenario, traceId: not null}
|
||||
|
|
|
|||
|
|
@ -63,4 +63,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/avro-scenario/case/avro-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -60,4 +60,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/baidu-brpc-scenario/case/brpc'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -46,4 +46,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/canal-scenario/case/canal-case'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -428,4 +428,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/cassandra-java-driver-3.x-scenario/case/cassandra'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/clickhouse-scenario/case/healthCheck'}
|
||||
- {key: http.method, value: HEAD}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- segmentId: not null
|
||||
spans:
|
||||
- operationName: ClickHouse/JDBI/Statement/executeQuery
|
||||
|
|
@ -52,6 +53,7 @@ segmentItems:
|
|||
- {key: db.type, value: sql}
|
||||
- {key: db.instance, value: system}
|
||||
- {key: db.statement, value: 'select timezone(), version()'}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: ClickHouse/JDBI/Statement/executeQuery
|
||||
operationId: 0
|
||||
parentSpanId: 0
|
||||
|
|
@ -68,6 +70,7 @@ segmentItems:
|
|||
- {key: db.type, value: sql}
|
||||
- {key: db.instance, value: system}
|
||||
- {key: db.statement, value: SELECT * FROM clusters}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: ClickHouse/JDBI/Statement/execute
|
||||
operationId: 0
|
||||
parentSpanId: 0
|
||||
|
|
@ -84,6 +87,7 @@ segmentItems:
|
|||
- {key: db.type, value: sql}
|
||||
- {key: db.instance, value: system}
|
||||
- {key: db.statement, value: SELECT 1}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: ClickHouse/JDBI/Connection/close
|
||||
operationId: 0
|
||||
parentSpanId: 0
|
||||
|
|
@ -116,6 +120,7 @@ segmentItems:
|
|||
- {key: db.type, value: sql}
|
||||
- {key: db.instance, value: system}
|
||||
- {key: db.statement, value: 'select timezone(), version()'}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: ClickHouse/JDBI/PreparedStatement/executeQuery
|
||||
operationId: 0
|
||||
parentSpanId: 0
|
||||
|
|
@ -132,6 +137,7 @@ segmentItems:
|
|||
- {key: db.type, value: sql}
|
||||
- {key: db.instance, value: system}
|
||||
- {key: db.statement, value: SELECT * FROM clusters}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: ClickHouse/JDBI/Statement/execute
|
||||
operationId: 0
|
||||
parentSpanId: 0
|
||||
|
|
@ -148,6 +154,7 @@ segmentItems:
|
|||
- {key: db.type, value: sql}
|
||||
- {key: db.instance, value: system}
|
||||
- {key: db.statement, value: SELECT 1}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: ClickHouse/JDBI/Connection/close
|
||||
operationId: 0
|
||||
parentSpanId: 0
|
||||
|
|
@ -179,4 +186,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/clickhouse-scenario/case/clickhouse-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
meterItems: []
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/correlation-autotag-scenario/case/healthCheck'}
|
||||
- {key: http.method, value: HEAD}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- segmentId: 78a0cdef42a74b4ba80b48bf72b8558d.37.16042096947740000
|
||||
spans:
|
||||
- operationName: Greeter.sayHello
|
||||
|
|
@ -62,6 +63,7 @@ segmentItems:
|
|||
- {key: http.method, value: GET}
|
||||
- {key: autotag1, value: '1'}
|
||||
- {key: autotag2, value: '1'}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- segmentId: not null
|
||||
spans:
|
||||
- operationName: Greeter.sayHello
|
||||
|
|
@ -282,4 +284,3 @@ segmentItems:
|
|||
parentServiceInstance: not null, parentService: correlation-autotag-scenario,
|
||||
traceId: not null}
|
||||
meterItems: []
|
||||
|
||||
|
|
|
|||
|
|
@ -188,4 +188,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/customize-scenario/case/customize'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -83,4 +83,5 @@ segmentItems:
|
|||
skipAnalysis: false
|
||||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/cxf-scenario/case/cxf-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
|
|
|
|||
|
|
@ -221,6 +221,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/dbcp-2.x-scenario/case/dbcp-2.x-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
meterItems:
|
||||
- serviceName: dbcp-2.x-scenario
|
||||
meterSize: 12
|
||||
|
|
|
|||
|
|
@ -203,6 +203,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/druid-1.x-scenario/case/druid-1.x-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
meterItems:
|
||||
- serviceName: druid-1.x-scenario
|
||||
meterSize: 14
|
||||
|
|
|
|||
|
|
@ -64,4 +64,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/dubbo-2.5.x-scenario/case/dubbo'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -67,4 +67,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/dubbo-2.7.x-scenario/case/dubbo'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -111,4 +111,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/dubbo-3.x-scenario/case/dubbo'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -108,4 +108,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/ehcache-2.x-scenario/case/ehcache'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/elasticjob-2.x-scenario/case/call'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: ElasticJob/org.apache.skywalking.apm.testcase.elasticjob.job.DemoSimpleJob, networkAddress: 'localhost:8080', refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not null, parentService: not null, traceId: not null}
|
||||
- segmentId: not null
|
||||
|
|
@ -51,6 +52,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: http.method, value: GET}
|
||||
- {key: url, value: 'http://localhost:8080/elasticjob-2.x-scenario/case/call'}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: ElasticJob/org.apache.skywalking.apm.testcase.elasticjob.job.DemoSimpleJob
|
||||
parentSpanId: -1
|
||||
spanId: 0
|
||||
|
|
@ -67,4 +69,4 @@ segmentItems:
|
|||
- {key: item, value: '0'}
|
||||
- {key: taskId, value: not null}
|
||||
- {key: shardingTotalCount, value: '1'}
|
||||
- {key: shardingItemParameters, value: '{0=test}'}
|
||||
- {key: shardingItemParameters, value: '{0=test}'}
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: http.method, value: GET}
|
||||
- {key: url, value: 'http://localhost:8080/elasticjob-3.x-scenario/case/ping'}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: ElasticJob/simpleJob
|
||||
parentSpanId: -1
|
||||
spanId: 0
|
||||
|
|
@ -49,4 +50,4 @@ segmentItems:
|
|||
- {key: item, value: '0'}
|
||||
- {key: shardingTotalCount, value: '1'}
|
||||
- {key: taskId, value: not null}
|
||||
- {key: shardingItemParameters, value: '{0=Beijing}'}
|
||||
- {key: shardingItemParameters, value: '{0=Beijing}'}
|
||||
|
|
|
|||
|
|
@ -145,4 +145,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/elasticsearch-case/case/elasticsearch'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -293,4 +293,5 @@ segmentItems:
|
|||
tags:
|
||||
- { key: url, value: 'http://localhost:8080/elasticsearch-case/case/elasticsearch' }
|
||||
- { key: http.method, value: GET }
|
||||
skipAnalysis: 'false'
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -320,4 +320,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/elasticsearch-case/case/elasticsearch'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -150,4 +150,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/elasticsearch-case/case/elasticsearch'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/exception-checker-spring/case/healthCheck'}
|
||||
- {key: http.method, value: HEAD}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- segmentId: not null
|
||||
spans:
|
||||
- operationName: test.apache.skywalking.apm.testcase.exceptionchecker.service.TestService.testAnnotatedException
|
||||
|
|
@ -139,3 +140,4 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/exception-checker-spring/case/exceptionchecker'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
|
|
|
|||
|
|
@ -123,4 +123,4 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/exception-checker-tomcat-scenario/case/exceptionchecker'}
|
||||
- {key: http.method, value: GET}
|
||||
|
||||
- {key: http.status_code, value: '200'}
|
||||
|
|
|
|||
|
|
@ -128,3 +128,4 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/fastjson-scenario/case/fastjson-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/feign-scenario/create/'}
|
||||
- {key: http.method, value: POST}
|
||||
- {key: http.status_code, value: '201'}
|
||||
refs:
|
||||
- {parentEndpoint: GET:/feign-scenario/case/feign-scenario, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -52,6 +53,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/feign-scenario/get/1'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: GET:/feign-scenario/case/feign-scenario, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 2, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -72,6 +74,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/feign-scenario/update/1'}
|
||||
- {key: http.method, value: PUT}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: GET:/feign-scenario/case/feign-scenario, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 3, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -92,6 +95,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/feign-scenario/modify/1'}
|
||||
- {key: http.method, value: PUT}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: GET:/feign-scenario/case/feign-scenario, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 4, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -112,6 +116,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/feign-scenario/delete/1'}
|
||||
- {key: http.method, value: DELETE}
|
||||
- {key: http.status_code, value: '204'}
|
||||
refs:
|
||||
- {parentEndpoint: GET:/feign-scenario/case/feign-scenario, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 5, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -133,6 +138,7 @@ segmentItems:
|
|||
- {key: http.method, value: POST}
|
||||
- {key: url, value: 'http://localhost:8080/feign-scenario/create/'}
|
||||
- {key: http.body, value: '{"id": "1", "userName": "test"}'}
|
||||
- {key: http.status_code, value: '201'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: /feign-scenario/get/{id}
|
||||
parentSpanId: 0
|
||||
|
|
@ -147,6 +153,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: http.method, value: GET}
|
||||
- {key: url, value: 'http://localhost:8080/feign-scenario/get/1'}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: /feign-scenario/update/{id}
|
||||
parentSpanId: 0
|
||||
|
|
@ -162,6 +169,7 @@ segmentItems:
|
|||
- {key: http.method, value: PUT}
|
||||
- {key: url, value: 'http://localhost:8080/feign-scenario/update/1'}
|
||||
- {key: http.body, value: '{"id": "1", "userName": "testA"}'}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: /feign-scenario/modify/{id}
|
||||
parentSpanId: 0
|
||||
|
|
@ -177,6 +185,7 @@ segmentItems:
|
|||
- {key: http.method, value: PUT}
|
||||
- {key: url, value: 'http://localhost:8080/feign-scenario/modify/1'}
|
||||
- {key: http.body, value: testA}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: /feign-scenario/delete/{id}
|
||||
parentSpanId: 0
|
||||
|
|
@ -191,6 +200,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: http.method, value: DELETE}
|
||||
- {key: url, value: 'http://localhost:8080/feign-scenario/delete/1'}
|
||||
- {key: http.status_code, value: '204'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: GET:/feign-scenario/case/feign-scenario
|
||||
parentSpanId: -1
|
||||
|
|
@ -205,4 +215,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/feign-scenario/case/feign-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -60,4 +60,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/finagle-17.10.x-scenario/case/finagle'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -60,4 +60,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/finagle-6.44.x-scenario/case/finagle'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: not null}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: SpringCloudGateway/RoutingFilter, networkAddress: 'localhost:18070',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: not null}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: SpringCloudGateway/RoutingFilter, networkAddress: 'localhost:18070',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -104,7 +105,7 @@ segmentItems:
|
|||
- { parentEndpoint: '/provider/timeout/error', networkAddress: '', refType: CrossThread,
|
||||
parentSpanId: 0, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
null, parentService: not null, traceId: not null }
|
||||
skipAnalysis: 'false'
|
||||
skipAnalysis: 'false'
|
||||
- segmentId: not null
|
||||
spans:
|
||||
- operationName: SpringCloudGateway/sendRequest
|
||||
|
|
@ -151,4 +152,4 @@ segmentItems:
|
|||
- { key: url, value: 'http://localhost:8080/provider/b/testcase' }
|
||||
- { key: http.method, value: GET }
|
||||
- { key: http.status_code, value: '200' }
|
||||
skipAnalysis: 'false'
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -52,6 +52,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: not null}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: SpringCloudGateway/RoutingFilter, networkAddress: 'localhost:18070',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
|
|||
|
|
@ -84,4 +84,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/graphql-scenario/case/graphql'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -84,4 +84,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/graphql-scenario/case/graphql'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -84,4 +84,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/graphql-scenario/case/graphql'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -84,4 +84,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/graphql-scenario/case/graphql'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -101,5 +101,6 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8888/case/generic-call'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
|
||||
meterItems: []
|
||||
meterItems: []
|
||||
|
|
|
|||
|
|
@ -57,4 +57,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/gson-scenario/case/gson-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -117,4 +117,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/guava-cache-scenario/case/guava'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/guava-eventbus-scenario/case/guava-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- segmentId: not null
|
||||
spans:
|
||||
- operationName: Guava/EventBus/org.apache.skywalking.apm.testcase.guava.eventbus.service.SubscriberService/consumer
|
||||
|
|
@ -65,4 +66,4 @@ segmentItems:
|
|||
refType: CrossThread, parentSpanId: 0, parentTraceSegmentId: not null,
|
||||
parentServiceInstance: not null, parentService: guava-eventbus-scenario,
|
||||
traceId: not null }
|
||||
meterItems: []
|
||||
meterItems: []
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/h2-scenario/case/h2-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
meterItems:
|
||||
- serviceName: h2-scenario
|
||||
|
|
|
|||
|
|
@ -89,3 +89,4 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/hbase-scenario/case/hbase-case'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
|
|
|
|||
|
|
@ -203,6 +203,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/hikaricp-scenario/case/hikaricp-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
meterItems:
|
||||
- serviceName: hikaricp-scenario
|
||||
meterSize: 15
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/httpasyncclient/case/httpasyncclient'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- segmentId: not null
|
||||
spans:
|
||||
|
|
@ -48,6 +49,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://127.0.0.1:8080/httpasyncclient/back'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- segmentId: not null
|
||||
spans:
|
||||
|
|
@ -58,12 +60,13 @@ segmentItems:
|
|||
startTime: nq 0
|
||||
endTime: nq 0
|
||||
componentId: 26
|
||||
isError: false
|
||||
isError: true
|
||||
spanType: Exit
|
||||
peer: 127.0.0.1:8080
|
||||
tags:
|
||||
- {key: url, value: 'http://127.0.0.1:8080/httpasyncclient/back'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: httpasyncclient/local
|
||||
parentSpanId: -1
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ segmentItems:
|
|||
value: |-
|
||||
q1=[v1]
|
||||
chinese=[中文]
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: GET:/httpclient-3.x-scenario/case/httpclient, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -57,6 +58,7 @@ segmentItems:
|
|||
- {key: url, value: 'http://localhost:8080/httpclient-3.x-scenario/case/context-propagate?q1=v1&chinese=%e4%b8%ad%e6%96%87'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.params, value: q1=v1&chinese=%e4%b8%ad%e6%96%87}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: GET:/httpclient-3.x-scenario/case/httpclient
|
||||
parentSpanId: -1
|
||||
|
|
@ -75,4 +77,5 @@ segmentItems:
|
|||
value: |-
|
||||
q1=[v1]
|
||||
chinese=[中文]
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/httpclient-4.3.x-scenario/case/context-propagate'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: GET:/httpclient-4.3.x-scenario/case/httpclient, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -52,6 +53,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/httpclient-4.3.x-scenario/case/context-propagate'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: GET:/httpclient-4.3.x-scenario/case/httpclient
|
||||
parentSpanId: -1
|
||||
|
|
@ -66,4 +68,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/httpclient-4.3.x-scenario/case/httpclient'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://127.0.0.1:8080/httpclient-5.x/back'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: httpasyncclient/local, networkAddress: '127.0.0.1:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -52,6 +53,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://127.0.0.1:8080/httpclient-5.x/back'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: httpasyncclient/local
|
||||
parentSpanId: -1
|
||||
|
|
@ -83,6 +85,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://127.0.0.1:8080/httpclient-5.x/case/asyncGet'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: GET:/httpclient-5.x/case/get, networkAddress: '127.0.0.1:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -103,6 +106,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://127.0.0.1:8080/httpclient-5.x/case/asyncGet'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: GET:/httpclient-5.x/case/get
|
||||
parentSpanId: -1
|
||||
|
|
@ -117,4 +121,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://127.0.0.1:8080/httpclient-5.x/case/get'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/hutool-http-5.x-scenario/case/hutool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: GET:/hutool-http-5.x-scenario/case/hutool-http-5.x-scenario, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -67,4 +68,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/hutool-http-5.x-scenario/case/hutool-http-5.x-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -83,4 +83,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/hystrix-scenario/case/hystrix-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ segmentItems:
|
|||
peer: http://influxdb:8086
|
||||
tags:
|
||||
- {key: db.type, value: InfluxDB}
|
||||
- {key: http.status_code, value: '204'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: HEAD:/influxdb-scenario/case/healthCheck
|
||||
parentSpanId: -1
|
||||
|
|
@ -46,6 +47,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/influxdb-scenario/case/healthCheck'}
|
||||
- {key: http.method, value: HEAD}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- segmentId: not null
|
||||
spans:
|
||||
- operationName: InfluxDB/query
|
||||
|
|
@ -62,6 +64,7 @@ segmentItems:
|
|||
- {key: db.type, value: InfluxDB}
|
||||
- {key: db.instance, value: skywalking}
|
||||
- {key: db.statement, value: 'CREATE DATABASE skywalking'}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: InfluxDB/query
|
||||
parentSpanId: 0
|
||||
|
|
@ -77,6 +80,7 @@ segmentItems:
|
|||
- {key: db.type, value: InfluxDB}
|
||||
- {key: db.instance, value: skywalking}
|
||||
- {key: db.statement, value: 'CREATE RETENTION POLICY one_day ON skywalking DURATION 1d REPLICATION 1 DEFAULT'}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: InfluxDB/write
|
||||
parentSpanId: 0
|
||||
|
|
@ -92,6 +96,7 @@ segmentItems:
|
|||
- {key: db.type, value: InfluxDB}
|
||||
- {key: db.instance, value: skywalking}
|
||||
- {key: db.statement, value: not null}
|
||||
- {key: http.status_code, value: '204'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: InfluxDB/query
|
||||
parentSpanId: 0
|
||||
|
|
@ -107,6 +112,7 @@ segmentItems:
|
|||
- {key: db.type, value: InfluxDB}
|
||||
- {key: db.instance, value: skywalking}
|
||||
- {key: db.statement, value: 'SELECT * FROM heartbeat'}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: GET:/influxdb-scenario/case/influxdb-scenario
|
||||
parentSpanId: -1
|
||||
|
|
@ -121,4 +127,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/influxdb-scenario/case/influxdb-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -148,3 +148,4 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/jackson-scenario/case/jackson-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/jdk-http-scenario/case/receiveContext-0'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: GET:/jdk-http-scenario/case/jdk-http-scenario, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -52,6 +53,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: http.method, value: GET}
|
||||
- {key: url, value: 'http://localhost:8080/jdk-http-scenario/case/receiveContext-0'}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: GET:/jdk-http-scenario/case/jdk-http-scenario
|
||||
parentSpanId: -1
|
||||
|
|
@ -66,4 +68,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/jdk-http-scenario/case/jdk-http-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/greet/skywalking'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- segmentId: not null
|
||||
spans:
|
||||
|
|
@ -48,6 +49,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'https://github.com/apache/skywalking'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: Threading/test.apache.skywalking.apm.testcase.jdk.threading.Application$TestController$1/run
|
||||
parentSpanId: -1
|
||||
|
|
@ -79,6 +81,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'https://github.com/apache/skywalking'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- operationName: Threading/test.apache.skywalking.apm.testcase.jdk.threading.Application$TestController$2/call
|
||||
parentSpanId: -1
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/threadpool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: SwRunnableWrapper/http-get-thread, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null,
|
||||
|
|
@ -56,6 +57,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/threadpool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: SwRunnableWrapper/http-get-thread
|
||||
operationId: 0
|
||||
parentSpanId: -1
|
||||
|
|
@ -90,6 +92,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/threadpool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: SwCallableWrapper/http-get-thread, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null,
|
||||
|
|
@ -112,6 +115,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/threadpool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: SwCallableWrapper/http-get-thread
|
||||
operationId: 0
|
||||
parentSpanId: -1
|
||||
|
|
@ -146,6 +150,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/threadpool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: SwRunnableWrapper/http-get-thread, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null,
|
||||
|
|
@ -168,6 +173,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/threadpool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: SwRunnableWrapper/http-get-thread
|
||||
operationId: 0
|
||||
parentSpanId: -1
|
||||
|
|
@ -202,6 +208,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/threadpool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: SwRunnableWrapper/http-get-thread
|
||||
operationId: 0
|
||||
parentSpanId: -1
|
||||
|
|
@ -236,6 +243,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/threadpool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: SwCallableWrapper/http-get-thread, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null,
|
||||
|
|
@ -258,6 +266,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/threadpool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: SwRunnableWrapper/http-get-thread, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null,
|
||||
|
|
@ -280,6 +289,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/threadpool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: SwCallableWrapper/http-get-thread
|
||||
operationId: 0
|
||||
parentSpanId: -1
|
||||
|
|
@ -314,6 +324,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/threadpool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: SwRunnableWrapper/http-get-thread
|
||||
operationId: 0
|
||||
parentSpanId: -1
|
||||
|
|
@ -348,6 +359,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/greet/skywalking'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- segmentId: not null
|
||||
spans:
|
||||
- operationName: GET:/threadpool
|
||||
|
|
@ -365,8 +377,9 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/threadpool'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: SwRunnableWrapper/http-get-thread, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null,
|
||||
parentServiceInstance: not null, parentService: jdk-threadpool-scenario,
|
||||
traceId: not null}
|
||||
traceId: not null}
|
||||
|
|
|
|||
|
|
@ -70,4 +70,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/gson-scenario/case/gson-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -158,4 +158,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/jedis-scenario/case/jedis-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:18080/jettyserver-case/case/receiveContext-0'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: GET:/jettyclient-case/case/jettyclient-case, networkAddress: 'localhost:18080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
|
|
@ -68,4 +69,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/jettyclient-case/case/jettyclient-case'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -17,4 +17,3 @@
|
|||
9.4.8.v20171121
|
||||
9.3.22.v20171030
|
||||
9.2.23.v20171218
|
||||
9.1.6.v20160112
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ segmentItems:
|
|||
value: 'http://localhost:8080/jsonrpc4j-1.x-scenario/case/json-rpc',
|
||||
}
|
||||
- { key: http.method, value: GET }
|
||||
- {key: http.status_code, value: '200'}
|
||||
- segmentId: not null
|
||||
spans:
|
||||
- operationName: /jsonrpc4j-1.x-scenario/path/to/demo-service
|
||||
|
|
|
|||
|
|
@ -145,6 +145,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/kafka-scenario/case/kafka-case'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
- segmentId: not null
|
||||
spans:
|
||||
|
|
@ -183,6 +184,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: http.method, value: GET}
|
||||
- {key: url, value: 'http://localhost:8080/kafka-scenario/case/kafka-thread2-ping'}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- operationName: Kafka/test./Consumer/testGroup2
|
||||
parentSpanId: -1
|
||||
spanId: 0
|
||||
|
|
@ -222,6 +224,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/kafka-scenario/case/kafka-thread2-ping'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
refs:
|
||||
- {parentEndpoint: not null, networkAddress: 'localhost:8080',
|
||||
refType: CrossProcess, parentSpanId: 1, parentTraceSegmentId: not null,
|
||||
|
|
@ -247,4 +250,4 @@ segmentItems:
|
|||
- { parentEndpoint: GET:/case/kafka-case, networkAddress: 'kafka-server:9092', refType: CrossProcess,
|
||||
parentSpanId: 4, parentTraceSegmentId: not null, parentServiceInstance: not
|
||||
null, parentService: 'kafka-scenario', traceId: not null }
|
||||
skipAnalysis: 'false'
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -108,4 +108,5 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/kotlin-coroutine-scenario/case/h2'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -78,5 +78,6 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/kylin-jdbc-2.6.x-3.x-4.x-scenario/case/healthCheck'}
|
||||
- {key: http.method, value: HEAD}
|
||||
- {key: http.status_code, value: '200'}
|
||||
logs: []
|
||||
skipAnalysis: 'false'
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/lettuce-scenario/case/healthCheck'}
|
||||
- {key: http.method, value: HEAD}
|
||||
- {key: http.status_code, value: '200'}
|
||||
- segmentId: not null
|
||||
spans:
|
||||
- operationName: Lettuce/GET
|
||||
|
|
@ -91,3 +92,4 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/lettuce-scenario/case/lettuce-case'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
|
|
|
|||
|
|
@ -109,5 +109,6 @@ segmentItems:
|
|||
tags:
|
||||
- {key: url, value: 'http://localhost:8080/mariadb-scenario/case/mariadb-scenario'}
|
||||
- {key: http.method, value: GET}
|
||||
- {key: http.status_code, value: '200'}
|
||||
logs: []
|
||||
skipAnalysis: 'false'
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue