Skip to content

Conversation

@ronething
Copy link
Contributor

Type of change:

  • Bugfix
  • New feature provided
  • Improve performance
  • Backport patches
  • Documentation
  • Refactor
  • Chore
  • CI/CD or Tests

What this PR does / why we need it:

Exposing some key metrics can enable us to understand the time consumption of different steps, thereby better locating the problem.

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license-eye has totally checked 250 files.

Valid Invalid Ignored Fixed
177 1 72 0
Click to see the invalid file list
  • test/e2e/load-test/spec_subject.go

Signed-off-by: ashing <[email protected]>
Signed-off-by: ashing <[email protected]>
Signed-off-by: ashing <[email protected]>
Signed-off-by: ashing <[email protected]>
Signed-off-by: ashing <[email protected]>
@ronething ronething marked this pull request as ready for review July 17, 2025 10:54
Signed-off-by: ashing <[email protected]>

err := d.executor.Execute(ctx, d.BackendMode, config, args)
duration := time.Since(startTime).Seconds()
log.Infof("synced %s in %f seconds, service list length: %d", config.Name, duration, len(task.Resources.Services))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The service in the info log here is ambiguous.
The user does not understand whether it is a k8s service or something else.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i will remove it later.

Signed-off-by: ashing <[email protected]>
@ronething ronething requested a review from nic-6443 July 18, 2025 03:28
@ronething ronething merged commit 94fcceb into master Jul 18, 2025
23 checks passed
@ronething ronething deleted the test/load-test branch July 18, 2025 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants