Documentation ¶
Index ¶
- Constants
- func EventCounter()
- func GetEventsTime(lastProcessTime time.Duration)
- func GetForksTime(lastProcessTime time.Duration)
- func ProcessAllEventTime(lastProcessTime time.Duration)
- func ProcessSingleEventTime(lastProcessTime time.Duration)
- func ReadAndProcessAllEventsTime(lastProcessTime time.Duration)
- func Register()
- func VerifyGenBlockTime(lastProcessTime time.Duration)
Constants ¶
View Source
const ( // Prefix for the metrics of the etherman package. Prefix = "etherman_" // ReadAndProcessAllEventsTimeName is the name of the label read and process all event. ReadAndProcessAllEventsTimeName = Prefix + "read_and_process_all_event_time" // ProcessAllEventTimeName is the name of the label to process all event. ProcessAllEventTimeName = Prefix + "process_all_event_time" // ProcessSingleEventTimeName is the name of the label to process a single event. ProcessSingleEventTimeName = Prefix + "process_single_event_time" // GetEventsTimeName is the name of the label to get L1 events. GetEventsTimeName = Prefix + "get_events_time" // GetForksTimeName is the name of the label to get forkIDs intervals. GetForksTimeName = Prefix + "get_forkIDs_time" // VerifyGenBlockTimeName is the name of the label to verify the genesis block. VerifyGenBlockTimeName = Prefix + "verify_genesisBlockNum_time" // EventCounterName is the name of the label to count the processed events. EventCounterName = Prefix + "processed_events_counter" )
Variables ¶
This section is empty.
Functions ¶
func GetEventsTime ¶
GetEventsTime observes the time to get the events from L1 on the histogram.
func GetForksTime ¶
GetForksTime observes the time to get the forkIDs on the histogram.
func ProcessAllEventTime ¶
ProcessAllEventTime observes the time to process all event on the histogram.
func ProcessSingleEventTime ¶
ProcessSingleEventTime observes the time to process a single event on the histogram.
func ReadAndProcessAllEventsTime ¶
ReadAndProcessAllEventsTime observes the time read and process all event on the histogram.
func VerifyGenBlockTime ¶
VerifyGenBlockTime observes the time for etherman to verify the genesis blocknumber on the histogram.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.