• Joshua Gutow's avatar
    op-challenger: Add basic metrics & pprof setup · 532d8ce6
    Joshua Gutow authored
    This adds metrics & pprof to the op-challenger. I had to add a default config
    option to the metrics & pprof in order to make the tests work (because it
    verifies that the result of the CLI parsing is as expected when compared to
    an config struct which is constructed).
    
    This also had to modify how the challenger stores its version information
    because we include that information in the metrics when we record that it is
    up. Unlike the proposer & batcher, the challenger has a different initialization
    flow which does not easily make the version information accessible.
    532d8ce6
Name
Last commit
Last update
..
client Loading commit data...
clock Loading commit data...
crypto Loading commit data...
enum Loading commit data...
eth Loading commit data...
httputil Loading commit data...
log Loading commit data...
metrics Loading commit data...
opio Loading commit data...
pprof Loading commit data...
retry Loading commit data...
rpc Loading commit data...
solabi Loading commit data...
tls Loading commit data...
txmgr Loading commit data...
Makefile Loading commit data...
util.go Loading commit data...
util_test.go Loading commit data...