Remove incorrect lettuce db.statement attribute (#4160)
This commit is contained in:
parent
8c8eb3ddea
commit
f24dd6160a
|
@ -37,7 +37,7 @@ final class LettuceDbAttributesExtractor
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String statement(RedisCommand<?, ?, ?> request) {
|
protected String statement(RedisCommand<?, ?, ?> request) {
|
||||||
return request.getType().name();
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -169,7 +169,6 @@ class LettuceAsyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "SET"
|
"${SemanticAttributes.DB_OPERATION.key}" "SET"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "SET"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -212,7 +211,6 @@ class LettuceAsyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "GET"
|
"${SemanticAttributes.DB_OPERATION.key}" "GET"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "GET"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
span(2) {
|
span(2) {
|
||||||
|
@ -276,7 +274,6 @@ class LettuceAsyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "GET"
|
"${SemanticAttributes.DB_OPERATION.key}" "GET"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "GET"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
span(2) {
|
span(2) {
|
||||||
|
@ -329,7 +326,6 @@ class LettuceAsyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "RANDOMKEY"
|
"${SemanticAttributes.DB_OPERATION.key}" "RANDOMKEY"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "RANDOMKEY"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
span(2) {
|
span(2) {
|
||||||
|
@ -386,7 +382,6 @@ class LettuceAsyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "HMSET"
|
"${SemanticAttributes.DB_OPERATION.key}" "HMSET"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "HMSET"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -397,7 +392,6 @@ class LettuceAsyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "HGETALL"
|
"${SemanticAttributes.DB_OPERATION.key}" "HGETALL"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "HGETALL"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -440,7 +434,6 @@ class LettuceAsyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "DEL"
|
"${SemanticAttributes.DB_OPERATION.key}" "DEL"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "DEL"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -485,7 +478,6 @@ class LettuceAsyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "SADD"
|
"${SemanticAttributes.DB_OPERATION.key}" "SADD"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "SADD"
|
|
||||||
"lettuce.command.cancelled" true
|
"lettuce.command.cancelled" true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -511,7 +503,6 @@ class LettuceAsyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "DEBUG"
|
"${SemanticAttributes.DB_OPERATION.key}" "DEBUG"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "DEBUG"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -532,7 +523,6 @@ class LettuceAsyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "SHUTDOWN"
|
"${SemanticAttributes.DB_OPERATION.key}" "SHUTDOWN"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "SHUTDOWN"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -149,7 +149,6 @@ class LettuceSyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "SET"
|
"${SemanticAttributes.DB_OPERATION.key}" "SET"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "SET"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -170,7 +169,6 @@ class LettuceSyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "GET"
|
"${SemanticAttributes.DB_OPERATION.key}" "GET"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "GET"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -191,7 +189,6 @@ class LettuceSyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "GET"
|
"${SemanticAttributes.DB_OPERATION.key}" "GET"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "GET"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -212,7 +209,6 @@ class LettuceSyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "RANDOMKEY"
|
"${SemanticAttributes.DB_OPERATION.key}" "RANDOMKEY"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "RANDOMKEY"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -233,7 +229,6 @@ class LettuceSyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "LPUSH"
|
"${SemanticAttributes.DB_OPERATION.key}" "LPUSH"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "LPUSH"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -254,7 +249,6 @@ class LettuceSyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "HMSET"
|
"${SemanticAttributes.DB_OPERATION.key}" "HMSET"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "HMSET"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -275,7 +269,6 @@ class LettuceSyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "HGETALL"
|
"${SemanticAttributes.DB_OPERATION.key}" "HGETALL"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "HGETALL"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -295,7 +288,6 @@ class LettuceSyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "DEBUG"
|
"${SemanticAttributes.DB_OPERATION.key}" "DEBUG"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "DEBUG"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -315,7 +307,6 @@ class LettuceSyncClientTest extends AgentInstrumentationSpecification {
|
||||||
attributes {
|
attributes {
|
||||||
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
"${SemanticAttributes.DB_SYSTEM.key}" "redis"
|
||||||
"${SemanticAttributes.DB_OPERATION.key}" "SHUTDOWN"
|
"${SemanticAttributes.DB_OPERATION.key}" "SHUTDOWN"
|
||||||
"${SemanticAttributes.DB_STATEMENT.key}" "SHUTDOWN"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue