Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct {
StoreContainerLabels bool `alloy:"store_container_labels,attr,optional"`
AllowlistedContainerLabels []string `alloy:"allowlisted_container_labels,attr,optional"`
EnvMetadataAllowlist []string `alloy:"env_metadata_allowlist,attr,optional"`
RawCgroupPrefixAllowlist []string `alloy:"raw_cgroup_prefix_allowlist,attr,optional"`
PerfEventsConfig string `alloy:"perf_events_config,attr,optional"`
ResctrlInterval time.Duration `alloy:"resctrl_interval,attr,optional"`
DisabledMetrics []string `alloy:"disabled_metrics,attr,optional"`
EnabledMetrics []string `alloy:"enabled_metrics,attr,optional"`
StorageDuration time.Duration `alloy:"storage_duration,attr,optional"`
ContainerdHost string `alloy:"containerd_host,attr,optional"`
ContainerdNamespace string `alloy:"containerd_namespace,attr,optional"`
DockerHost string `alloy:"docker_host,attr,optional"`
UseDockerTLS bool `alloy:"use_docker_tls,attr,optional"`
DockerTLSCert string `alloy:"docker_tls_cert,attr,optional"`
DockerTLSKey string `alloy:"docker_tls_key,attr,optional"`
DockerTLSCA string `alloy:"docker_tls_ca,attr,optional"`
DockerOnly bool `alloy:"docker_only,attr,optional"`
DisableRootCgroupStats bool `alloy:"disable_root_cgroup_stats,attr,optional"`
}
Arguments configures the prometheus.exporter.cadvisor component.
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
Click to show internal directories.
Click to hide internal directories.