13 Dec 2022 04:49 AM
Hi
in a fresh Ubuntu 22 with docker installed.
I am trying to monitor this example in order to validate this documentation
But i am facing some problems. even after reboot the machine, restart the docker, delete the image. i was unable to achieve the monitoring of the image. i know that its monitoring the process but its not monitoring the services.
SO: Ubuntu 22.04.1 LTS
Docker: Docker version 20.10.21, build baeda1f
OneAgent version: 1.255.174.20221209-095004
Do anyone have a valid working example of a api (with the services detected) build in Go that its working with dynatrace ? like in the demo,
i try some of us that we are using without success, i try this
https://github.com/crizstian/golang-api-example
https://github.com/wdrdres3qew5ts21/Example-Golang-REST-API-with-Docker
our last hope to monitor go image was the example 7 and is not working neither.
Logs: https://pastebin.com/fSbmFy1x
Pas: GjNxjTYAL2
any advice would be appreciated
Thank you In advance
14 Dec 2022 11:17 AM
There are a few limitations with go Monitoring, be sure to check out the documentation.
03 Jan 2023 09:47 AM - edited 03 Jan 2023 10:03 AM
Thank you pahofmann
as i said, i just validated all and the app comply with all of them. even i am using a example from google that works if the oneagent its running on the server, but its not working if i am trying to monitor only the image.
the last logs i am getting show me some hints but i cant understand why it stops
========= Agent state DISABLED has changed to true. Current agent.state: MANUALLY_STOPPED ===================
[native] SensorBase: Sensor 'Go.ClientWebRequest': agent initialization unsuccessful
but as i said. i am not getting any advance. our intention its to find a configuration that the agent can work. because in the demo there is a api in docker with go working with the agent
10 Jan 2023 03:24 PM
Does anyone have a template of a Docker image of a api build in go ? that dynatrace can monitor ?