We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab49770 commit d646312Copy full SHA for d646312
1 file changed
internal/certificatetransparency/ct-watcher.go
@@ -148,6 +148,7 @@ func (w *Watcher) addNewlyAvailableLogs(logList loglist3.LogList) {
148
ctIndex: lastCTIndex,
149
}
150
w.workers = append(w.workers, &ctWorker)
151
+ metrics.Init(operator.Name, transparencyLog.URL)
152
153
// Start a goroutine for each worker
154
go func() {
@@ -486,14 +487,6 @@ func getAllLogs() (loglist3.LogList, error) {
486
487
488
489
- // Add new ct logs to metrics
490
- for _, operator := range allLogs.Operators {
491
- for _, ctlog := range operator.Logs {
492
- url := normalizeCtlogURL(ctlog.URL)
493
- metrics.Init(operator.Name, url)
494
- }
495
496
-
497
return *allLogs, nil
498
499
0 commit comments