backtrack5r3
10/30/2025, 8:40 PMinstrument.sh and I am wondering if there is any workaround to make it work.
Thanks in advance 🙏meowchinist
10/30/2025, 9:56 PMinstrument.sh as a separate step?backtrack5r3
10/30/2025, 10:04 PMFROM build AS publish
ARG BUILD_CONFIGURATION=Release
RUN dotnet publish "App.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false && chmod +x /app/publish/instrument.sh
FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS base
USER 1000
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["./instrument.sh", "dotnet", "App.dll"]
here is the link for the script :
https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/blob/main/instrument.sh
Don't know at all if this is compatible with the way we should run the script before the dotnet command.
Also another question about debugger experience (but maybe this one is more for OTEL community)meowchinist
10/30/2025, 10:05 PM"./instrument.sh", "dotnet", "App.dll" should be compatible with mirrord, like mirrord exec -- ./instrument.sh dotnet App.dll (if I'm understanding it correctly, this would be how you run it from a terminal)meowchinist
10/30/2025, 10:06 PMbacktrack5r3
10/30/2025, 10:06 PMmeowchinist
10/30/2025, 10:07 PMbacktrack5r3
10/30/2025, 10:08 PMmeowchinist
10/30/2025, 10:09 PMbacktrack5r3
10/30/2025, 10:09 PMbacktrack5r3
10/30/2025, 10:09 PMmeowchinist
10/30/2025, 10:09 PMmeowchinist
10/30/2025, 10:09 PM