The expectations in stackdriver_test.go would be much more readable of a package like protocmp was used for ensuring the requests had the correct data.
stackdriver_test.go