Skip to content

Correct Aggregate Inclusion metric - #4081

Closed
twoeths wants to merge 1 commit into
unstablefrom
tuyen/aggregate-inclusion-metric
Closed

Correct Aggregate Inclusion metric#4081
twoeths wants to merge 1 commit into
unstablefrom
tuyen/aggregate-inclusion-metric

Conversation

@twoeths

@twoeths twoeths commented May 29, 2022

Copy link
Copy Markdown
Member

Motivation

Due to #4019, Aggregate Inclusion metric dropped. We want to get it back to the previous state.

Screen Shot 2022-05-29 at 15 23 21

Description

  • Call the metric before the chain.seenAggregatedAttestations.isKnown() check, about 70% of AggregateAndProof gossip messages were caught by that

@twoeths

twoeths commented May 29, 2022

Copy link
Copy Markdown
Member Author

Tested in contabo-8

Screen Shot 2022-05-29 at 17 01 31

@twoeths
twoeths marked this pull request as ready for review May 29, 2022 10:01
@twoeths
twoeths requested a review from a team as a code owner May 29, 2022 10:01

@wemeetagain wemeetagain left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

wont this introduce false positives too? invalid attestations being counted

@dapplion dapplion left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Initially I though it was important to track all aggregate for inclusion.

However, seeing the costs and dangers of doing so I am fine by only tracking novel aggregate inclusion. The metric will still fulfill it's purpose, which is showing that we got aggregated. To detect poor gossip performance we can still check the duplicate factor in gossip metrics. The combination of both should provide the same level of info as before.

So I would vote for closing this PR and ignoring my warning for v0.37.0 release

@twoeths twoeths closed this May 30, 2022
@twoeths
twoeths deleted the tuyen/aggregate-inclusion-metric branch May 30, 2022 09:09
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