GitHub Action
autify-datadog-action
v0.1.0
Latest version
GitHub Action to send metrics of Autify to Datadog
- 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 }}
Name | Description | Required |
---|---|---|
DD_API_KEY | Datadog API Key | Yes |
Name | Description | Required | Default |
---|---|---|---|
autify_personal_access_token | Autify Personal Access Token | Yes | |
autify_project_id | Autify project id | Yes |
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 |
stutus
and test_plan_name
are supported as tags.
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.