Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ExporterIDWebAPI is the identifier for the WebAPI exporter. ExporterIDWebAPI = "webapi" // ExporterIDCS3API is the identifier for the CS3API exporter. ExporterIDCS3API = "cs3api" // ExporterIDSiteLocations is the identifier for the Site Locations exporter. ExporterIDSiteLocations = "siteloc" // ExporterIDPrometheusSD is the identifier for the PrometheusSD SD exporter. ExporterIDPrometheusSD = "promsd" )
View Source
const (
// ConnectorIDGOCDB is the connector identifier for GOCDB.
ConnectorIDGOCDB = "gocdb"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Prefix string `mapstructure:"prefix"` Connector string `mapstructure:"connector"` Exporters []string `mapstructure:"exporters"` UpdateInterval string `mapstructure:"update_interval"` GOCDB struct { Address string `mapstructure:"address"` Scope string `mapstructure:"scope"` } `mapstructure:"gocdb"` WebAPI struct { Endpoint string `mapstructure:"endpoint"` } `yaml:"webapi"` CS3API struct { Endpoint string `mapstructure:"endpoint"` } `yaml:"cs3api"` SiteLocations struct { Endpoint string `mapstructure:"endpoint"` } `yaml:"siteloc"` PrometheusSD struct { MetricsOutputFile string `mapstructure:"metrics_output_file"` BlackboxOutputFile string `mapstructure:"blackbox_output_file"` } `mapstructure:"promsd"` }
Configuration holds the general Mentix configuration.
Click to show internal directories.
Click to hide internal directories.