Skip to content

Commit

Permalink
update client_metrics
Browse files Browse the repository at this point in the history
Signed-off-by: Rita Zhang <rita.z.zhang@gmail.com>
  • Loading branch information
ritazh committed Sep 9, 2021
1 parent 0d80835 commit 7d3dfa7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/metrics/client_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ limitations under the License.
package metrics

import (
"context"
"net/url"
"time"

Expand All @@ -31,4 +32,4 @@ func DisableRESTClientMetrics() {

type noopLatency struct{}

func (noopLatency) Observe(string, url.URL, time.Duration) {}
func (noopLatency) Observe(context.Context, string, url.URL, time.Duration) {}

0 comments on commit 7d3dfa7

Please sign in to comment.