collector

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RdapExporter

type RdapExporter struct {
	// contains filtered or unexported fields
}

RdapExporter implements a Prometheus Collector.

func NewRdapExporter

func NewRdapExporter(config config.Config) *RdapExporter

NewRdapExporter creates a new RdapExporter instance.

func (*RdapExporter) Collect

func (e *RdapExporter) Collect(ch chan<- prometheus.Metric)

Collect metrics.

func (*RdapExporter) Describe

func (e *RdapExporter) Describe(ch chan<- *prometheus.Desc)

Describe the Prometheus metrics being exported.

func (*RdapExporter) StartMetricsCollection

func (e *RdapExporter) StartMetricsCollection(ctx context.Context)

StartMetricsCollection starts the metrics collection.

Jump to

Keyboard shortcuts

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