Rename operation jax-rs.endpoint to jax-rs.request
This commit is contained in:
parent
d877039fa7
commit
0b71c6bbe5
|
@ -22,7 +22,7 @@ import net.bytebuddy.matcher.ElementMatcher;
|
|||
@AutoService(Instrumenter.class)
|
||||
public final class JaxRsAnnotationsInstrumentation extends Instrumenter.Default {
|
||||
|
||||
private static final String JAX_ENDPOINT_OPERATION_NAME = "jax-rs.endpoint";
|
||||
private static final String JAX_ENDPOINT_OPERATION_NAME = "jax-rs.request";
|
||||
|
||||
public JaxRsAnnotationsInstrumentation() {
|
||||
super("jax-rs", "jaxrs", "jax-rs-annotations");
|
||||
|
|
|
@ -26,7 +26,7 @@ class JaxRsAnnotationsInstrumentationTest extends AgentTestRunner {
|
|||
assertTraces(1) {
|
||||
trace(0, 1) {
|
||||
span(0) {
|
||||
operationName "jax-rs.endpoint"
|
||||
operationName "jax-rs.request"
|
||||
resourceName "POST /a"
|
||||
spanType "web"
|
||||
tags {
|
||||
|
@ -58,7 +58,7 @@ class JaxRsAnnotationsInstrumentationTest extends AgentTestRunner {
|
|||
}
|
||||
}
|
||||
span(1) {
|
||||
operationName "jax-rs.endpoint"
|
||||
operationName "jax-rs.request"
|
||||
resourceName name
|
||||
spanType "web"
|
||||
childOf span(0)
|
||||
|
|
Loading…
Reference in New Issue