Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ StoreContainerLabels: true, AllowlistedContainerLabels: []string{""}, EnvMetadataAllowlist: []string{""}, RawCgroupPrefixAllowlist: []string{""}, ResctrlInterval: 0, StorageDuration: 2 * time.Minute, ContainerdHost: "/run/containerd/containerd.sock", ContainerdNamespace: "k8s.io", DockerHost: "unix:///var/run/docker.sock", UseDockerTLS: false, DockerTLSCert: "cert.pem", DockerTLSKey: "key.pem", DockerTLSCA: "ca.pem", DockerOnly: false, DisableRootCgroupStats: false, }
DefaultArguments holds non-zero default options for Arguments when it is unmarshaled from river.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { StoreContainerLabels bool `river:"store_container_labels,attr,optional"` AllowlistedContainerLabels []string `river:"allowlisted_container_labels,attr,optional"` EnvMetadataAllowlist []string `river:"env_metadata_allowlist,attr,optional"` RawCgroupPrefixAllowlist []string `river:"raw_cgroup_prefix_allowlist,attr,optional"` PerfEventsConfig string `river:"perf_events_config,attr,optional"` ResctrlInterval time.Duration `river:"resctrl_interval,attr,optional"` DisabledMetrics []string `river:"disabled_metrics,attr,optional"` EnabledMetrics []string `river:"enabled_metrics,attr,optional"` StorageDuration time.Duration `river:"storage_duration,attr,optional"` ContainerdHost string `river:"containerd_host,attr,optional"` ContainerdNamespace string `river:"containerd_namespace,attr,optional"` DockerHost string `river:"docker_host,attr,optional"` UseDockerTLS bool `river:"use_docker_tls,attr,optional"` DockerTLSCert string `river:"docker_tls_cert,attr,optional"` DockerTLSKey string `river:"docker_tls_key,attr,optional"` DockerTLSCA string `river:"docker_tls_ca,attr,optional"` DockerOnly bool `river:"docker_only,attr,optional"` DisableRootCgroupStats bool `river:"disable_root_cgroup_stats,attr,optional"` }
Arguments configures the prometheus.exporter.cadvisor component.
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.