Conversation
|
Code coverage report:
WARNING: go tool cover failed for coverage_target.out |
| RecordAPIRequestDuration(ctx context.Context, duration time.Duration) | ||
| // IncrementAPIRequestErrors increments the API request errors counter. | ||
| IncrementAPIRequestErrors(ctx context.Context) | ||
| IncrementAPIRequestErrors(ctx context.Context, method string) |
There was a problem hiding this comment.
What's the purpose of adding a method here? This is grpc and AFAIK method name is automatically included in the context
chainlink-ccv/aggregator/pkg/middlewares/scoping_middleware.go
Lines 15 to 16 in 55c4e97
There was a problem hiding this comment.
its more explicit IMO - opinionated? im fine with any option
addressing items listed in https://smartcontract-it.atlassian.net/browse/CCIP-9316