This is an automated email from the ASF dual-hosted git repository.
ypg pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-java.git
The following commit(s) were added to refs/heads/main by this push:
new 364a4af4b1 Add
micronauthttpclient,micronauthttpserver,memcached,ehcache,guavacache,jedis,redisson
plugin config properties to agent.config (#402)
364a4af4b1 is described below
commit 364a4af4b1bd2805156d67b802b24a2105e24822
Author: pg.yang <[email protected]>
AuthorDate: Thu Dec 1 22:16:08 2022 +0800
Add
micronauthttpclient,micronauthttpserver,memcached,ehcache,guavacache,jedis,redisson
plugin config properties to agent.config (#402)
---
CHANGES.md | 3 +
.../jedis/v4/AbstractConnectionInterceptor.java | 6 +-
.../apm/plugin/jedis/v4/JedisPluginConfig.java | 188 ++++++++++-----------
apm-sniffer/config/agent.config | 28 +++
.../service-agent/java-agent/configurations.md | 16 +-
.../jedis-4.x-scenario/config/expectedData.yaml | 56 +++---
6 files changed, 165 insertions(+), 132 deletions(-)
diff --git a/CHANGES.md b/CHANGES.md
index 2d45e81d0b..376dbd9ee2 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -14,10 +14,13 @@ Release Notes.
* [Breaking Change] Compatible with 3.x and 4.x RabbitMQ Client, rename
`rabbitmq-5.x-plugin` to `rabbitmq-plugin`
* Polish JDBC plugins to make DBType accurate
* Report the agent version to OAP as an instance attribute
+* Polish jedis-4.x-plugin to change command to lowercase, which is consistent
with jedis-2.x-3.x-plugin
+* Add
micronauthttpclient,micronauthttpserver,memcached,ehcache,guavacache,jedis,redisson
plugin config properties to agent.config
#### Documentation
* Update `Plugin-test.md`, support string operators `start with` and `end with`
+* Polish agent configurations doc to fix type error
diff --git
a/apm-sniffer/apm-sdk-plugin/jedis-plugins/jedis-4.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jedis/v4/AbstractConnectionInterceptor.java
b/apm-sniffer/apm-sdk-plugin/jedis-plugins/jedis-4.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jedis/v4/AbstractConnectionInterceptor.java
index c086f4bd99..79f2f15858 100644
---
a/apm-sniffer/apm-sdk-plugin/jedis-plugins/jedis-4.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jedis/v4/AbstractConnectionInterceptor.java
+++
b/apm-sniffer/apm-sdk-plugin/jedis-plugins/jedis-4.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jedis/v4/AbstractConnectionInterceptor.java
@@ -35,7 +35,7 @@ import java.util.Optional;
public abstract class AbstractConnectionInterceptor implements
InstanceMethodsAroundInterceptor {
- private static final String UNKNOWN = "UNKNOWN";
+ private static final String UNKNOWN = "unknown";
private static final String CACHE_TYPE = "Redis";
@@ -46,7 +46,9 @@ public abstract class AbstractConnectionInterceptor
implements InstanceMethodsAr
if (iterator.hasNext()) {
protocolCommand = iterator.next().toString();
}
- String cmd = protocolCommand == null ? UNKNOWN : protocolCommand;
+ // Use lowercase to make config compatible with jedis-2.x-3.x plugin
+ // Refer to `plugin.jedis.operation_mapping_read`,
`plugin.jedis.operation_mapping_write` config item in agent.config
+ String cmd = protocolCommand == null ? UNKNOWN :
protocolCommand.toLowerCase();
String peer = String.valueOf(objInst.getSkyWalkingDynamicField());
AbstractSpan span = ContextManager.createExitSpan("Jedis/" + cmd,
peer);
span.setComponent(ComponentsDefine.JEDIS);
diff --git
a/apm-sniffer/apm-sdk-plugin/jedis-plugins/jedis-4.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jedis/v4/JedisPluginConfig.java
b/apm-sniffer/apm-sdk-plugin/jedis-plugins/jedis-4.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jedis/v4/JedisPluginConfig.java
index 0337f658eb..2ca6ca34b1 100644
---
a/apm-sniffer/apm-sdk-plugin/jedis-plugins/jedis-4.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jedis/v4/JedisPluginConfig.java
+++
b/apm-sniffer/apm-sdk-plugin/jedis-plugins/jedis-4.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jedis/v4/JedisPluginConfig.java
@@ -50,66 +50,66 @@ public class JedisPluginConfig {
* @see AbstractConnectionInterceptor#parseOperation(String)
*/
public static Set<String> OPERATION_MAPPING_WRITE = new
HashSet<>(Arrays.asList(
- "GETSET",
- "SET",
- "SETBIT",
- "SETEX ",
- "SETNX ",
- "SETRANGE",
- "STRLEN ",
- "MSET",
- "MSETNX ",
- "PSETEX",
- "INCR ",
- "INCRBY ",
- "INCRBYFLOAT",
- "DECR ",
- "DECRBY ",
- "APPEND ",
- "HMSET",
- "HSET",
- "HSETNX ",
- "HINCRBY",
- "HINCRBYFLOAT",
- "HDEL",
- "RPOPLPUSH",
- "RPUSH",
- "RPUSHX",
- "LPUSH",
- "LPUSHX",
- "LREM",
- "LTRIM",
- "LSET",
- "BRPOPLPUSH",
- "LINSERT",
- "SADD",
- "SDIFF",
- "SDIFFstore",
- "SINTERSTORE",
- "SISMEMBER",
- "SREM",
- "SUNION",
- "SUNIONSTORE",
- "SINTER",
- "ZADD",
- "ZINCRBY",
- "ZINTERSTORE",
- "ZRANGE",
- "ZRANGEBYLEX",
- "ZRANGEBYSCORE",
- "ZRANK",
- "ZREM",
- "ZREMRANGEBYLEX",
- "ZREMRANGEBYRANK",
- "ZREMRANGEBYSCORE",
- "ZREVRANGE",
- "ZREVRANGEBYSCORE",
- "ZREVRANK",
- "ZUNIONSTORE",
- "XADD",
- "XDEL",
- "DEL",
- "XTRIM"
+ "getset",
+ "set",
+ "setbit",
+ "setex ",
+ "setnx ",
+ "setrange",
+ "strlen ",
+ "mset",
+ "msetnx ",
+ "psetex",
+ "incr ",
+ "incrby ",
+ "incrbyfloat",
+ "decr ",
+ "decrby ",
+ "append ",
+ "hmset",
+ "hset",
+ "hsetnx ",
+ "hincrby",
+ "hincrbyfloat",
+ "hdel",
+ "rpoplpush",
+ "rpush",
+ "rpushx",
+ "lpush",
+ "lpushx",
+ "lrem",
+ "ltrim",
+ "lset",
+ "brpoplpush",
+ "linsert",
+ "sadd",
+ "sdiff",
+ "sdiffstore",
+ "sinterstore",
+ "sismember",
+ "srem",
+ "sunion",
+ "sunionstore",
+ "sinter",
+ "zadd",
+ "zincrby",
+ "zinterstore",
+ "zrange",
+ "zrangebylex",
+ "zrangebyscore",
+ "zrank",
+ "zrem",
+ "zremrangebylex",
+ "zremrangebyrank",
+ "zremrangebyscore",
+ "zrevrange",
+ "zrevrangebyscore",
+ "zrevrank",
+ "zunionstore",
+ "xadd",
+ "xdel",
+ "del",
+ "xtrim"
));
/**
* Operation represent a cache span is "write" or "read" action ,
and "op"(operation) is tagged with key "cache.op" usually
@@ -118,40 +118,40 @@ public class JedisPluginConfig {
* @see
org.apache.skywalking.apm.agent.core.context.tag.Tags#CACHE_OP
* @see AbstractConnectionInterceptor#parseOperation(String)
*/
- public static Set<String> OPERATION_MAPPING_READ = new
HashSet<>(Arrays.asList("GET",
- "GETRANGE",
- "GETBIT ",
- "MGET",
- "HVALS",
- "HKEYS",
- "HLEN",
- "HEXISTS",
- "HGET",
- "HGETALL",
- "HMGET",
- "BLPOP",
- "BRPOP",
- "LINDEX",
- "LLEN",
- "LPOP",
- "LRANGE",
- "RPOP",
- "SCARD",
- "SRANDMEMBER",
- "SPOP",
- "SSCAN",
- "SMOVE",
- "ZLEXCOUNT",
- "ZSCORE",
- "ZSCAN",
- "ZCARD",
- "ZCOUNT",
- "XGET",
- "GET",
- "XREAD",
- "XLEN",
- "XRANGE",
- "XREVRANGE"
+ public static Set<String> OPERATION_MAPPING_READ = new
HashSet<>(Arrays.asList("get",
+ "getrange",
+ "getbit ",
+ "mget",
+ "hvals",
+ "hkeys",
+ "hlen",
+ "hexists",
+ "hget",
+ "hgetall",
+ "hmget",
+ "blpop",
+ "brpop",
+ "lindex",
+ "llen",
+ "lpop",
+ "lrange",
+ "rpop",
+ "scard",
+ "srandmember",
+ "spop",
+ "sscan",
+ "smove",
+ "zlexcount",
+ "zscore",
+ "zscan",
+ "zcard",
+ "zcount",
+ "xget",
+ "get",
+ "xread",
+ "xlen",
+ "xrange",
+ "xrevrange"
));
}
diff --git a/apm-sniffer/config/agent.config b/apm-sniffer/config/agent.config
index 6c1c94c4c4..629f7f4ad1 100755
--- a/apm-sniffer/config/agent.config
+++ b/apm-sniffer/config/agent.config
@@ -272,3 +272,31 @@
plugin.neo4j.cypher_parameters_max_length=${SW_PLUGIN_NEO4J_CYPHER_PARAMETERS_MA
plugin.neo4j.cypher_body_max_length=${SW_PLUGIN_NEO4J_CYPHER_BODY_MAX_LENGTH:2048}
# If set to a positive number and activate `trace sampler CPU policy plugin`,
the trace would not be collected when agent process CPU usage percent is
greater than `plugin.cpupolicy.sample_cpu_usage_percent_limit`.
plugin.cpupolicy.sample_cpu_usage_percent_limit=${SW_SAMPLE_CPU_USAGE_PERCENT_LIMIT:-1}
+# This config item controls that whether the Micronaut http client plugin
should collect the parameters of the request. Also, activate implicitly in the
profiled trace.
+plugin.micronauthttpclient.collect_http_params=${SW_PLUGIN_MICRONAUTHTTPCLIENT_COLLECT_HTTP_PARAMS:false}
+# This config item controls that whether the Micronaut http server plugin
should collect the parameters of the request. Also, activate implicitly in the
profiled trace.
+plugin.micronauthttpserver.collect_http_params=${SW_PLUGIN_MICRONAUTHTTPSERVER_COLLECT_HTTP_PARAMS:false}
+# Specify which command should be converted to write operation
+plugin.memcached.operation_mapping_write=${SW_PLUGIN_MEMCACHED_OPERATION_MAPPING_WRITE:set,add,replace,append,prepend,cas,delete,touch,incr,decr}
+# Specify which command should be converted to read operation
+plugin.memcached.operation_mapping_read=${SW_PLUGIN_MEMCACHED_OPERATION_MAPPING_READ:get,gets,getAndTouch,getKeys,getKeysWithExpiryCheck,getKeysNoDuplicateCheck}
+# Specify which command should be converted to write operation
+plugin.ehcache.operation_mapping_write=${SW_PLUGIN_EHCACHE_OPERATION_MAPPING_WRITE:tryRemoveImmediately,remove,removeAndReturnElement,removeAll,removeQuiet,removeWithWriter,put,putAll,replace,removeQuiet,removeWithWriter,removeElement,removeAll,putWithWriter,putQuiet,putIfAbsent,putIfAbsent}
+# Specify which command should be converted to read operation
+plugin.ehcache.operation_mapping_read=${SW_PLUGIN_EHCACHE_OPERATION_MAPPING_READ:get,getAll,getQuiet,getKeys,getKeysWithExpiryCheck,getKeysNoDuplicateCheck,releaseRead,tryRead,getWithLoader,getAll,loadAll,getAllWithLoader}
+# Specify which command should be converted to write operation
+plugin.guavacache.operation_mapping_write=${SW_PLUGIN_GUAVACACHE_OPERATION_MAPPING_WRITE:put,putAll,invalidate,invalidateAll,invalidateAll,cleanUp}
+# Specify which command should be converted to read operation
+plugin.guavacache.operation_mapping_read=${SW_PLUGIN_GUAVACACHE_OPERATION_MAPPING_READ:getIfPresent,get,getAllPresent,size}
+# If set to true, the parameters of Redis commands would be collected by Jedis
agent.
+plugin.jedis.trace_redis_parameters=${SW_PLUGIN_JEDIS_TRACE_REDIS_PARAMETERS:false}
+# If set to positive number and plugin.jedis.trace_redis_parameters is set to
true, Redis command parameters would be collected and truncated to this length.
+plugin.jedis.redis_parameter_max_length=${SW_PLUGIN_JEDIS_REDIS_PARAMETER_MAX_LENGTH:128}
+# Specify which command should be converted to write operation
+plugin.jedis.operation_mapping_write=${SW_PLUGIN_JEDIS_OPERATION_MAPPING_WRITE:getset,set,setbit,setex,setnx,setrange,strlen,mset,msetnx,psetex,incr,incrby,incrbyfloat,decr,decrby,append,hmset,hset,hsetnx,hincrby,hincrbyfloat,hdel,rpoplpush,rpush,rpushx,lpush,lpushx,lrem,ltrim,lset,brpoplpush,linsert,sadd,sdiff,sdiffstore,sinterstore,sismember,srem,sunion,sunionstore,sinter,zadd,zincrby,zinterstore,zrange,zrangebylex,zrangebyscore,zrank,zrem,zremrangebylex,zremrangebyrank,zremrangebyscor
[...]
+# Specify which command should be converted to read operation
+plugin.jedis.operation_mapping_read=${SW_PLUGIN_JEDIS_OPERATION_MAPPING_READ:getrange,getbit,mget,hvals,hkeys,hlen,hexists,hget,hgetall,hmget,blpop,brpop,lindex,llen,lpop,lrange,rpop,scard,srandmember,spop,sscan,smove,zlexcount,zscore,zscan,zcard,zcount,xget,get,xread,xlen,xrange,xrevrange}
+# If set to true, the parameters of Redis commands would be collected by
Redisson agent.
+plugin.redisson.trace_redis_parameters=${SW_PLUGIN_REDISSON_TRACE_REDIS_PARAMETERS:false}
+# If set to positive number and plugin.redisson.trace_redis_parameters is set
to true, Redis command parameters would be collected and truncated to this
length.
+plugin.redisson.redis_parameter_max_length=${SW_PLUGIN_REDISSON_REDIS_PARAMETER_MAX_LENGTH:128}
diff --git a/docs/en/setup/service-agent/java-agent/configurations.md
b/docs/en/setup/service-agent/java-agent/configurations.md
index 7f3f3fed47..9b6f662b5d 100644
--- a/docs/en/setup/service-agent/java-agent/configurations.md
+++ b/docs/en/setup/service-agent/java-agent/configurations.md
@@ -105,8 +105,8 @@ This is the properties list supported in
`agent/config/agent.config`.
| `plugin.lettuce.redis_parameter_max_length` | If set to
positive number and `plugin.lettuce.trace_redis_parameters` is set to `true`,
Redis command parameters would be collected and truncated to this length.
[...]
| `plugin.jedis.trace_redis_parameters` | If set to true,
the parameters of Redis commands would be collected by Jedis agent.
[...]
| `plugin.jedis.redis_parameter_max_length` | If set to
positive number and `plugin.jedis.trace_redis_parameters` is set to `true`,
Redis command parameters would be collected and truncated to this length.
[...]
-| `plugin.jedis.operation_mapping_write` | Specify which
command should be converted to `write` operation
[...]
-| `plugin.jedis.operation_mapping_read ` | Specify which
command should be converted to `read` operation
[...]
+| `plugin.jedis.operation_mapping_write` | Specify which
command should be converted to `write` operation
[...]
+| `plugin.jedis.operation_mapping_read ` | Specify which
command should be converted to `read` operation
[...]
| `plugin.redisson.trace_redis_parameters` | If set to true,
the parameters of Redis commands would be collected by Redisson agent.
[...]
| `plugin.redisson.redis_parameter_max_length` | If set to
positive number and `plugin.redisson.trace_redis_parameters` is set to `true`,
Redis command parameters would be collected and truncated to this length.
[...]
| `plugin.neo4j.trace_cypher_parameters` | If set to true,
the parameters of the cypher would be collected.
[...]
@@ -115,12 +115,12 @@ This is the properties list supported in
`agent/config/agent.config`.
| `plugin.cpupolicy.sample_cpu_usage_percent_limit` | If set to a
positive number and activate `trace sampler CPU policy plugin`, the trace would
not be collected when agent process CPU usage percent is greater than
`plugin.cpupolicy.sample_cpu_usage_percent_limit`.
[...]
| `plugin.micronauthttpclient.collect_http_params` | This config item
controls that whether the Micronaut http client plugin should collect the
parameters of the request. Also, activate implicitly in the profiled trace.
[...]
| `plugin.micronauthttpserver.collect_http_params` | This config item
controls that whether the Micronaut http server plugin should collect the
parameters of the request. Also, activate implicitly in the profiled trace.
[...]
-| `plugin.memcached.operation_mapping_write` | Specify which
command should be converted to `write` operation
[...]
-| `plugin.memcached.operation_mapping_read` | Specify which
command should be converted to `read` operation
[...]
-| `plugin.ehcache.operation_mapping_write` | Specify which
command should be converted to `write` operation
[...]
-| `plugin.ehcache.operation_mapping_read` | Specify which
command should be converted to `read` operation
[...]
-| `plugin.guavacache.operation_mapping_write` | Specify which
command should be converted to `write` operation
[...]
-| `plugin.guavacache.operation_mapping_read` | Specify which
command should be converted to `read` operation
[...]
+| `plugin.memcached.operation_mapping_write` | Specify which
command should be converted to `write` operation
[...]
+| `plugin.memcached.operation_mapping_read` | Specify which
command should be converted to `read` operation
[...]
+| `plugin.ehcache.operation_mapping_write` | Specify which
command should be converted to `write` operation
[...]
+| `plugin.ehcache.operation_mapping_read` | Specify which
command should be converted to `read` operation
[...]
+| `plugin.guavacache.operation_mapping_write` | Specify which
command should be converted to `write` operation
[...]
+| `plugin.guavacache.operation_mapping_read` | Specify which
command should be converted to `read` operation
[...]
# Reset Collection/Map type configurations as empty collection.
diff --git a/test/plugin/scenarios/jedis-4.x-scenario/config/expectedData.yaml
b/test/plugin/scenarios/jedis-4.x-scenario/config/expectedData.yaml
index f75d2cb5f1..281a0fcb3b 100644
--- a/test/plugin/scenarios/jedis-4.x-scenario/config/expectedData.yaml
+++ b/test/plugin/scenarios/jedis-4.x-scenario/config/expectedData.yaml
@@ -20,7 +20,7 @@ segmentItems:
segments:
- segmentId: not null
spans:
- - operationName: Jedis/ECHO
+ - operationName: Jedis/echo
operationId: 0
parentSpanId: 0
spanId: 1
@@ -34,9 +34,9 @@ segmentItems:
skipAnalysis: false
tags:
- {key: cache.key, value: Test}
- - {key: cache.cmd, value: ECHO}
+ - {key: cache.cmd, value: echo}
- {key: cache.type, value: Redis}
- - operationName: Jedis/SET
+ - operationName: Jedis/set
operationId: 0
parentSpanId: 0
spanId: 2
@@ -50,10 +50,10 @@ segmentItems:
skipAnalysis: false
tags:
- {key: cache.key, value: a}
- - {key: cache.cmd, value: SET}
+ - {key: cache.cmd, value: set}
- {key: cache.type, value: Redis}
- {key: cache.op, value: write}
- - operationName: Jedis/GET
+ - operationName: Jedis/get
operationId: 0
parentSpanId: 0
spanId: 3
@@ -67,10 +67,10 @@ segmentItems:
skipAnalysis: false
tags:
- {key: cache.key, value: a}
- - {key: cache.cmd, value: GET}
+ - {key: cache.cmd, value: get}
- {key: cache.type, value: Redis}
- {key: cache.op, value: read}
- - operationName: Jedis/DEL
+ - operationName: Jedis/del
operationId: 0
parentSpanId: 0
spanId: 4
@@ -84,10 +84,10 @@ segmentItems:
skipAnalysis: false
tags:
- {key: cache.key, value: a}
- - {key: cache.cmd, value: DEL}
+ - {key: cache.cmd, value: del}
- {key: cache.type, value: Redis}
- {key: cache.op, value: write}
- - operationName: Jedis/HSET
+ - operationName: Jedis/hset
operationId: 0
parentSpanId: 0
spanId: 5
@@ -101,10 +101,10 @@ segmentItems:
skipAnalysis: false
tags:
- {key: cache.key, value: a}
- - {key: cache.cmd, value: HSET}
+ - {key: cache.cmd, value: hset}
- {key: cache.type, value: Redis}
- {key: cache.op, value: write}
- - operationName: Jedis/HGET
+ - operationName: Jedis/hget
operationId: 0
parentSpanId: 0
spanId: 6
@@ -118,10 +118,10 @@ segmentItems:
skipAnalysis: false
tags:
- {key: cache.key, value: a}
- - {key: cache.cmd, value: HGET}
+ - {key: cache.cmd, value: hget}
- {key: cache.type, value: Redis}
- {key: cache.op, value: read}
- - operationName: Jedis/HDEL
+ - operationName: Jedis/hdel
operationId: 0
parentSpanId: 0
spanId: 7
@@ -135,10 +135,10 @@ segmentItems:
skipAnalysis: false
tags:
- {key: cache.key, value: a}
- - {key: cache.cmd, value: HDEL}
+ - {key: cache.cmd, value: hdel}
- {key: cache.type, value: Redis}
- {key: cache.op, value: write}
- - operationName: Jedis/MULTI
+ - operationName: Jedis/multi
operationId: 0
parentSpanId: 0
spanId: 8
@@ -151,9 +151,9 @@ segmentItems:
peer: redis-server:6379
skipAnalysis: false
tags:
- - {key: cache.cmd, value: MULTI}
+ - {key: cache.cmd, value: multi}
- {key: cache.type, value: Redis}
- - operationName: Jedis/SET
+ - operationName: Jedis/set
operationId: 0
parentSpanId: 0
spanId: 9
@@ -167,10 +167,10 @@ segmentItems:
skipAnalysis: false
tags:
- {key: cache.key, value: key}
- - {key: cache.cmd, value: SET}
+ - {key: cache.cmd, value: set}
- {key: cache.type, value: Redis}
- {key: cache.op, value: write}
- - operationName: Jedis/EXPIRE
+ - operationName: Jedis/expire
operationId: 0
parentSpanId: 0
spanId: 10
@@ -184,9 +184,9 @@ segmentItems:
skipAnalysis: false
tags:
- {key: cache.key, value: key}
- - {key: cache.cmd, value: EXPIRE}
+ - {key: cache.cmd, value: expire}
- {key: cache.type, value: Redis}
- - operationName: Jedis/EXEC
+ - operationName: Jedis/exec
operationId: 0
parentSpanId: 0
spanId: 11
@@ -199,9 +199,9 @@ segmentItems:
peer: redis-server:6379
skipAnalysis: false
tags:
- - {key: cache.cmd, value: EXEC}
+ - {key: cache.cmd, value: exec}
- {key: cache.type, value: Redis}
- - operationName: Jedis/XADD
+ - operationName: Jedis/xadd
operationId: 0
parentSpanId: 0
spanId: 12
@@ -215,10 +215,10 @@ segmentItems:
skipAnalysis: false
tags:
- {key: cache.key, value: abc}
- - {key: cache.cmd, value: XADD}
+ - {key: cache.cmd, value: xadd}
- {key: cache.type, value: Redis}
- {key: cache.op, value: write}
- - operationName: Jedis/XREAD
+ - operationName: Jedis/xread
operationId: 0
parentSpanId: 0
spanId: 13
@@ -231,10 +231,10 @@ segmentItems:
peer: redis-server:6379
skipAnalysis: false
tags:
- - {key: cache.cmd, value: XREAD}
+ - {key: cache.cmd, value: xread}
- {key: cache.type, value: Redis}
- {key: cache.op, value: read}
- - operationName: Jedis/XDEL
+ - operationName: Jedis/xdel
operationId: 0
parentSpanId: 0
spanId: 14
@@ -248,7 +248,7 @@ segmentItems:
skipAnalysis: false
tags:
- {key: cache.key, value: abc}
- - {key: cache.cmd, value: XDEL}
+ - {key: cache.cmd, value: xdel}
- {key: cache.type, value: Redis}
- {key: cache.op, value: write}
- operationName: GET:/jedis-scenario/case/jedis-scenario