Skip to main content

code_coverage_commit_summaries

Creates, updates, deletes, gets or lists a code_coverage_commit_summaries resource.

Overview

Namecode_coverage_commit_summaries
TypeResource
Iddatadog.software_delivery.code_coverage_commit_summaries

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_code_coverage_commit_summaryexecdataRetrieve aggregated code coverage statistics for a specific commit in a repository.<br />This endpoint provides overall coverage metrics as well as breakdowns by service<br />and code owner.<br /><br />The commit SHA must be a 40-character hexadecimal string (SHA-1 hash).

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
sitestringThe Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both.

Lifecycle Methods

EXEC variables use wire (API) names.

Retrieve aggregated code coverage statistics for a specific commit in a repository.<br />This endpoint provides overall coverage metrics as well as breakdowns by service<br />and code owner.<br /><br />The commit SHA must be a 40-character hexadecimal string (SHA-1 hash).

EXEC datadog.software_delivery.code_coverage_commit_summaries.get_code_coverage_commit_summary
@@json=
'{
"data": "{{ data }}"
}'
;