Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace RepositoryMetricSummary

The metrics details of a repository resource.

Properties

Optional count

count: undefined | number

Represents the total number of the metric being calculated. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional dimensions

dimensions: undefined | object

The qualifiers provided in the definition of the returned metric.

Optional durationInSeconds

durationInSeconds: undefined | number

The duration of the returned aggregated data in seconds. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional metricName

metricName: model.MetricName

Type of metric

Optional startTimestampInEpochSeconds

startTimestampInEpochSeconds: undefined | number

The start time associated with the value of the metric. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional sum

sum: undefined | number

Represents the total duration in days calculated corresponding to the total no. of PRs. This is used only for "PULL_REQUEST_REVIEW_START_DURATION_IN_DAYS" and "PULL_REQUEST_REVIEW_DURATION_IN_DAYS" metrics. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj