Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

CCIP-1311 Reporting number of results returned from Contract Readers#288

Merged
mateusz-sekara merged 1 commit intoccip-developfrom
monitoring/observe-result-set-in-readers
Nov 17, 2023
Merged

CCIP-1311 Reporting number of results returned from Contract Readers#288
mateusz-sekara merged 1 commit intoccip-developfrom
monitoring/observe-result-set-in-readers

Conversation

@mateusz-sekara
Copy link
Contributor

@mateusz-sekara mateusz-sekara commented Nov 15, 2023

Motivation

LogPoller metrics can't contain information about the plugin used to execute specific queries. Some of the Reader methods are proxies for LogPoller, so tracking the number of records returned here could help us identify which part of the code hits LogPoller.

Solution

Combine all existing metrics with latencies into a single one (it would be simpler). And introduce another one to track the number of records returned. This is very similar to what we already have for LP.

@mateusz-sekara mateusz-sekara marked this pull request as ready for review November 16, 2023 10:31
@mateusz-sekara mateusz-sekara requested a review from a team as a code owner November 16, 2023 10:31
@mateusz-sekara mateusz-sekara changed the title Reporting number of results returned from Contract Readers CCIP-1311 Reporting number of results returned from Contract Readers Nov 16, 2023
@mateusz-sekara mateusz-sekara merged commit 23ca470 into ccip-develop Nov 17, 2023
@mateusz-sekara mateusz-sekara deleted the monitoring/observe-result-set-in-readers branch November 17, 2023 08:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants