diff --git a/core/app/builder.go b/core/app/builder.go index ea93ce3..3b4e320 100644 --- a/core/app/builder.go +++ b/core/app/builder.go @@ -5,6 +5,7 @@ import ( "github.com/berachain/offchain-sdk/job" "github.com/berachain/offchain-sdk/log" "github.com/berachain/offchain-sdk/server" + "github.com/berachain/offchain-sdk/telemetry" "github.com/ethereum/go-ethereum/ethdb" ) @@ -14,6 +15,7 @@ type Builder interface { AppName() string BuildApp(log.Logger) *baseapp.BaseApp RegisterJob(job.Basic) + RegisterMetrics(cfg *telemetry.Config) error RegisterDB(db ethdb.KeyValueStore) RegisterHTTPHandler(handler *server.Handler) error RegisterMiddleware(m server.Middleware) error