feat: improve egctl collect#6197
0.00% of diff hit (target 60.00%)
View this Pull Request on Codecov
0.00% of diff hit (target 60.00%)
Annotations
Check warning on line 54 in internal/cmd/egctl/collect.go
codecov / codecov/patch
internal/cmd/egctl/collect.go#L53-L54
Added lines #L53 - L54 were not covered by tests
Check warning on line 104 in internal/cmd/egctl/collect.go
codecov / codecov/patch
internal/cmd/egctl/collect.go#L95-L104
Added lines #L95 - L104 were not covered by tests
Check warning on line 18 in internal/cmd/egctl/root.go
codecov / codecov/patch
internal/cmd/egctl/root.go#L17-L18
Added lines #L17 - L18 were not covered by tests
Check warning on line 24 in internal/troubleshoot/collect.go
codecov / codecov/patch
internal/troubleshoot/collect.go#L24
Added line #L24 was not covered by tests
Check warning on line 41 in internal/troubleshoot/collect.go
codecov / codecov/patch
internal/troubleshoot/collect.go#L41
Added line #L41 was not covered by tests
Check warning on line 55 in internal/troubleshoot/collect.go
codecov / codecov/patch
internal/troubleshoot/collect.go#L47-L55
Added lines #L47 - L55 were not covered by tests
Check warning on line 78 in internal/troubleshoot/collect.go
codecov / codecov/patch
internal/troubleshoot/collect.go#L57-L78
Added lines #L57 - L78 were not covered by tests
Check warning on line 84 in internal/troubleshoot/collect/config_dump.go
codecov / codecov/patch
internal/troubleshoot/collect/config_dump.go#L84
Added line #L84 was not covered by tests
Check warning on line 83 in internal/troubleshoot/collect/prometheus_metrics.go
codecov / codecov/patch
internal/troubleshoot/collect/prometheus_metrics.go#L81-L83
Added lines #L81 - L83 were not covered by tests
Check warning on line 87 in internal/troubleshoot/collect/prometheus_metrics.go
codecov / codecov/patch
internal/troubleshoot/collect/prometheus_metrics.go#L85-L87
Added lines #L85 - L87 were not covered by tests
Check warning on line 90 in internal/troubleshoot/collect/prometheus_metrics.go
codecov / codecov/patch
internal/troubleshoot/collect/prometheus_metrics.go#L90
Added line #L90 was not covered by tests
Check warning on line 92 in internal/troubleshoot/collect/prometheus_metrics.go
codecov / codecov/patch
internal/troubleshoot/collect/prometheus_metrics.go#L92
Added line #L92 was not covered by tests
Check warning on line 96 in internal/troubleshoot/collect/prometheus_metrics.go
codecov / codecov/patch
internal/troubleshoot/collect/prometheus_metrics.go#L96
Added line #L96 was not covered by tests
Check warning on line 124 in internal/troubleshoot/collect/prometheus_metrics.go
codecov / codecov/patch
internal/troubleshoot/collect/prometheus_metrics.go#L105-L124
Added lines #L105 - L124 were not covered by tests
Check warning on line 128 in internal/troubleshoot/collect/prometheus_metrics.go
codecov / codecov/patch
internal/troubleshoot/collect/prometheus_metrics.go#L128
Added line #L128 was not covered by tests
Check warning on line 21 in internal/utils/str/strconv.go
codecov / codecov/patch
internal/utils/str/strconv.go#L20-L21
Added lines #L20 - L21 were not covered by tests