Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PprofConfig ¶
type PprofConfig map[string]*PprofProfilingConfig
type PprofProfilingConfig ¶
type ProfilingConfig ¶
type ProfilingConfig struct {
PprofConfig PprofConfig `yaml:"pprof_config,omitempty"`
PprofPrefix string `yaml:"path_prefix,omitempty"`
}
type ScrapeConfig ¶
type ScrapeConfig struct {
// Name of the section in the config
JobName string `yaml:"job_name"`
// A set of query parameters with which the target is scraped.
Params url.Values `yaml:"params,omitempty"`
// How frequently to scrape the targets of this scrape config.
ScrapeInterval model.Duration `yaml:"scrape_interval,omitempty"`
// The timeout for scraping targets of this config.
ScrapeTimeout model.Duration `yaml:"scrape_timeout,omitempty"`
// The URL scheme with which to fetch metrics from targets.
Scheme string `yaml:"scheme,omitempty"`
ServiceDiscoveryConfig sdconfig.ServiceDiscoveryConfig `yaml:",inline"`
ProfilingConfig *ProfilingConfig `yaml:"profiling_config,omitempty"`
HTTPClientConfig config_util.HTTPClientConfig `yaml:",inline"`
RelabelConfigs []*promconfig.RelabelConfig `yaml:"relabel_configs,omitempty"`
}
ScrapeConfig configures a scraping unit for conprof.
Click to show internal directories.
Click to hide internal directories.