Skip to content

Comments

Aggregator metrics followups#656

Merged
AndresJulia merged 2 commits intomainfrom
CCIP-9316_agg_metric_gaps
Feb 11, 2026
Merged

Aggregator metrics followups#656
AndresJulia merged 2 commits intomainfrom
CCIP-9316_agg_metric_gaps

Conversation

@AndresJulia
Copy link
Contributor

@AndresJulia AndresJulia requested review from a team and skudasov as code owners February 9, 2026 16:17
@AndresJulia AndresJulia requested a review from bukata-sa February 9, 2026 21:21
@github-actions
Copy link

Code coverage report:

Package main CCIP-9316_agg_metric_gaps diff
github.com/smartcontractkit/chainlink-ccv/aggregator 46.95% 46.95% +0.00%
github.com/smartcontractkit/chainlink-ccv/cmd 0.00% 0.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/committee 100.00% 100.00% +0.00%
github.com/smartcontractkit/chainlink-ccv/common 0.00% 0.00% +0.00%

WARNING: go tool cover failed for coverage_target.out
cover: no required module provides package github.com/smartcontractkit/chainlink-ccv/common/jd/client; to add it:
go get github.com/smartcontractkit/chainlink-ccv/common/jd/client
WARNING: go tool cover failed for coverage.out
cover: no required module provides package github.com/smartcontractkit/chainlink-ccv/common/jd/client; to add it:
go get github.com/smartcontractkit/chainlink-ccv/common/jd/client

RecordAPIRequestDuration(ctx context.Context, duration time.Duration)
// IncrementAPIRequestErrors increments the API request errors counter.
IncrementAPIRequestErrors(ctx context.Context)
IncrementAPIRequestErrors(ctx context.Context, method string)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the purpose of adding a method here? This is grpc and AFAIK method name is automatically included in the context

ctx = scope.WithAPIName(ctx, info.FullMethod)
return handler(ctx, req)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its more explicit IMO - opinionated? im fine with any option

@AndresJulia AndresJulia added this pull request to the merge queue Feb 11, 2026
Merged via the queue into main with commit c01cb27 Feb 11, 2026
23 checks passed
@AndresJulia AndresJulia deleted the CCIP-9316_agg_metric_gaps branch February 11, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants