Documentation ¶
Overview ¶
Package awss3exporter stores OpenTelemetry data as an AWS S3 exporter.
Index ¶
Constants ¶
View Source
const ( SourceCategoryKey = "_sourceCategory" SourceHostKey = "_sourceHost" SourceNameKey = "_sourceName" )
Variables ¶
View Source
var (
ErrUnknownMarshaler = errors.New("unknown marshaler")
)
Functions ¶
Types ¶
type Config ¶
type Config struct { S3Uploader S3UploaderConfig `mapstructure:"s3uploader"` MarshalerName MarshalerType `mapstructure:"marshaler"` FileFormat string `mapstructure:"file_format"` }
Config contains the main configuration options for the s3 exporter
type MarshalerType ¶ added in v0.76.1
type MarshalerType string
const ( OtlpProtobuf MarshalerType = "otlp_proto" OtlpJSON MarshalerType = "otlp_json" SumoIC MarshalerType = "sumo_ic" )
type S3UploaderConfig ¶
type S3UploaderConfig struct { Region string `mapstructure:"region"` S3Bucket string `mapstructure:"s3_bucket"` S3Prefix string `mapstructure:"s3_prefix"` S3Partition string `mapstructure:"s3_partition"` FilePrefix string `mapstructure:"file_prefix"` Endpoint string `mapstructure:"endpoint"` RoleArn string `mapstructure:"role_arn"` S3ForcePathStyle bool `mapstructure:"s3_force_path_style"` DisableSSL bool `mapstructure:"disable_ssl"` }
S3UploaderConfig contains aws s3 uploader related config to controls things like bucket, prefix, batching, connections, retries, etc.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.