Open vmarchaud opened 3 years ago
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.
We've had some success using jq and bats for testing our distros at Honeycomb, and also added it to the opentelemetry-go-instrumentation project. Wonder if there is appetite to have the same thing here?
Basically we spin up an app and a collector in docker, export to a file, and make assertions on the output. I wrote a bit of detail here on a small blog post, and here is an example test in our JS distro. I would be happy to help with this effort if it seems like a reasonable path forward.
@JamieDanielson this sounds like a great idea 🙂
I'm adding the blocked label as I'm currently modifying some of the existing tests and I want to ensure that nobody is working on this (this will likely lead to conflicts). I still think that we should do this, tough (ideally before releasing a GA version of the OTLP exporters).
Sure, but i think it would make sense to make test with the collector (end to end pretty much) itself in our pipeline so this doesn't require manual testing in the future
Originally posted by @vmarchaud in https://github.com/open-telemetry/opentelemetry-js/issues/2117#issuecomment-824831352