Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{
ClientTimeout: 15 * time.Second,
RequestInterval: 5 * time.Minute,
RequestOffset: 0,
IngestDelay: false,
DropDelegatedProjects: false,
}
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct {
ProjectIDs []string `river:"project_ids,attr"`
MetricPrefixes []string `river:"metrics_prefixes,attr"`
ExtraFilters []string `river:"extra_filters,attr,optional"`
RequestInterval time.Duration `river:"request_interval,attr,optional"`
RequestOffset time.Duration `river:"request_offset,attr,optional"`
IngestDelay bool `river:"ingest_delay,attr,optional"`
DropDelegatedProjects bool `river:"drop_delegated_projects,attr,optional"`
ClientTimeout time.Duration `river:"gcp_client_timeout,attr,optional"`
}
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.