Skip to content

Auto Instrument with Docker compose #4224

Closed Answered by RassK
hoesein asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

I'm noticing a few errors:

  1. otel-dotnet-install.sh download, install path and run path are mixed up. You download otel-dotnet-install.sh to /otel, install to /otel but attemp to run /otel-dotnet-auto.
  2. .NET 7 is EOL and latest versions like v1.11.0 do not support it

So:

  1. Upgrade csproj to .NET 8
  2. Use aspnet:8.0 and sdk:8.0 images
  3. Consider installing to /otel-dotnet-auto
    RUN OTEL_DOTNET_AUTO_HOME=/otel-dotnet-auto/ /bin/bash /otel/otel-dotnet-install.sh

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hoesein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants