Starts the Trace forwarding process.
Retry mechanism: If a request fails, the system retries up to 6 times by default. If all retries fail, Trace forwarding is suspended until the request succeeds.
python -m ms_service_profiler.trace [--log-level]
For details about the options, see Options.
Option |
Description |
Required (Yes/No) |
|---|---|---|
--log-level |
Log level. The options are as follows:
|
No |
Start the Trace forwarding process using the default configuration. The command is as follows:
python -m ms_service_profiler.trace
The user who starts Trace forwarding must be the same as the user who starts MindIE Motor, and they must be in the same network namespace (on the same Docker or host).
2025-11-27 18:46:42,737 - 23410 - msServiceProfiler - INFO - Start http/protobuf exporter, endpoint: http://localhost:4318/v1/traces 2025-11-27 18:46:42,737 - 23410 - msServiceProfiler - INFO - Start socket server success, listen addr: OTLP_SOCKET 2025-11-27 18:46:42,737 - 23410 - msServiceProfiler - INFO - Start scheduler task: interval 1s 2025-11-27 18:46:42,738 - 23410 - msServiceProfiler - INFO - Start OTLPForwarderService success, running...