Documentation
¶
Overview ¶
Package googlecloudconfig contains configuration arguments specific to the Google Cloud exporter. See https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/exporter/googlecloudexporter/README.md for documentation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributeMappings ¶
type ExperimentalWAL ¶
type ExperimentalWAL struct {
Directory string `alloy:"directory,attr,optional"`
MaxBackoff time.Duration `alloy:"max_backoff,attr,optional"`
}
ExperimentalWAL represents experimental_wal config.
Here, we could default the `directory` argument to Alloy's storage.path config value. However, to maintain simplicity as a wrapper around the upstream contrib library and ensure predictable behavior for users, we decided to keep the configuration style consistent with the upstream library.
type GoogleCloudImpersonateArguments ¶
type GoogleCloudImpersonateArguments struct {
TargetPrincipal string `alloy:"target_principal,attr,optional"`
Subject string `alloy:"subject,attr,optional"`
Delegates []string `alloy:"delegates,attr,optional"`
}
func (*GoogleCloudImpersonateArguments) Convert ¶
func (args *GoogleCloudImpersonateArguments) Convert(c collector.ImpersonateConfig) collector.ImpersonateConfig
func (*GoogleCloudImpersonateArguments) SetToDefault ¶
func (args *GoogleCloudImpersonateArguments) SetToDefault()
type GoogleCloudLogArguments ¶
type GoogleCloudLogArguments struct {
Endpoint string `alloy:"endpoint,attr,optional"`
Compression string `alloy:"compression,attr,optional"`
GRPCPoolSize int `alloy:"grpc_pool_size,attr,optional"`
UseInsecure bool `alloy:"use_insecure,attr,optional"`
DefaultLogName string `alloy:"default_log_name,attr,optional"`
ResourceFilters []ResourceFilter `alloy:"resource_filters,attr,optional"`
ServiceResourceLabels bool `alloy:"service_resource_labels,attr,optional"`
ErrorReportingType bool `alloy:"error_reporting_type,attr,optional"`
}
func (*GoogleCloudLogArguments) Convert ¶
func (args *GoogleCloudLogArguments) Convert(c collector.LogConfig) collector.LogConfig
func (*GoogleCloudLogArguments) SetToDefault ¶
func (args *GoogleCloudLogArguments) SetToDefault()
type GoogleCloudMetricArguments ¶
type GoogleCloudMetricArguments struct {
Prefix string `alloy:"prefix,attr,optional"`
Endpoint string `alloy:"endpoint,attr,optional"`
Compression string `alloy:"compression,attr,optional"`
GRPCPoolSize int `alloy:"grpc_pool_size,attr,optional"`
UseInsecure bool `alloy:"use_insecure,attr,optional"`
KnownDomains []string `alloy:"known_domains,attr,optional"`
SkipCreateDescriptor bool `alloy:"skip_create_descriptor,attr,optional"`
InstrumentationLibraryLabels bool `alloy:"instrumentation_library_labels,attr,optional"`
CreateServiceTimeseries bool `alloy:"create_service_timeseries,attr,optional"`
CreateMetricDescriptorBufferSize int `alloy:"create_metric_descriptor_buffer_size,attr,optional"`
ServiceResourceLabels bool `alloy:"service_resource_labels,attr,optional"`
ResourceFilters []ResourceFilter `alloy:"resource_filters,attr,optional"`
CumulativeNormalization bool `alloy:"cumulative_normalization,attr,optional"`
SumOfSquaredDeviation bool `alloy:"sum_of_squared_deviation,attr,optional"`
ExperimentalWAL *ExperimentalWAL `alloy:"experimental_wal,block,optional"`
}
func (*GoogleCloudMetricArguments) Convert ¶
func (args *GoogleCloudMetricArguments) Convert(c collector.MetricConfig) collector.MetricConfig
func (*GoogleCloudMetricArguments) SetToDefault ¶
func (args *GoogleCloudMetricArguments) SetToDefault()
type GoogleCloudTraceArguments ¶
type GoogleCloudTraceArguments struct {
Endpoint string `alloy:"endpoint,attr,optional"`
GRPCPoolSize int `alloy:"grpc_pool_size,attr,optional"`
UseInsecure bool `alloy:"use_insecure,attr,optional"`
AttributeMappings []AttributeMappings `alloy:"attribute_mappings,attr,optional"`
}
func (*GoogleCloudTraceArguments) Convert ¶
func (args *GoogleCloudTraceArguments) Convert(c collector.TraceConfig) collector.TraceConfig
func (*GoogleCloudTraceArguments) SetToDefault ¶
func (args *GoogleCloudTraceArguments) SetToDefault()
type ResourceFilter ¶
Click to show internal directories.
Click to hide internal directories.