5.0.0-beta +
In default, SkyWalking agent uses naming service to find all collector addresses. Then connect to gRPC services.
In direct uplink, mean no naming service available or don't work well, set the gRPC addresses in agent directly. The agent uses theses addresses to connect gRPC services.
Agent uplink data through the following network
- VPCs in Cloud
- Internet
- Different subnet.
- IPs and Ports proxy
- Remove
collector.servers
config item. - You can find the following settings in
agent.config
# Collector agent_gRPC/grpc service addresses.
# Secondary address setting, only effect when "collector.servers" is empty.
# By using this, no discovery mechanism provided. The agent only uses these addresses to uplink data.
# Recommend to use this only when collector cluster IPs are unreachable from agent side. Such as:
# 1. Agent and collector cluster are in different VPC in Cloud.
# 2. Agent uplinks data to collector cluster through Internet.
# collector.direct_servers=www.skywalking.service.io
- Set
collector.direct_servers
to a domain name, IP:PORTs, with split by comma(,).