File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ require (
132132 go.opentelemetry.io/proto/otlp v1.5.0 // indirect
133133 go.uber.org/multierr v1.11.0 // indirect
134134 go.uber.org/zap v1.27.0 // indirect
135- golang.org/x/crypto v0.33 .0 // indirect
135+ golang.org/x/crypto v0.35 .0 // indirect
136136 golang.org/x/exp v0.0.0-20250215185904-eff6e970281f // indirect
137137 golang.org/x/net v0.35.0 // indirect
138138 golang.org/x/oauth2 v0.26.0 // indirect
Original file line number Diff line number Diff line change @@ -466,8 +466,8 @@ golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v
466466golang.org/x/crypto v0.25.0 /go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M =
467467golang.org/x/crypto v0.26.0 /go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54 =
468468golang.org/x/crypto v0.28.0 /go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U =
469- golang.org/x/crypto v0.33 .0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus =
470- golang.org/x/crypto v0.33 .0 /go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M =
469+ golang.org/x/crypto v0.35 .0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs =
470+ golang.org/x/crypto v0.35 .0 /go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ =
471471golang.org/x/exp v0.0.0-20190121172915-509febef88a4 /go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA =
472472golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 /go.mod h1:M4RDyNAINzryxdtnbRXRL/OHtkFuWGRjvuhBJpk2IlY =
473473golang.org/x/exp v0.0.0-20250215185904-eff6e970281f h1:oFMYAjX0867ZD2jcNiLBrI9BdpmEkvPyi5YrBGXbamg =
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ func RecordRequestsMiddleware(deprecatedMetrics bool) func(*middleware.Stack) er
4949 metrics .Recorder ().IncreaseCount ("cloudprovider_aws_api_throttled_requests_total" , labels )
5050 }
5151 } else {
52+ labels ["code" ] = apiErr .ErrorCode ()
5253 metrics .Recorder ().IncreaseCount ("aws_ebs_csi_api_request_errors_total" , labels )
5354 if deprecatedMetrics {
5455 metrics .Recorder ().IncreaseCount ("cloudprovider_aws_api_request_errors" , labels )
You can’t perform that action at this time.
0 commit comments