Skip to content

feat(otelcol.receiver): add awss3 receiver#4928

Merged
dehaansa merged 24 commits intomainfrom
x1unix/feat/s3-receiver
Nov 25, 2025
Merged

feat(otelcol.receiver): add awss3 receiver#4928
dehaansa merged 24 commits intomainfrom
x1unix/feat/s3-receiver

Conversation

@x1unix
Copy link
Member

@x1unix x1unix commented Nov 25, 2025

PR Description

This PR adds otelcol.receiver.awss3 component, which is a wrapper for awss3receiver opentelemetry collector component.

CC @clayton-cornell @dehaansa

Which issue(s) this PR fixes

Partially fixes #4800

Notes to the Reviewer

Note

The wrapper doesn't have support for custom encoding extensions.
Support for custom encoding extensions (and extensions themselves) will be done in next PRs.

See the tracking issue: #4934

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

@x1unix x1unix requested review from a team and clayton-cornell as code owners November 25, 2025 02:44
@x1unix x1unix force-pushed the x1unix/feat/s3-receiver branch from 8a81d02 to 6cf4c82 Compare November 25, 2025 02:45
@github-actions
Copy link
Contributor

github-actions bot commented Nov 25, 2025

🔍 Dependency Review

No dependency upgrades detected in go.mod. This PR only adds net-new indirect dependencies, so there are no upgrade paths to review and no code changes required to adopt newer versions.

Notes

The following net-new indirect dependencies were added (informational; not reviewed per rules):

  • github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awss3receiver v0.139.0
    • Added to support the new otelcol.receiver.awss3 component.
  • github.com/aws/aws-sdk-go-v2/service/sqs v1.42.11
    • Pulled in to support SQS subscription mode for the AWSS3 receiver.
  • github.com/open-telemetry/opamp-go v0.22.0
  • github.com/open-telemetry/opentelemetry-collector-contrib/extension/opampcustommessages v0.139.0
    • Likely brought in by upstream optional features (e.g., notifications) of the AWSS3 receiver; current code warns that OpAMP notifications are not supported by the Alloy wrapper.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 25, 2025

💻 Deploy preview deleted (feat(otelcol.receiver): add awss3 receiver).

Copy link
Contributor

@kalleep kalleep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, left a few comments

@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Nov 25, 2025
@x1unix x1unix force-pushed the x1unix/feat/s3-receiver branch from 85ebfe3 to 0ccb8f9 Compare November 25, 2025 19:58
Copy link
Contributor

@clayton-cornell clayton-cornell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caught two more things in the second review.

Looks good otherwise and it can go over to the devs for code review

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
@dehaansa dehaansa enabled auto-merge (squash) November 25, 2025 21:08
@dehaansa dehaansa disabled auto-merge November 25, 2025 21:18
@dehaansa dehaansa enabled auto-merge (squash) November 25, 2025 21:20
@dehaansa dehaansa merged commit bc3885b into main Nov 25, 2025
45 checks passed
@dehaansa dehaansa deleted the x1unix/feat/s3-receiver branch November 25, 2025 21:36
dehaansa pushed a commit to madhub/alloy that referenced this pull request Dec 10, 2025
* feat: add awss3receiver component template

* fix: imports

* feat: map config

* feat: remove currently not supported Encodings and Notification blocks

* fix: filename

* feat: add arguments test

* feat: register component

* feat: add awss3 otelconverter

* chore: update changelog

* fix: state type

* feat: add component docs

* chore: make generate-gh-issue-templates

* fix: docs link typo

* fix: otelconvert fixtures

* fix: typo

* fix: doc

* chore: go generate ./internal/tools/docs_generator/

* feat: map awss3receiver defaults to SetToDefault

* feat: add config defaults break change test

* fix: apply doc suggestions from code review

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>

* fix: tests

* fix: Apply suggestions from code review

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>

* fix: mention that awss3 supports any kind of telemetry

* fix: codegen

---------

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age type/docs Docs Squad label across all Grafana Labs repos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce an S3 receiver component

4 participants