Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeMetrics ¶
func InitializeMetrics(options *Options)
InitializeMetrics and export metrics.
Types ¶
type Options ¶
type Options struct {
DnsMasqPort int
DnsMasqAddr string
DnsMasqPollIntervalMs int
PrometheusAddr string
PrometheusPort int
PrometheusPath string
PrometheusNamespace string
PrometheusSubsystem string
}
Options for the daemon
func NewOptions ¶
func NewOptions() *Options
NewOptions creates a new options struct with default values.
Click to show internal directories.
Click to hide internal directories.