Preparation

Environment Setup

  1. Install the CANN Toolkit package and ops OPP of the required version in the Ascend NPU environment, and configure CANN environment variables. For details, see CANN Software Installation Guide..
  2. Run the following command to install the environment dependencies:
    pip install opentelemetry-exporter-otlp-proto-grpc==1.33.1
    pip install opentelemetry-exporter-otlp-proto-http==1.33.1
  3. Install and configure MindIE and ensure that MindIE Motor is running properly. For details, see MindIE Installation Guide.
  4. Ensure that the network connection between the Ascend NPU environment where the MindIE Motor service is located and the OTLP collector (such as Jaeger) is stable.

Constraints

msServiceProfiler Trace can forward up to 400 concurrent requests. Exceeding this limit may cause request backlogs; once backlogs exceed 1 million requests, data loss will occur.

Related log information (The following is reported once every hour):

1
2
3
4
# An alarm is generated when the number of backlogged requests exceeds 100,000.
2025-11-26 15:45:59,038 - 4059906 - msServiceProfiler - WARNING - Trace data is being stacked: {Backlog size}
# An alarm for data loss is generated when the number of backlogged requests exceeds 1,000,000.
2025-11-26 15:45:59,522 - 4059906 - msServiceProfiler - WARNING - Trace data queue is full, discarding the oldest data.