solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy
https://docs.solo.io/
Apache License 2.0
4.08k stars 437 forks source link

Improve error logs for glooctl check #5046

Open antonioberben opened 3 years ago

antonioberben commented 3 years ago

Related to this other issue https://github.com/solo-io/gloo/issues/5011

Here a place which could be interesting to improve the error log message in order to help on debugging:

https://github.com/solo-io/gloo-private/blob/5d686c0f62f48057490e41c5cfdb2bce255e5604/projects/gloo/cli/pkg/cmd/check/gloo_stats.go#L66

Error message could include the reference to the resources which caused the error.

Thank you.

┆Issue is synchronized with this Asana task by Unito

bcollard commented 2 years ago

Troubleshooting can be time-consuming if we don't pinpoint the source of the error(s).

github-actions[bot] commented 4 months ago

This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.

nfuden commented 3 weeks ago

The current error prints out which resources are out of sync.

What is the level of granularity that we need to have to make this usable?

nfuden commented 2 weeks ago

asana integration closed this.