Skip to content

Commit

Permalink
Update Redis plugin Component Id (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
alonelaval authored and kezhenxu94 committed Aug 3, 2020
1 parent 37e817b commit bfe9822
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion skywalking/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Component(Enum):
Requests = 7002
PyMysql = 7003
Django = 7004
Redis = 7005
Redis = 7


class Layer(Enum):
Expand Down
4 changes: 2 additions & 2 deletions tests/plugin/sw_redis/expected.data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ segmentItems:
value: 'SET'
startTime: gt 0
endTime: gt 0
componentId: 7005
componentId: 7
spanType: Exit
peer: redis:6379
skipAnalysis: false
Expand All @@ -53,7 +53,7 @@ segmentItems:
value: 'GET'
startTime: gt 0
endTime: gt 0
componentId: 7005
componentId: 7
spanType: Exit
peer: redis:6379
skipAnalysis: false
Expand Down
File renamed without changes.

0 comments on commit bfe9822

Please sign in to comment.