monitoring

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MaybeStartMetrics

func MaybeStartMetrics(ctx context.Context, cfg metrics.CLIConfig, l log.Logger, m metricer, l1 *ethclient.Client, wallet common.Address)

NOTE(pangssu): MaybeStartMetrics requires cancelable context to stop http server

func MaybeStartPprof

func MaybeStartPprof(ctx context.Context, cfg pprof.CLIConfig, l log.Logger)

NOTE(pangssu): MaybeStartPprof requires cancelable context to stop http server

func StartRPC

func StartRPC(cfg krpc.CLIConfig, version string, opts ...krpc.ServerOption) (*krpc.Server, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL