forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tf: show prometheus/SD diff on failure instead of dump (istio#37520)
* tf: show prometheus diff on failure instead of dump Example output: ``` stats.go:130: query "istio_requests_total" returned 2 series, but none matched our query exactly. stats.go:130: Series 0 stats.go:130: for label "reporter", wanted "destination" but got "source" stats.go:130: Series 1 stats.go:130: for label "reporter", wanted "destination" but got "source" stats.go:130: for label "destination_app", wanted "server" but got "unknown" stats.go:130: for label "destination_service", wanted "server.echo.svc.cluster.local" but got "server-no-sidecar.echo.svc.cluster.local" stats.go:130: for label "destination_version", wanted "v1" but got "unknown" stats.go:130: for label "destination_service_name", wanted "server" but got "server-no-sidecar" ``` * fix * Fix outbound part * tf: show smart diff of SD failures instead of dumping pages of text * Fix fail early * add names and sort * always use fake GCE
- Loading branch information
1 parent
bb63751
commit f212b68
Showing
19 changed files
with
518 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.