Skip to content

Commit

Permalink
Add log for starting main reporter
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshiki Fujikane <[email protected]>
  • Loading branch information
ffjlabo committed Dec 25, 2024
1 parent 24fb566 commit a7217fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/app/pipedv1/livestatereporter/livestatereporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ func NewReporter(appLister applicationLister, apiClient apiClient, plugins map[s
func (r *reporter) Run(ctx context.Context) error {
group, ctx := errgroup.WithContext(ctx)

r.logger.Info(fmt.Sprintf("starting %d live state reporters of plugins", len(r.reporters)))

for _, reporter := range r.reporters {
// Avoid starting all reporters at the same time to reduce the API call burst.
time.Sleep(10 * time.Second)
Expand Down

0 comments on commit a7217fc

Please sign in to comment.