Skip to content

Commit 0c79f11

Browse files
committed
add probe id to remotes
1 parent fe19e14 commit 0c79f11

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

e2e/Dockerfile-spp-oap-server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM sourceplusplus/spp-oap-server:0.1.19
1+
FROM sourceplusplus/spp-oap-server:latest
22

33
ADD ./config/spp-platform.crt /skywalking
44
ADD ./config/spp-platform.key /skywalking

e2e/Dockerfile-spp-platform

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM sourceplusplus/spp-platform:0.1.19
1+
FROM sourceplusplus/spp-platform:latest
22

33
ADD ./config/logback.xml /opt/sourceplusplus/config
44
ADD ./config/spp-platform.crt /opt/sourceplusplus/config

e2e/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ services:
5252
- spp-platform
5353
restart: on-failure
5454
environment:
55-
- SW_STORAGE=elasticsearch7
55+
- SW_STORAGE=elasticsearch
5656
- SW_STORAGE_ES_CLUSTER_NODES=es-server:9200
5757
- SPP_PLATFORM_HOST=spp-platform
5858
- SPP_PLATFORM_PORT=5460

sourceplusplus/SourcePlusPlus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,13 @@ def __send_connected(self, eb: EventBus):
122122
def __register_remotes(self, eb, reply_address, status):
123123
eb.unregister_handler(reply_address)
124124
eb.register_handler(
125-
address="spp.probe.command.live-breakpoint-remote",
125+
address="spp.probe.command.live-breakpoint-remote:" + self.probe_config["spp"]["probe_id"],
126126
handler=lambda msg: self.instrument_remote.handle_instrument_command(
127127
LiveInstrumentCommand.from_json(json.dumps(msg["body"])), LiveInstrumentType.BREAKPOINT
128128
)
129129
)
130130
eb.register_handler(
131-
address="spp.probe.command.live-log-remote",
131+
address="spp.probe.command.live-log-remote:" + self.probe_config["spp"]["probe_id"],
132132
handler=lambda msg: self.instrument_remote.handle_instrument_command(
133133
LiveInstrumentCommand.from_json(json.dumps(msg["body"])), LiveInstrumentType.LOG
134134
)

0 commit comments

Comments
 (0)