Cette page n'est pas encore disponible en français, sa traduction est en cours. Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
Automate developer workflows
Use App Builder to create dynamic, user-friendly forms to collect inputs from developers. Call Datadog’s Actions from your app to initiate API calls to external services, perform custom logic, or data transformations. Orchestrate end-to-end processes of multiple actions using Workflow Automation. Integrate them with Datadog’s Service Catalog to enable dynamic and self-service workflows.
Join the Preview!
Software Templates are in Preview. Complete the form to request access.
To use software templates in Datadog, create a Git repository with the desired template. You can start from scratch or use our quickstart blueprints to learn from an example.
The Scaffold New Service blueprint shows an example of scaffolding a new lambda function from a template. The form captures inputs from a developer that will be passed into the corresponding Git repo.
From the app, customize the form to include the parameters you want to capture from your developers.
Click Save as New App to save the app. This will also create a corresponding templating workflow.
Enter a name, add relevant tags, and define the input parameters you want to collect from users.
Configure the templating workflow:
Use GitHub, Gitlab, or HTTP actions to retrieve your template files.
Use Cookiecutter to generate the project files from the template.
Use the Apply Template action to manipulate your template repository and pass in your input parameters.
Use GitHub, Gitlab, or HTTP actions to upload the project files to the repository.
Save the workflow.
Create the form for your template:
Navigate to Service Mgmt > App Builder and select New App.
Enter a name and description, and use the drag-and-drop editor to create a form that collects the required parameters for your template.
Select New Query, and use the Trigger workflow action to call your templating workflow and pass in the relevant parameters.
Create a Button that submits the form, triggers your workflow, and passes in the parameters for the template.
Save and publish the app.
Run your application and workflow:
Click View App to view the app on a standalone page, or Add to a Dashboard to place the app in a dashboard.
Navigate to Service Mgmt > App Builder, and select your app. Fill out the template form, and click the submit button.
Track the success of the workflow templating process in Workflow Automation.
Available Service Catalog Actions
Below is a comprehensive list of actions available for Service Catalog in Datadog Workflow Automation. Note that this list may evolve as new actions are added.
Templating
“Apply template” to pass in parameters to a set of files
Github
“Create or update file” to create new files
“Edit configuration file” to manipulate YAML or JSON files
“Trigger GitHub Actions workflow run” to initiate a GitHub Action
“Search repositories” to return a list of repositories
“Create pull request” to open a pull request
Retrieve Service Information
“Get service definition” for a single service
“List service definitions” to get all definitions from Datadog Service Catalog
“Get service dependencies” to get a service’s immediate upstream and downstream services
Incident Triage
“Get service PagerDuty on call”
When integrated with other actions, you can trigger workflows based on critical events (for example, execute runbooks).