New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS s3 exporter component #730
base: main
Are you sure you want to change the base?
Conversation
Added documentation
Added exported fields section to docs
Update docs with example added a test
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
Updates to docs
region = "REGION" | ||
s3_bucket = "BUCKET_NAME" | ||
s3_prefix = "PREFIX" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
region = "REGION" | |
s3_bucket = "BUCKET_NAME" | |
s3_prefix = "PREFIX" | |
region = "<REGION>" | |
s3_bucket = "<BUCKET_NAME>" | |
s3_prefix = "<PREFIX>" |
## Usage | ||
|
||
```alloy | ||
otelcol.exporter.awss3 "LABEL" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
otelcol.exporter.awss3 "LABEL" { | |
otelcol.exporter.awss3 "<LABEL>" { |
} | ||
} | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace the following: | |
* _`<LABEL>`_: The label for the `otelcol.exporter.awss3` component. | |
* _`<REGION>`_: The AWS region. | |
* _`<BUCKET_NAME>`_: The S3 bucket. | |
* _`<PREFIX>`_: The prefix for the S3 key. | |
This implements the Placeholder Variables: https://grafana.com/docs/writers-toolkit/write/style-guide/write-for-developers/#placeholder-variables and the style is matched to the other component topics.
- `none` (default): No compression will be applied | ||
- `gzip`: Files will be compressed with gzip. **This doesn't support `sumo_ic`marshaler.** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `none` (default): No compression will be applied | |
- `gzip`: Files will be compressed with gzip. **This doesn't support `sumo_ic`marshaler.** | |
- `none` (default): File compression isn't used. | |
- `gzip`: Files are compressed with Gzip. **This doesn't support `sumo_ic`marshaler.** |
|
||
Encoding overrides the marshaler if it's present and sets it to use the encoding extension defined in the collector configuration. | ||
|
||
Refer to the Open Telemetry [encoding extensions] documentation for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refer to the Open Telemetry [encoding extensions] documentation for more information. | |
Refer to the Open Telemetry [encoding extensions][] documentation for more information. |
|
||
Marshaler determines the format of data sent to AWS S3. Currently, the following marshalers are implemented: | ||
|
||
- `otlp_json` (default): the [OpenTelemetry Protocol format](https://github.com/open-telemetry/opentelemetry-proto), represented as json. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `otlp_json` (default): the [OpenTelemetry Protocol format](https://github.com/open-telemetry/opentelemetry-proto), represented as json. | |
- `otlp_json` (default): the [OpenTelemetry Protocol format](https://github.com/open-telemetry/opentelemetry-proto), represented as JSON. |
PR Description
Adding in an
otelcol.exporter.awss3
component.Which issue(s) this PR fixes
#256
Fixes #256
Notes to the Reviewer
Uses the upstream
opentelemetry-collector-contrib
awss3exporterPR Checklist