Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct {
URL string `yaml:"url"` // http://PUSHGATEWAY_FQDN/metrics/job/JOB/instance/INSTANCE
Labels map[string]string `yaml:"labels"`
Vars []string `yaml:"vars"`
// contains filtered or unexported fields
}
Settings contain the settings and stored metric-values
func (*Settings) GetHandler ¶
GetHandler returns the metric.Target for the pushgateway-handler
Click to show internal directories.
Click to hide internal directories.