I'm currently working on a Go application that runs both the OpenTelemetry Collector and Node Exporter using the os/exec
library. Additionally, I've configured my application to run as a Windows Service using the sc create command (sc create myService binPath= "\"X:\myapp.exe"
). Everything works well, except when I stop my Windows service, it only stops the OpenTelemetry process. Could anyone assist me in resolving this issue?
↧
Windows Service Stops OpenTelemetry Collector but Not Node Exporter: Help Needed
↧