Documentation
¶
Overview ¶
Package awss3 provides an otelcol.exporter.awss3 component
Index ¶
- type Arguments
- func (args Arguments) Convert() (otelcomponent.Config, error)
- func (args Arguments) DebugMetricsConfig() otelcolCfg.DebugMetricsArguments
- func (args Arguments) Exporters() map[pipeline.Signal]map[otelcomponent.ID]otelcomponent.Component
- func (args Arguments) Extensions() map[otelcomponent.ID]otelcomponent.Component
- func (args *Arguments) SetToDefault()
- func (args *Arguments) Validate() error
- type MarshalerType
- type ResourceAttrsToS3
- type S3Uploader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct {
Queue otelcol.QueueArguments `alloy:"sending_queue,block,optional"`
S3Uploader S3Uploader `alloy:"s3_uploader,block"`
MarshalerName MarshalerType `alloy:"marshaler,block,optional"`
Timeout time.Duration `alloy:"timeout,attr,optional"`
ResourceAttrsToS3 ResourceAttrsToS3 `alloy:"resource_attrs_to_s3,block,optional"`
// DebugMetrics configures component internal metrics. Optional
DebugMetrics otelcolCfg.DebugMetricsArguments `alloy:"debug_metrics,block,optional"`
}
Arguments configures the otelcol.exporter.awss3 component.
func (Arguments) DebugMetricsConfig ¶
func (args Arguments) DebugMetricsConfig() otelcolCfg.DebugMetricsArguments
func (Arguments) Exporters ¶
func (args Arguments) Exporters() map[pipeline.Signal]map[otelcomponent.ID]otelcomponent.Component
func (Arguments) Extensions ¶
func (args Arguments) Extensions() map[otelcomponent.ID]otelcomponent.Component
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
type MarshalerType ¶
type MarshalerType struct {
Type string `alloy:"type,attr,optional"`
}
MarshalerType Argument Block
func (MarshalerType) Convert ¶
func (args MarshalerType) Convert() awss3exporter.MarshalerType
func (*MarshalerType) SetToDefault ¶
func (args *MarshalerType) SetToDefault()
type ResourceAttrsToS3 ¶ added in v1.9.0
type ResourceAttrsToS3 struct {
// S3Prefix indicates the mapping of the key (directory) prefix used for writing into the bucket to a specific resource attribute value.
S3Prefix string `alloy:"s3_prefix,attr"`
}
ResourceAttrsToS3 defines the mapping of S3 uploading configuration values to resource attribute values.
func (ResourceAttrsToS3) Convert ¶ added in v1.9.0
func (args ResourceAttrsToS3) Convert() awss3exporter.ResourceAttrsToS3
type S3Uploader ¶
type S3Uploader struct {
Region string `alloy:"region,attr,optional"`
S3Bucket string `alloy:"s3_bucket,attr"`
S3Prefix string `alloy:"s3_prefix,attr"`
S3PartitionFormat string `alloy:"s3_partition_format,attr,optional"`
RoleArn string `alloy:"role_arn,attr,optional"`
FilePrefix string `alloy:"file_prefix,attr,optional"`
Endpoint string `alloy:"endpoint,attr,optional"`
S3ForcePathStyle bool `alloy:"s3_force_path_style,attr,optional"`
DisableSSL bool `alloy:"disable_ssl,attr,optional"`
Compression configcompression.Type `alloy:"compression,attr,optional"`
ACL string `alloy:"acl,attr,optional"`
StorageClass string `alloy:"storage_class,attr,optional"`
RetryMode string `alloy:"retry_mode,attr,optional"`
RetryMaxAttempts int `alloy:"retry_max_attempts,attr,optional"`
RetryMaxBackoff time.Duration `alloy:"retry_max_backoff,attr,optional"`
}
S3 Uploader Arguments Block
func (*S3Uploader) Convert ¶
func (args *S3Uploader) Convert() awss3exporter.S3UploaderConfig
func (*S3Uploader) SetToDefault ¶
func (args *S3Uploader) SetToDefault()
Click to show internal directories.
Click to hide internal directories.