-
Notifications
You must be signed in to change notification settings - Fork 366
feat: support custom metrics #2480
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: ashing <[email protected]>
Signed-off-by: ashing <[email protected]>
Signed-off-by: ashing <[email protected]>
Signed-off-by: ashing <[email protected]>
There was a problem hiding this 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]>
Signed-off-by: ashing <[email protected]>
Signed-off-by: ashing <[email protected]>
internal/provider/adc/adc.go
Outdated
|
|
||
| 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)) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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]>
Type of change:
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: