Documentation
¶
Index ¶
- Constants
- type Collector
- func (c *Collector) Collect(ch chan<- prometheus.Metric)
- func (c *Collector) CollectBlockCount(ctx context.Context) error
- func (c *Collector) CollectFeeEstimate(ctx context.Context) error
- func (c *Collector) CollectInfoStats(ctx context.Context, ch chan<- prometheus.Metric) error
- func (c *Collector) CollectLastBlockHeader(ctx context.Context, ch chan<- prometheus.Metric) error
- func (c *Collector) CollectMempoolStats(ctx context.Context, ch chan<- prometheus.Metric) error
- func (c *Collector) Describe(ch chan<- *prometheus.Desc)
- func (c *Collector) Run(ctx context.Context) error
- type CollectorFunc
- type Exporter
- type Option
Constants ¶
View Source
const CollectionInterval = 10 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) CollectBlockCount ¶
func (*Collector) CollectFeeEstimate ¶
func (*Collector) CollectInfoStats ¶
func (*Collector) CollectLastBlockHeader ¶
func (*Collector) CollectMempoolStats ¶
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
type CollectorFunc ¶
Click to show internal directories.
Click to hide internal directories.