Errors and Warnings:
The plugin notifies GoCD with Error and Warning messages for plugin errors. These messages show up along with GoCD Server’s Errors and Warnings.
Once installed and configured, the plugin starts capturing metrics for events such as agent state change or a build trigger. If the graphs are empty, you will have to wait for these events to occur before you can start seeing analytics data.
Enabling debug level logging can help you troubleshoot an issue with this plugin. To enable debug level logs, edit the file
/etc/default/go-server(for Linux) to add:
export GO_SERVER_SYSTEM_PROPERTIES="$GO_SERVER_SYSTEM_PROPERTIES -Dplugin.com.thoughtworks.gocd.analytics.log.level=debug"
If you’re running the server via
$ GO_SERVER_SYSTEM_PROPERTIES="-Dplugin.com.thoughtworks.gocd.analytics.log.level=debug" ./server.sh
The logs will be available under
Edit the file
config/wrapper-properties.confinside the GoCD Server installation directory (typically
C:\Program Files\Go Server):
# config/wrapper-properties.conf # since the last "wrapper.java.additional" index is 15, we use the next available index. wrapper.java.additional.16=-Dplugin.com.thoughtworks.gocd.analytics.log.level=debug
The logs will be available under the
logsfolder in the GoCD server installation directory.