open-telemetry / opentelemetry-dotnet-instrumentation

OpenTelemetry .NET Automatic Instrumentation
https://opentelemetry.io
Apache License 2.0
364 stars 92 forks source link

Merge the two versions of instrument.sh #3548

Open Mpdreamz opened 1 month ago

Mpdreamz commented 1 month ago

Currently we distribute two versions of instrument.sh

I believe we could reuse the redistributable instrument.sh with a few minor modifications:

Happy to submit a PR. Opening an issue early to discuss if this is a good/bad idea 😸

pjanotti commented 1 month ago

Hi @Mpdreamz - I like the idea, IIRC, it was something that came up during some PR review or SIG meeting. At first I don't see any reason to keep them separate.

pjanotti commented 1 month ago

@Mpdreamz are you planning to start working on this? We may want to add it to our next milestone.

Mpdreamz commented 1 month ago

@pjanotti I am :) Just opened https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/pull/3553

I only validated the script still works when using a zip distribution thus far.

pjanotti commented 1 month ago

Nice! Thanks @Mpdreamz