@@ -81,8 +81,8 @@ func main() {
81
81
82
82
Logger .Infof ("Init Azure DevOps exporter v%s (written by %v)" , Version , Author )
83
83
84
- Logger .Infof ("Init Azure connection" )
85
- initAzureConnection ()
84
+ Logger .Infof ("Init AzureDevOps connection" )
85
+ initAzureDevOpsConnection ()
86
86
87
87
Logger .Info ("Starting metrics collection" )
88
88
Logger .Infof ("set scape interval[Default]: %v" , scrapeIntervalStatus (& opts .ScrapeTime ))
@@ -161,12 +161,17 @@ func initArgparser() {
161
161
}
162
162
163
163
// Init and build Azure authorzier
164
- func initAzureConnection () {
164
+ func initAzureDevOpsConnection () {
165
165
AzureDevopsClient = AzureDevops .NewAzureDevopsClient ()
166
166
if opts .AzureDevopsUrl != nil {
167
167
AzureDevopsClient .HostUrl = opts .AzureDevopsUrl
168
168
}
169
169
170
+ Logger .Infof ("using organization: %v" , opts .AzureDevopsOrganisation )
171
+ Logger .Infof ("using apiversion: %v" , opts .AzureDevopsApiVersion )
172
+ Logger .Infof ("using concurrency: %v" , opts .RequestConcurrencyLimit )
173
+ Logger .Infof ("using retries: %v" , opts .RequestRetries )
174
+
170
175
AzureDevopsClient .SetOrganization (opts .AzureDevopsOrganisation )
171
176
AzureDevopsClient .SetAccessToken (opts .AzureDevopsAccessToken )
172
177
AzureDevopsClient .SetApiVersion (opts .AzureDevopsApiVersion )
0 commit comments