livepeer / go-livepeer

Official Go implementation of the Livepeer protocol
http://livepeer.org
MIT License
537 stars 165 forks source link

Add logging to selection_algorithm.go #3076

Closed leszko closed 1 month ago

leszko commented 1 month ago

Related to https://linear.app/livepeer/issue/ENG-2046/investigate-suspicious-orchestrator-prices

linear[bot] commented 1 month ago

ENG-2046 Investigate suspicious Orchestrator Prices

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.40929%. Comparing base (e8f079e) to head (0141de2).

:exclamation: Current head 0141de2 differs from pull request most recent head f074802

Please upload reports for the commit f074802 to get more accurate results.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/livepeer/go-livepeer/pull/3076/graphs/tree.svg?width=650&height=150&src=pr&token=vKzl2rUYvB&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=livepeer)](https://app.codecov.io/gh/livepeer/go-livepeer/pull/3076?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=livepeer) ```diff @@ Coverage Diff @@ ## master #3076 +/- ## ============================================= Coverage 57.40929% 57.40929% ============================================= Files 92 92 Lines 15764 15764 ============================================= Hits 9050 9050 Misses 6111 6111 Partials 603 603 ``` | [Files](https://app.codecov.io/gh/livepeer/go-livepeer/pull/3076?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=livepeer) | Coverage Δ | | |---|---|---| | [server/selection\_algorithm.go](https://app.codecov.io/gh/livepeer/go-livepeer/pull/3076?src=pr&el=tree&filepath=server%2Fselection_algorithm.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=livepeer#diff-c2VydmVyL3NlbGVjdGlvbl9hbGdvcml0aG0uZ28=) | `89.23077% <100.00000%> (ø)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/livepeer/go-livepeer/pull/3076?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=livepeer). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=livepeer) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/livepeer/go-livepeer/pull/3076?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=livepeer). Last update [e8f079e...f074802](https://app.codecov.io/gh/livepeer/go-livepeer/pull/3076?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=livepeer). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=livepeer). | [Files](https://app.codecov.io/gh/livepeer/go-livepeer/pull/3076?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=livepeer) | Coverage Δ | | |---|---|---| | [server/selection\_algorithm.go](https://app.codecov.io/gh/livepeer/go-livepeer/pull/3076?src=pr&el=tree&filepath=server%2Fselection_algorithm.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=livepeer#diff-c2VydmVyL3NlbGVjdGlvbl9hbGdvcml0aG0uZ28=) | `89.23077% <100.00000%> (ø)` | |