You can use the Go library to send the data to be monitored to the WhaTap agent.
It guides you to the agent configuration for each Go library.