Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppConfig ¶
type AppConfig struct {
FirstRunComplete bool `json:"firstRunComplete"`
DisplayCurrency string `json:"displayCurrency"`
RuntimeProvider string `json:"runtimeProvider"`
AutoUpdate bool `json:"autoUpdate"`
HostnamePrefix string `json:"hostnamePrefix"`
CollectIntervalMinutes int `json:"collectIntervalMinutes"`
RetentionDays int `json:"retentionDays"`
Timezone string `json:"timezone"`
FleetAPIKey string `json:"fleetApiKey"`
FleetBindAddress string `json:"fleetBindAddress"`
FleetPort int `json:"fleetPort"`
// MetricsEnabled turns on the opt-in Prometheus /metrics endpoint on the fleet
// server. It defaults to false (disabled) — the bool zero value, so applyDefaults
// needs no change. Enabling it exposes earnings, health and fleet stats on the
// fleet bind address (loopback by default) with no authentication, matching the
// Prometheus scraping convention.
MetricsEnabled bool `json:"metricsEnabled"`
}
Click to show internal directories.
Click to hide internal directories.