Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2026 Changes in this version + type HTTPSDConfig struct + Enabled bool + QueryInterval config.Duration + URL string + type Prometheus struct + BearerToken string + BearerTokenString config.Secret + CacheRefreshInterval int + ConsulConfig consulConfig + ContentLengthLimit config.Size + ContentTypeOverride string + EnableRequestMetrics bool + HTTPHeaders map[string]string + HTTPSDConfig HTTPSDConfig + IgnoreTimestamp bool + KubeConfig string + KubernetesFieldSelector string + KubernetesLabelSelector string + KubernetesServices []string + Log telegraf.Logger + MetricVersion int + MonitorKubernetesPodsMethod monitorMethod + MonitorKubernetesPodsPath string + MonitorKubernetesPodsPort int + MonitorKubernetesPodsScheme string + MonitorPods bool + NamespaceAnnotationDrop map[string][]string + NamespaceAnnotationPass map[string][]string + NodeIP string + Password config.Secret + PodAnnotationExclude []string + PodAnnotationInclude []string + PodLabelExclude []string + PodLabelInclude []string + PodNamespace string + PodNamespaceLabelName string + PodScrapeInterval int + PodScrapeScope string + URLTag string + URLs []string + Username config.Secret + func (*Prometheus) SampleConfig() string + func (p *Prometheus) Gather(acc telegraf.Accumulator) error + func (p *Prometheus) Init() error + func (p *Prometheus) Start(_ telegraf.Accumulator) error + func (p *Prometheus) Stop()