awss3

package
v1.4.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package awss3 provides an otelcol.exporter.awss3 component

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	Encoding              string `alloy:"encoding,attr,optional"`
	EncodingFileExtension string `alloy:"encoding_file_ext,attr,optional"`

	S3Uploader    S3Uploader    `alloy:"s3_uploader,block"`
	MarshalerName MarshalerType `alloy:"marshaler,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) Convert

func (args Arguments) Convert() (otelcomponent.Config, error)

func (Arguments) DebugMetricsConfig

func (args Arguments) DebugMetricsConfig() otelcolCfg.DebugMetricsArguments

func (Arguments) Exporters

func (Arguments) Extensions

func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension

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 S3Uploader

type S3Uploader struct {
	Region           string                 `alloy:"region,attr,optional"`
	S3Bucket         string                 `alloy:"s3_bucket,attr"`
	S3Prefix         string                 `alloy:"s3_prefix,attr"`
	S3Partition      string                 `alloy:"s3_partition,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"`
}

S3 Uploader Arguments Block

func (*S3Uploader) Convert

func (args *S3Uploader) Convert() awss3exporter.S3UploaderConfig

func (*S3Uploader) SetToDefault

func (args *S3Uploader) SetToDefault()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL