-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
expand usage of e2e tests and scraperint (or similar) #30174
Comments
Sounds like a good idea to me, test enhancements are always welcome! If you don't get much input here feel free to submit a PR and discussion can happen there as well. Is there a way to build on top of existing functionality within |
We've been seeing more flaky tests, I think adding a new target for 'cluster' or similar would help things like flink, kafka, redis, even k8s might be useful. We might want to use native docker/docker-compose instead of test containers instead of wrapping though testcontainers via scraperinttest, but that's a can of worms |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
scraperinttest
and/or build constraints and/or makefileIs your feature request related to a problem? Please describe.
Two issues I've faced writing integration tests inspired this issue.
scraperinttest
is amazing and I love it, but as far as I can tell it only supportsWhen I write examples or DIY my testing, I usually write things with docker compose and a full otel pipeline. This makes it easy to ex use filterprocessor and a logging exporter for zeroing in on the exact functionality I use, or even doing things such as having multiple receivers for every node in a (redis, but really any) cluster.
Describe the solution you'd like
I'd like to be able to run e2e tests against an entire otel pipeline, and not just my component.
At minimum, I'd like to be able to configure multiple receivers (of the same type) in
scraperinttest
That said, I see a risk in increasing the complexity or runtime with going this route. Having a "full pipeline" easily accessible for testing is heavier than making it "tighter" to the given components.
Describe alternatives you've considered
make docker-otelcontribcol
or similarscraperinttest
to accomplish the minimal quality of life asks I have hereAdditional context
scraperinttest
Run functionThe text was updated successfully, but these errors were encountered: