Integrating OpenTelemetry Trace and Metric Data
Supported Versions and Requirements
Currently, only the OpenTelemetry Java Agent is supported. Supported Agent versions: 2.0–2.21.
Minimum Collector version: 4.2.0.0, with the Guanyun Collector module enabled.
Preparing Collector Host Resources
The minimum configuration for the host deploying Collector is as follows:
-
Operating System: CentOS 7 and above, Redhat 7 and above, Ubuntu 18 and above
-
CPU: 4 Cores and above
-
Physical Memory: 8GB and above
Currently, in the same deployment environment, only one Collector for integrating OpenTelemetry Trace is supported, and horizontal scaling through multiple Collector instances is not supported.
Integrating OpenTelemetry Trace data will consume more host resources. According to test verification, a Collector deployed on a host with 4 Cores / 8GB can handle approximately 1500 TPS of Trace data traffic.
If the incoming traffic exceeds 1500 TPS, you need to expand the resources of this Collector. We recommend calculating the CPU and memory resources of Collector according to the following formula:
CPU Cores = 4 * Peak TPS in a day / 1500
Memory(GB) = 8 * Peak TPS in a day / 1500
Configuring Network and Port Rules
OpenTelemetry Agent collects data on the host where the application is located and reports the data to Collector. Therefore, you need to ensure network connectivity between the OpenTelemetry Agent host and Collector to ensure normal data collection and transmission.
The following IP addresses and ports are examples. Update them based on your environment before applying the network rules.
| Source Address | Target Address | Target Port | Description |
|---|---|---|---|
| Collector Host | Guanyun Platform | 80 | Installing Collector and uploading data to Guanyun Platform |
| OpenTelemetry Agent Host | Collector Host | 7667 (HTTP) | Receiving data reported by the OpenTelemetry Agent |
Installing Collector
-
Log in to Guanyun Platform, and in the left navigation menu select All Applications > Deployment Status > Collectors Operation.
-
Click Create in the upper-right corner and configure the Collector parameters.

We recommend disabling the APM Collector function to reduce resource contention with OpenTelemetry Trace.
You need to enable the Guanyun Collector function to ingest monitoring data from Zabbix, Prometheus, OpenTelemetry, external data sources, and more.
Install Collector on the target host.