Skip to content

chaspy/autify-datadog-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

autify-datadog-action

GitHub Action to send metrics of Autify to Datadog

Usage

- name: Run autify-datadog-action
  uses: chaspy/autify-datadog-action@main
  with:
    autify_personal_access_token: ${{ secrets.AUTIFY_PERSONAL_ACCESS_TOKEN }}
    autify_project_id: ${{ secrets.AUTIFY_PROJECT_ID}}
  env:
    DD_API_KEY: ${{ secrets.DD_API_KEY }}

Environment variables

Name Description Required
DD_API_KEY Datadog API Key Yes

Inputs

Name Description Required Default
autify_personal_access_token Autify Personal Access Token Yes
autify_project_id Autify project id Yes

Metrics

Name Description Type Unit
custom.autify_datadog_action.result.duration_second Time taken to execute the test result. Gauge Second
custom.autify_datadog_action.result.count Whether the test was run or not. always send 1 for started_at. Gauge Count

Supported Tags

stutus and test_plan_name are supported as tags.

Known Limitation

The Datadog Submit Metrics API cannot accept timestamps more than one hour in the past. Therefore, at least, this job must be run within an hour of the most recent test run. It is recommended to run this job once every 20 minutes, as multiple runs will not duplicate metrics.

How to test

See chaspy/autify-datadog-action-test

About

GitHub Action to send metrics of Autify to Datadog

Resources

Stars

Watchers

Forks

Packages

No packages published