This check monitors your Octopus Deploy deployments through the Datadog Agent. Track information such as average deployment time per environment and deployment failure rate for a project.
Minimum Agent version: 7.63.0
Complete the following steps to install and configure this check on a host-based Agent. For containerized environments, see the Autodiscovery Integration Templates for guidance on applying these instructions.
The Octopus Deploy check is included in the Datadog Agent package. No additional installation is needed.
-
Create an API key on your Octopus Server.
-
Edit the
octopus_deploy.d/conf.yamlfile (located in theconf.d/folder at the root of your Agent's configuration directory) to start collectingoctopus_deployperformance data. See the sample config for all available options.Note: Limit the number of projects you collect data for by configuring one of the
spaces,project_groups, orprojectssections. For example, the following snippet limits collection to at most 10 projects whose names start with 'test':projects: limit: 10 include: - 'test.*'
The Octopus Deploy integration collects two types of logs: deployment logs and server logs.
Deployment logs are gathered from deployment tasks and are useful for debugging failed deployments. To collect deployment logs:
-
Enable log collection in your
datadog.yamlfile:logs_enabled: true
-
Uncomment and edit the logs configuration block in your
octopus_deploy.d/conf.yamlfile. For example:logs: - type: integration source: octopus_deploy
Server logs are diagnostic information from the Octopus Server itself. They can only be collected when the Datadog Agent is running on the same machine as the Octopus Server. To collect server logs:
-
Enable log collection in your
datadog.yamlfile:logs_enabled: true
-
Uncomment and edit the logs configuration block in your
octopus_deploy.d/conf.yamlfile. For example:logs: - type: file path: /OctopusServer/Server/Logs/OctopusServer.txt source: octopus_deploy
Run the Agent's status subcommand and look for octopus_deploy under the Checks section.
See metadata.csv for a list of metrics provided by this integration.
The Octopus Deploy integration does not include events.
The Octopus Deploy integration does not include service checks.
Need help? Contact Datadog support.