You can define any Service as an Agent by setting
agent attribute to
services: telemetry: agent: true
Communicating with an Agent
You can declare ports that will be available to communicate with an Agent using the
services: telemetry: agent: true ports: - 8125/udp - 8126
Agents will listen on the IP address of the underlying Instance. This means that you can not deploy two Agents on the same Rack that listen on the same port.