- Documentation
Application Performance Management Plus
User guide
Server monitoring
Integration guide
Integrating log monitoring with Go applications
Integration guide
Integrating log monitoring with Go applications
Integrating log monitoring with Go applications
APMPlus supports log monitoring and provides the following capabilities on collected logs: log list, log search, and single-trace log query. This topic describes how to integrate APMPlus log monitoring with your Go applications by using OpenTelemetry.
You have obtained service-related configuration information, such as service name, appkey, and endpoint.
- Configure LoggerProvider.
tip
For instructions on obtaining and configuring variable values, see the prerequisites.
- Initialize zap and use it to print logs.
- Configure LoggerProvider.
tip
For instructions on obtaining and configuring variable values, see the prerequisites.
- Initialize logrus and use logrus to print logs.
- Configure LoggerProvider.
tip
For instructions on obtaining and configuring variable values, see the prerequisites.
- Initialize slog and use slog to print logs.
After you integrate your Go application with log monitoring, use the OpenTelemetry SDK to report printed logs to APMPlus. You can go to the Server-side Monitoring page to query logs. Supported capabilities include log query and single-trace log details. For details, see Log monitoring. Last updated: 2026.09.20 10:55:53