Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ QuerySampleArguments: QuerySampleArguments{ CollectInterval: 15 * time.Second, DisableQueryRedaction: false, }, QueryTablesArguments: QueryTablesArguments{ CollectInterval: 1 * time.Minute, }, SchemaDetailsArguments: SchemaDetailsArguments{ CollectInterval: 1 * time.Minute, CacheEnabled: true, CacheSize: 256, CacheTTL: 10 * time.Minute, }, ExplainPlanArguments: ExplainPlanArguments{ CollectInterval: 1 * time.Minute, PerCollectRatio: 1.0, }, }
Functions ¶
This section is empty.
Types ¶
type AWSCloudProviderInfo ¶
type AWSCloudProviderInfo struct {
ARN string `alloy:"arn,attr"`
}
type Arguments ¶
type Arguments struct {
DataSourceName alloytypes.Secret `alloy:"data_source_name,attr"`
ForwardTo []loki.LogsReceiver `alloy:"forward_to,attr"`
Targets []discovery.Target `alloy:"targets,attr"`
EnableCollectors []string `alloy:"enable_collectors,attr,optional"`
DisableCollectors []string `alloy:"disable_collectors,attr,optional"`
CloudProvider *CloudProvider `alloy:"cloud_provider,block,optional"`
QuerySampleArguments QuerySampleArguments `alloy:"query_samples,block,optional"`
QueryTablesArguments QueryTablesArguments `alloy:"query_details,block,optional"`
SchemaDetailsArguments SchemaDetailsArguments `alloy:"schema_details,block,optional"`
ExplainPlanArguments ExplainPlanArguments `alloy:"explain_plans,block,optional"`
}
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
type CloudProvider ¶
type CloudProvider struct {
AWS *AWSCloudProviderInfo `alloy:"aws,block,optional"`
}
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func (*Component) CurrentHealth ¶
type ExplainPlanArguments ¶
type QuerySampleArguments ¶ added in v1.11.0
type QueryTablesArguments ¶ added in v1.11.0
type SchemaDetailsArguments ¶
Click to show internal directories.
Click to hide internal directories.