You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.go
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -70,12 +70,14 @@ var opts struct {
70
70
RequestConcurrencyLimitint64`long:"request.concurrency" env:"REQUEST_CONCURRENCY" description:"Number of concurrent requests against dev.azure.com" default:"10"`
71
71
RequestRetriesint`long:"request.retries" env:"REQUEST_RETRIES" description:"Number of retried requests against dev.azure.com" default:"3"`
72
72
73
+
LimitBuildsPerProjectint64`long:"limit.builds-per-project" env:"LIMIT_BUILDS_PER_PROJECT" description:"Limit builds per project" default:"100"`
73
74
LimitBuildsPerDefinitionint64`long:"limit.builds-per-definition" env:"LIMIT_BUILDS_PER_DEFINITION" description:"Limit builds per definition" default:"10"`
74
75
LimitReleasesPerProjectint64`long:"limit.releases-per-project" env:"LIMIT_RELEASES_PER_PROJECT" description:"Limit releases per project" default:"100"`
75
76
LimitReleasesPerDefinitionint64`long:"limit.releases-per-definition" env:"LIMIT_RELEASES_PER_DEFINITION" description:"Limit releases per definition" default:"100"`
76
77
LimitDeploymentPerDefinitionint64`long:"limit.deployments-per-definition" env:"LIMIT_DEPLOYMENTS_PER_DEFINITION" description:"Limit deployments per definition" default:"100"`
77
78
LimitReleaseDefinitionsPerProjectint64`long:"limit.releasedefinitions-per-project" env:"LIMIT_RELEASEDEFINITION_PER_PROJECT" description:"Limit builds per definition" default:"100"`
78
-
LimitReleaseDuration time.Duration`long:"limit.release-duration" env:"LIMIT_RELEASE_DURATION" description:"Time (time.Duration) how long the exporter should look back for releases" default:"48h"`
79
+
LimitBuildHistoryDuration time.Duration`long:"limit.build-history-duration" env:"LIMIT_BUILD_HISTORY_DURATION" description:"Time (time.Duration) how long the exporter should look back for builds" default:"48h"`
80
+
LimitReleaseHistoryDuration time.Duration`long:"limit.release-history-duration" env:"LIMIT_RELEASE_HISTORY_DURATION" description:"Time (time.Duration) how long the exporter should look back for releases" default:"48h"`
0 commit comments