Skip to content
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

feat: Add intervalprocessor component #1484

Merged
merged 4 commits into from
Aug 27, 2024
Merged

feat: Add intervalprocessor component #1484

merged 4 commits into from
Aug 27, 2024

Conversation

ArthurSens
Copy link
Member

PR Description

Adds intervalprocessor as a new component to alloy.

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

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

@ArthurSens
Copy link
Member Author

It's my very first time reading alloy's codebase, so bear with me if I missed anything 😅.

I'm seeing errors when testing this locally, but I'm struggling a bit to understand why

@clayton-cornell clayton-cornell requested a review from a team August 16, 2024 18:32
@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Aug 16, 2024
@clayton-cornell
Copy link
Contributor

@grafana/grafana-alloy-maintainers I'll circle back to do a doc review once the code base is reviewed.

@ptodev ptodev self-assigned this Aug 19, 2024
@ArthurSens
Copy link
Member Author

I do not understand the test failure, I haven't changed anything on the test or on the files used in this test 🤔

@mattdurham
Copy link
Collaborator

The OSX tests are always flaky and dont stop a merge. Will see what drone reports on the linux tests.

@@ -421,7 +421,7 @@ require (
github.com/go-openapi/validate v0.23.0 // indirect
github.com/go-redis/redis/v8 v8.11.5 // indirect
github.com/go-resty/resty/v2 v2.13.1 // indirect
github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1 // indirect
github.com/go-viper/mapstructure/v2 v2.0.0 // indirect
Copy link
Collaborator

Choose a reason for hiding this comment

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

The error is from this line, how the mapstructure reports errors has changed. You need to update the verbiage in the corrupt_config.diags to match the new error it reports.

Copy link
Member Author

Choose a reason for hiding this comment

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

Nice find, thanks!

Copy link
Collaborator

@mattdurham mattdurham left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me, will wait on Claytons doc review

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.

Some small suggestions and fixes. Otherwise the docs look OK.

@ArthurSens
Copy link
Member Author

Some small suggestions and fixes. Otherwise the docs look OK.

Thanks for taking a look!

@mattdurham
Copy link
Collaborator

@ArthurSens can you resolve the conflicts and I will set it to automerge.

@mattdurham mattdurham enabled auto-merge (squash) August 27, 2024 13:04
ArthurSens and others added 4 commits August 27, 2024 10:07
@mattdurham mattdurham merged commit 9b8b81b into main Aug 27, 2024
18 checks passed
@mattdurham mattdurham deleted the intervalprocessor branch August 27, 2024 13:16
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 1, 2024
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.

4 participants