Daniel Jaglowski 40b485f08a Update core for v0.90.0 release (#29539) | hai 1 ano | |
---|---|---|
.. | ||
internal | hai 1 ano | |
testdata | hai 1 ano | |
Makefile | hai 1 ano | |
README.md | hai 1 ano | |
config.go | hai 1 ano | |
config_test.go | hai 1 ano | |
data_writer.go | hai 1 ano | |
doc.go | hai 1 ano | |
exporter.go | hai 1 ano | |
exporter_test.go | hai 1 ano | |
factory.go | hai 1 ano | |
factory_test.go | hai 1 ano | |
go.mod | hai 1 ano | |
go.sum | hai 1 ano | |
marshaler.go | hai 1 ano | |
marshaler_test.go | hai 1 ano | |
metadata.yaml | hai 1 ano | |
s3_marshaler.go | hai 1 ano | |
s3_writer.go | hai 1 ano | |
s3_writer_test.go | hai 1 ano | |
sumo_marshaler.go | hai 1 ano | |
sumo_marshaler_test.go | hai 1 ano |
Status | |
---|---|
Stability | alpha: traces, metrics, logs |
Distributions | contrib, observiq, sumo |
Issues | |
Code Owners | @atoulme, @pdelewski |
This exporter targets to support proto/json format.
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 determines the format of data sent to AWS S3. Currently, the following marshalers are implemented:
otlp_json
(default): the OpenTelemetry Protocol format, represented as json.sumo_ic
: the Sumo Logic Installed Collector Archive format.
This format is supported only for logs.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
This exporter follows default credential resolution for the aws-sdk-go.
Follow the guidelines for the credential configuration.