mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Tracing: Standardize on otel tracing (#75528)
This commit is contained in:
committed by
GitHub
parent
4432c4c75c
commit
e4c1a7a141
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user