Tracing: Standardize on otel tracing (#75528)

This commit is contained in:
Marcus Efraimsson authored and GitHub committed 2023-10-03 14:54:20 +02:00
1 parent 4432c4c75c
commit e4c1a7a141
46 files changed
+321 -439

No files matched your search

+2 -1
View File
@@ -180,7 +180,8 @@ func TestReverseProxy(t *testing.T) {
{status: 599, expectedSource: requestmeta.StatusSourceDownstream},
}
for _, tc := range testCases {
for _, testCase := range testCases {
tc := testCase
t.Run(fmt.Sprintf("status %d => source %s ", tc.status, tc.expectedSource), func(t *testing.T) {
upstream := newUpstreamServer(t, http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
w.WriteHeader(tc.status)