Symptom

The SAP Business One Web Client is slow, for example when you open a document, run a list view or save. You want to report the issue, and support asks for OpenTelemetry data.

Why OpenTelemetry

OpenTelemetry (OTel) records what happens during a request across the Web Client and the services behind it. A trace shows where the time is spent. Without this data, a performance case usually starts with several rounds of questions.

Prerequisites

  • You use the SAP Business One Web Client.
  • OpenTelemetry is installed and enabled for the Web Client.
  • OpenTelemetry collectors and a visualization tool are installed.

The setup is described in the SAP Business One Administrator's Guide under "Monitoring Performance with OpenTelemetry", in separate versions for SQL Server and SAP HANA.

What to collect

Reproduce the slow action once and attach the following to the case:

  • The trace file trace-<correlationId>-<date>.json
  • The log file logs-<correlationId>-<date>.txt
  • The value of X-B1-CorrelationId for the slow request. Open the browser's developer tools (F12), go to the Network tab, select the slow request and copy the value from its headers. This is the OpenTelemetry trace ID.
  • The Web Client version
  • The time range of the slow behavior, including the time zone
  • A screenshot showing that the PERF_ANA setting is set to otel or all

How to collect and export the data is described in the Administrator's Guide under "Collecting and Exporting Telemetry Data for Performance Analysis".

Tips

  • Reproduce the issue with a single user and a single action, so the trace contains only the slow request.
  • Write down exactly what you clicked and how long it took, compared with how long it normally takes.
  • Collect the data right after reproducing the issue. Older traces may already be overwritten.

Confirm the result

  • The trace file contains the correlation ID you copied from the browser.
  • The time range in your case description matches the time stamps in the trace and the log.