Skip to content

Dynatrace/dynatrace-automation-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dynatrace-automation-tools

Note: If you are reading this in Docker Hub, please check the full documentation in the Github Repo Dynatrace Automation Tools

This CLI allows automating different Dynatrace use-cases to be used with CI/CD or automation platforms. The current implemented use cases:

  1. Site Reliability Guardian Automation
  2. Dynatrace Events

Installation options

To use the CLI you have different deployment options:

Docker container

Use the docker container image from Docker Hub: https://hub.docker.com/repository/docker/dynatraceace/dt-automation-cli. This container is made for CI/CD pipelines, to run it locally you can use the following:

  1. docker run -i -t dynatraceace/dt-automation-cli:latest bash. This will open terminal inside the container where you can use the commands for the CLI like dta -h. Reference for each command is described in the documentation for each use case.

Executable app

Download the CLI executable from the Github repo

For Linux users execute the following:

wget -O dta https://github.com/dynatrace-ace/dynatrace-automation-tools/releases/download/v1.0.0/dta-linux-x64
chmod +rx ./dta
./dta -h

For detail instructions for each use case please refer to the corresponding README file.

Troubleshooting

To collect different a detail log level of the execution please set the environment variables:

  • LOG_LEVEL=verbose
  • LOG_FILE=true

This will output a file with the logs for the CLI in the path logs/logs.log

Contributing and development

For development instructions please check Development