You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "wu-sheng (via GitHub)" <gi...@apache.org> on 2023/08/09 10:02:38 UTC
[GitHub] [skywalking-go] wu-sheng commented on a diff in pull request #86: Fix redis cluster, ring cluster lead err msg. Add Redis Unit Test
wu-sheng commented on code in PR #86:
URL: https://github.com/apache/skywalking-go/pull/86#discussion_r1288251101
##########
test/plugins/scenarios/go-redisv9/config/excepted.yml:
##########
@@ -18,6 +18,99 @@ segmentItems:
- serviceName: go-redisv9
segmentSize: ge 1
segments:
+ - segmentId: not null
+ spans:
+ - operationName: redis/ping
+ parentSpanId: -1
+ spanId: 0
+ spanLayer: Cache
+ startTime: nq 0
+ endTime: nq 0
+ componentId: 5014
+ isError: false
+ spanType: Exit
+ peer: redis-server:6379
+ skipAnalysis: false
+ tags:
+ - { key: cache.type, value: redis }
+ - { key: cache.op, value: '' }
+ - { key: cache.cmd, value: ping }
+ - { key: cache.key, value: '' }
+ - { key: cache.args, value: not null }
+ - segmentId: not null
+ spans:
+ - operationName: redis/command
+ parentSpanId: -1
+ spanId: 0
+ spanLayer: Cache
+ startTime: nq 0
+ endTime: nq 0
+ componentId: 5014
+ isError: false
+ spanType: Exit
+ peer: redis-server:7001
+ skipAnalysis: false
+ tags:
+ - { key: cache.type, value: redis }
+ - { key: cache.op, value: '' }
+ - { key: cache.cmd, value: command }
+ - { key: cache.key, value: '' }
+ - { key: cache.args, value: 'command: map[]' }
+ - segmentId: not null
+ spans:
+ - operationName: redis/cluster slots
+ parentSpanId: -1
+ spanId: 0
+ spanLayer: Cache
+ startTime: nq 0
+ endTime: nq 0
+ componentId: 5014
+ isError: false
+ spanType: Exit
+ peer: redis-server:7001
+ skipAnalysis: false
+ tags:
+ - { key: cache.type, value: redis }
+ - { key: cache.op, value: '' }
+ - { key: cache.cmd, value: cluster slots }
+ - { key: cache.key, value: slots }
+ - { key: cache.args, value: 'cluster slots: []' }
+ - segmentId: not null
+ spans:
+ - operationName: redis/ping
+ parentSpanId: -1
+ spanId: 0
+ spanLayer: Cache
+ startTime: nq 0
+ endTime: nq 0
+ componentId: 5014
+ isError: false
+ spanType: Exit
+ peer: not null
+ skipAnalysis: false
+ tags:
+ - { key: cache.type, value: redis }
+ - { key: cache.op, value: '' }
+ - { key: cache.cmd, value: ping }
+ - { key: cache.key, value: '' }
+ - { key: cache.args, value: not null }
+ - segmentId: not null
+ spans:
+ - operationName: GET:/health
Review Comment:
It would not. The tool would only check declared, not the exact match.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org