Hi, I am new to the community and I am having a few problems to use appdynamics with golang. I followed the tutorial and succefully connected my GO application with the SDK, but I still have a few questions. First of all, do I need to manually insert a business transaction to every external call i wish to observe? For example: func (c userRepository) getAll() { appd.AddBackend("backTest", "DB", map[string]string{"DATABASE": "mongodb",}, false) btHandle := appd.StartBT("database 1", "") ecHandle := appd.StartExitcall(btHandle, "backTest") // calling database if err != nil { appd.AddBTError(btHandle, appd.ErrorLevel(2), "error message", true) } appd.EndExitcall(ecHandle) appd.EndBT(btHandle) return ... } func (c userRepository) getById() { appd.AddBackend("backTest", "DB", map[string]string{"DATABASE": "mongodb",}, false) btHandle := appd.StartBT("database 1", "") ecHandle := appd.StartExitcall(btHandle, "backTest") // calling database again if err != nil { appd.AddBTError(btHandle, appd.ErrorLevel(2), "another error message", true) } appd.EndExitcall(ecHandle) appd.EndBT(btHandle) return ... } And should I do it manually for every external call that i make? (external API, Database, ....) I find it too time consuming it and makes the code longer and more difficult to read. Can anyone tell me if I am using the SDK properly or if there is something that i am missing and could make it simpler?
... View more