application-research / autoretrieve

A server to make GraphSync data accessible on IPFS
22 stars 7 forks source link

Add funnel filter metrics #145

Closed kylehuntsman closed 1 year ago

kylehuntsman commented 1 year ago

Adds multiple metrics that help determine the number of requests being filtered out of each retrieval step, ie: indexer candidates, queries, and retrievals. Refactors some existing metrics and removes others that were not being used.

Added

Refactored

Removed

Pics of updated dashboard WIP

Fixes #137

codecov-commenter commented 1 year ago

Codecov Report

Base: 20.66% // Head: 20.39% // Decreases project coverage by -0.27% :warning:

Coverage data is based on head (8e85efd) compared to base (0430279). Patch coverage: 55.00% of modified lines in pull request are covered.

:exclamation: Current head 8e85efd differs from pull request most recent head 22ec9ea. Consider uploading reports for the commit 22ec9ea to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #145 +/- ## ========================================== - Coverage 20.66% 20.39% -0.28% ========================================== Files 16 16 Lines 2332 2417 +85 ========================================== + Hits 482 493 +11 - Misses 1819 1895 +76 + Partials 31 29 -2 ``` | [Impacted Files](https://codecov.io/gh/application-research/autoretrieve/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=application-research) | Coverage Δ | | |---|---|---| | [filecoin/retriever.go](https://codecov.io/gh/application-research/autoretrieve/pull/145/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=application-research#diff-ZmlsZWNvaW4vcmV0cmlldmVyLmdv) | `35.46% <55.00%> (+0.58%)` | :arrow_up: | | [main.go](https://codecov.io/gh/application-research/autoretrieve/pull/145/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=application-research#diff-bWFpbi5nbw==) | `1.29% <0.00%> (-0.10%)` | :arrow_down: | | [config.go](https://codecov.io/gh/application-research/autoretrieve/pull/145/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=application-research#diff-Y29uZmlnLmdv) | `0.00% <0.00%> (ø)` | | | [autoretrieve.go](https://codecov.io/gh/application-research/autoretrieve/pull/145/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=application-research#diff-YXV0b3JldHJpZXZlLmdv) | `0.00% <0.00%> (ø)` | | | [blocks/manager.go](https://codecov.io/gh/application-research/autoretrieve/pull/145/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=application-research#diff-YmxvY2tzL21hbmFnZXIuZ28=) | `85.00% <0.00%> (+5.00%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=application-research). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=application-research)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.