File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -102,13 +102,14 @@ def __init__(self, args: dict = None):
102
102
self .instrument_remote = None
103
103
104
104
def attach (self ):
105
+ probe_config = self .probe_config
105
106
config .init (
106
- agent_collector_backend_services = self . probe_config ["skywalking" ]["collector" ]["backend_service" ],
107
- agent_name = self . probe_config ["skywalking" ]["agent" ]["service_name" ],
108
- agent_authentication = self . probe_config ["skywalking" ]["agent" ].get ("authentication" ),
107
+ agent_collector_backend_services = probe_config ["skywalking" ]["collector" ]["backend_service" ],
108
+ agent_name = probe_config ["skywalking" ]["agent" ]["service_name" ],
109
+ agent_authentication = probe_config ["skywalking" ]["agent" ].get ("authentication" ),
109
110
agent_log_reporter_active = True ,
110
- agent_force_tls = self . probe_config ["spp" ]["ssl_enabled" ],
111
- agent_log_reporter_formatted = self . probe_config ["skywalking" ]["plugin" ]["toolkit" ]["log" ]["transmit_formatted" ]
111
+ agent_force_tls = probe_config ["spp" ]["ssl_enabled" ],
112
+ agent_log_reporter_formatted = probe_config ["skywalking" ]["plugin" ]["toolkit" ]["log" ]["transmit_formatted" ]
112
113
)
113
114
agent .start ()
114
115
You can’t perform that action at this time.
0 commit comments