[Example] Bump OTel AutoInstrumentation to 0.6.0 (#2276)

Bump OTel AutoInstrumentation to 0.6.0
This commit is contained in:
Piotr Kiełkowicz 2023-03-01 08:32:02 +01:00 committed by GitHub
parent 133037f2af
commit 503401079a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0-jammy FROM mcr.microsoft.com/dotnet/sdk:6.0-jammy
# install OpenTelemetry .NET Automatic Instrumentation # install OpenTelemetry .NET Automatic Instrumentation
ARG OTEL_VERSION=0.5.0 ARG OTEL_VERSION=0.6.0
ADD https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/download/v${OTEL_VERSION}/otel-dotnet-auto-install.sh otel-dotnet-auto-install.sh ADD https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/download/v${OTEL_VERSION}/otel-dotnet-auto-install.sh otel-dotnet-auto-install.sh
RUN apt-get update && apt-get install -y unzip && \ RUN apt-get update && apt-get install -y unzip && \
OTEL_DOTNET_AUTO_HOME="/otel-dotnet-auto" sh otel-dotnet-auto-install.sh OTEL_DOTNET_AUTO_HOME="/otel-dotnet-auto" sh otel-dotnet-auto-install.sh