Skip to content

Commit

Permalink
Update pkg/metrics/observers/contour_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sanskar Jaiswal <[email protected]>
  • Loading branch information
BrandonCate and aryan9600 authored Jun 6, 2022
1 parent b22c1c2 commit 72a343a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/metrics/observers/contour_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func TestContourObserver_GetRequestDuration(t *testing.T) {
assert.Equal(t, 100*time.Millisecond, val)
}

func TestContourObserver_GetRequestDuration_Service(t *testing.T) {
func TestContourObserver_CustomService_GetRequestDuration(t *testing.T) {
expected := ` histogram_quantile( 0.99, sum( rate( envoy_cluster_upstream_rq_time_bucket{ envoy_cluster_name=~"default_podinfo-service-canary_[0-9a-zA-Z-]+", }[1m] ) ) by (le) )`

ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit 72a343a

Please sign in to comment.