Daniel Jaglowski 40b485f08a Update core for v0.90.0 release (#29539) 1 år sedan
..
internal b2eea6e926 update mdatagen to support per signal stability (#21153) 1 år sedan
testdata 44b7b78ea5 feat(awsS3Exporter): add support for `s3_force_path_style` and `disable_ssl` parameters (#29331) 1 år sedan
Makefile a87e86918b [chore] [exporter/s3exporter] aws s3 exporter initial version (First PR, config + exporter stub) (#9979) 1 år sedan
README.md 44b7b78ea5 feat(awsS3Exporter): add support for `s3_force_path_style` and `disable_ssl` parameters (#29331) 1 år sedan
config.go 44b7b78ea5 feat(awsS3Exporter): add support for `s3_force_path_style` and `disable_ssl` parameters (#29331) 1 år sedan
config_test.go 44b7b78ea5 feat(awsS3Exporter): add support for `s3_force_path_style` and `disable_ssl` parameters (#29331) 1 år sedan
data_writer.go 5133f4ccd6 [chore] use license shortform (#22052) 1 år sedan
doc.go 5133f4ccd6 [chore] use license shortform (#22052) 1 år sedan
exporter.go 8c9bc1f11f [exporter/awss3] do not expose method (#26305) 1 år sedan
exporter_test.go 8c9bc1f11f [exporter/awss3] do not expose method (#26305) 1 år sedan
factory.go 74cffb53be [awss3exporter]: add Sumo Logic marshaler for logs in Installed Collector format (#23649) 1 år sedan
factory_test.go 74cffb53be [awss3exporter]: add Sumo Logic marshaler for logs in Installed Collector format (#23649) 1 år sedan
go.mod 40b485f08a Update core for v0.90.0 release (#29539) 1 år sedan
go.sum 40b485f08a Update core for v0.90.0 release (#29539) 1 år sedan
marshaler.go 8c9bc1f11f [exporter/awss3] do not expose method (#26305) 1 år sedan
marshaler_test.go 8c9bc1f11f [exporter/awss3] do not expose method (#26305) 1 år sedan
metadata.yaml 8a4348cb00 [chore] add codeowners to metadata (#24404) 1 år sedan
s3_marshaler.go 5133f4ccd6 [chore] use license shortform (#22052) 1 år sedan
s3_writer.go 44b7b78ea5 feat(awsS3Exporter): add support for `s3_force_path_style` and `disable_ssl` parameters (#29331) 1 år sedan
s3_writer_test.go 5018ac33e3 [exporter/awss3exporter] Add the ability to assume the role provided by s3uploader.role_arn (#28674) 1 år sedan
sumo_marshaler.go f4c44858b5 [all][chore] Moved from interface{} to any for all go code (#29072) 1 år sedan
sumo_marshaler_test.go 74cffb53be [awss3exporter]: add Sumo Logic marshaler for logs in Installed Collector format (#23649) 1 år sedan

README.md

AWS S3 Exporter for OpenTelemetry Collector

Status
Stability alpha: traces, metrics, logs
Distributions contrib, observiq, sumo
Issues Open issues Closed issues
Code Owners @atoulme, @pdelewski

Schema supported

This exporter targets to support proto/json format.

Exporter Configuration

The following exporter configuration parameters are supported.

Name Description Default
region AWS region. "us-east-1"
s3_bucket S3 bucket
s3_prefix prefix for the S3 key (root directory inside bucket).
s3_partition time granularity of S3 key: hour or minute "minute"
role_arn the Role ARN to be assumed
file_prefix file prefix defined by user
marshaler marshaler used to produce output data otlp_json
endpoint overrides the endpoint used by the exporter instead of constructing it from region and s3_bucket
s3_force_path_style set this to true to force the request to use path-style addressing false
disable_ssl set this to true to disable SSL when sending requests false

Marshaler

Marshaler determines the format of data sent to AWS S3. Currently, the following marshalers are implemented:

Example Configuration

Following example configuration defines to store output in 'eu-central' region and bucket named 'databucket'.

exporters:
  awss3:
    s3uploader:
        region: 'eu-central-1'
        s3_bucket: 'databucket'
        s3_prefix: 'metric'
        s3_partition: 'minute'

Logs and traces will be stored inside 'databucket' in the following path format.

metric/year=XXXX/month=XX/day=XX/hour=XX/minute=XX

AWS Credential Configuration

This exporter follows default credential resolution for the aws-sdk-go.

Follow the guidelines for the credential configuration.