Skip to content
play

GitHub Action

Datadog Synthetic

v1.1 Latest version

Datadog Synthetic

play

Datadog Synthetic

A Simple Github Action for Datadog Synthetic API

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Datadog Synthetic

uses: ugurtemiz/datadog-synthetic-action@v1.1

Learn more about this action in ugurtemiz/datadog-synthetic-action

Choose a version

Datadog Synthetic Action

Build Status

The action is created to control syhthetic test. Especially, to pause at night and run at in the day.

Usage

With Certain Public IDs:

- name: Test
  uses: ugurtemiz/datadog-synthetic-action@v1
  with:
    datadog-api-key: ${{secrets.DATADOG_API_KEY}}
    datadog-application-key: ${{secrets.DATADOG_APPLICATION_KEY}}
    public-ids: "a8c-1e3-ghi,4k5-mno-p7r"
    new-status: "live" # or paused

With tags:

- name: Test
  uses: ugurtemiz/datadog-synthetic-action@v1.1
  with:
    datadog-api-key: ${{secrets.DATADOG_API_KEY}}
    datadog-application-key: ${{secrets.DATADOG_APPLICATION_KEY}}
    tags: "myproject,sleep@night"
    new-status: "live" # or paused

Development

Install the dependencies

$ npm install

Before commit your changes

$ npm run pack