Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameters ¶
type Parameters struct { JobName string `json:"job_name"` Targets []string `json:"targets"` Labels map[string]string `json:"labels"` }
Parameters represents the paramaters of a Puppet resource
type Resource ¶
type Resource struct { Certname string `json:"certname"` Parameters Parameters `json:"parameters"` }
Resource represents a Puppet resource
type ScrapeConfig ¶
type ScrapeConfig struct { JobName string `yaml:"job_name"` ProxyURL string `yaml:"proxy_url,omitempty"` StaticConfigs []*StaticConfig `yaml:"static_configs"` }
ScrapeConfig represents a Prometheus scrape_config See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config
type StaticConfig ¶
type StaticConfig struct { Targets []string `yaml:"targets"` Labels map[string]string `yaml:"labels"` }
StaticConfig represents a Prometheus static_config See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#static_config
Click to show internal directories.
Click to hide internal directories.