Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeMetrics ¶
func InitializeMetrics(exporterConf ExporterConfig) error
func NewPrometheusExporter ¶
func NewPrometheusExporter(addr string) (*prometheus.Exporter, error)
func ShutdownMetrics ¶
Types ¶
type ExporterConfig ¶
type ExporterConfig interface {
// contains filtered or unexported methods
}
type ExporterNull ¶
type ExporterNull struct{}
type ExporterProm ¶
type ExporterProm struct {
Addr string
}
type Int64SyncGauge ¶
type Int64SyncGauge struct {
// contains filtered or unexported fields
}
var ( ProcessedBlockHeightGauge *Int64SyncGauge BacklogSizeGauge *Int64SyncGauge BacklogOldestTimestampGauge *Int64SyncGauge ReceivePacketsFinalizedCounter api.Int64Counter )
func NewInt64SyncGauge ¶
func NewInt64SyncGauge(meter api.Meter, name string, options ...api.Int64ObservableGaugeOption) (*Int64SyncGauge, error)
type Int64WithAttributes ¶
type Int64WithAttributes struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.