io.prometheus.Configuration1.4.0
Properties()
Methods()
Classes
-
-
-
linkclass
Allow retrieving scrape targets from Kubernetes' REST API and always staying synchronized with the cluster state.
-
-
-
linkclass
File-based service discovery provides a more generic way to configure static targets and serves as an interface to plug in custom service discovery mechanisms.
-
linkclass
DNS-based service discovery configuration allows specifying a set of DNS domain names which are periodically queried to discover a list of targets.
-
-
linkclass
HTTP-based service discovery provides a more generic way to configure static targets and serves as an interface to plug in custom service discovery mechanisms.
-
linkclass
Relabeling is a powerful tool to dynamically rewrite the label set of a target before it gets scraped.
-
-
linkclass
write_relabel_configsis relabeling applied to samples before sending them to the remote endpoint. -
-
-
-
-
-
-
-
-
-
-
-
Type Aliases()
-
-
-
-
-
linktypealiasKubernetesSdConfigRole = "pod"|"service"|"node"|"endpoints"|"endpointslice"|"ingress"Source
-
linktypealiasKubernetesSdConfigRoleWithNodeMetadata = "pod"|"endpoints"|"endpointslice"Source
KubernetesSdConfig.rolevalues thatKubernetesSdConfigAttachMetadata.nodemay be enabled with -
-
Prometheus is configured via command-line flags and a configuration file.