telemetry

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultCounterFn = func() float32 { return 1 }
)

Functions

func EventSuccessCounter

func EventSuccessCounter(
	eventType string,
	getValue func() float32,
	isSuccessful func() bool,
)

EventSuccessCounter increments a counter with the given data type and success status.

func InitBlockMetrics

func InitBlockMetrics(app *baseapp.BaseApp)

InitBlockMetrics initializes the block-specific metrics for the application.

Types

This section is empty.

Jump to

Keyboard shortcuts

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