diff --git a/docs/sources/configure-client/language-sdks/dotnet.md b/docs/sources/configure-client/language-sdks/dotnet.md index 8731fa3064..4b0dca83c4 100644 --- a/docs/sources/configure-client/language-sdks/dotnet.md +++ b/docs/sources/configure-client/language-sdks/dotnet.md @@ -45,13 +45,13 @@ The Pyroscope server can be a local server for development or a remote server fo 1. Obtain `Pyroscope.Profiler.Native.so` and `Pyroscope.Linux.ApiWrapper.x64.so` from the [latest tarball](https://github.com/pyroscope-io/pyroscope-dotnet/releases/): ```bash -curl -s -L https://github.com/grafana/pyroscope-dotnet/releases/download/v0.9.0-pyroscope/pyroscope.0.9.0-glibc-x86_64.tar.gz | tar xvz -C . +curl -s -L https://github.com/grafana/pyroscope-dotnet/releases/download/v0.9.2-pyroscope/pyroscope.0.9.2-glibc-x86_64.tar.gz | tar xvz -C . ``` Or copy them from the [latest docker image](https://hub.docker.com/r/pyroscope/pyroscope-dotnet/tags). We have `glibc` and `musl` versions: ```dockerfile -COPY --from=pyroscope/pyroscope-dotnet:0.9.0-glibc /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so -COPY --from=pyroscope/pyroscope-dotnet:0.9.0-glibc /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so +COPY --from=pyroscope/pyroscope-dotnet:0.9.2-glibc /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so +COPY --from=pyroscope/pyroscope-dotnet:0.9.2-glibc /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so ```` 2. Set the following required environment variables to enable profiler diff --git a/examples/language-sdk-instrumentation/dotnet/fast-slow/Dockerfile b/examples/language-sdk-instrumentation/dotnet/fast-slow/Dockerfile index b6aa986cbe..4180145d6b 100644 --- a/examples/language-sdk-instrumentation/dotnet/fast-slow/Dockerfile +++ b/examples/language-sdk-instrumentation/dotnet/fast-slow/Dockerfile @@ -2,8 +2,8 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0 WORKDIR /dotnet -COPY --from=pyroscope/pyroscope-dotnet:0.9.0-glibc /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so -COPY --from=pyroscope/pyroscope-dotnet:0.9.0-glibc /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so +COPY --from=pyroscope/pyroscope-dotnet:0.9.2-glibc /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so +COPY --from=pyroscope/pyroscope-dotnet:0.9.2-glibc /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so ADD example . diff --git a/examples/language-sdk-instrumentation/dotnet/fast-slow/musl.Dockerfile b/examples/language-sdk-instrumentation/dotnet/fast-slow/musl.Dockerfile index 8cb21420b0..2e62de50ca 100644 --- a/examples/language-sdk-instrumentation/dotnet/fast-slow/musl.Dockerfile +++ b/examples/language-sdk-instrumentation/dotnet/fast-slow/musl.Dockerfile @@ -2,8 +2,8 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine WORKDIR /dotnet -COPY --from=pyroscope/pyroscope-dotnet:0.9.0-musl /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so -COPY --from=pyroscope/pyroscope-dotnet:0.9.0-musl /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so +COPY --from=pyroscope/pyroscope-dotnet:0.9.2-musl /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so +COPY --from=pyroscope/pyroscope-dotnet:0.9.2-musl /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so ADD example . diff --git a/examples/language-sdk-instrumentation/dotnet/rideshare/Dockerfile b/examples/language-sdk-instrumentation/dotnet/rideshare/Dockerfile index 5e3004ad28..0ffdbf89a6 100644 --- a/examples/language-sdk-instrumentation/dotnet/rideshare/Dockerfile +++ b/examples/language-sdk-instrumentation/dotnet/rideshare/Dockerfile @@ -17,7 +17,7 @@ RUN sed -i -E 's|.*|net'$SDK RUN dotnet publish -o . --framework net$SDK_VERSION --runtime linux-x64 --no-self-contained # This fetches the SDK -FROM --platform=linux/amd64 pyroscope/pyroscope-dotnet:0.9.0-glibc AS sdk +FROM --platform=linux/amd64 pyroscope/pyroscope-dotnet:0.9.2-glibc AS sdk # Runtime only image of the targetplatfrom, so the platform the image will be running on. FROM --platform=linux/amd64 mcr.microsoft.com/dotnet/aspnet:$SDK_VERSION diff --git a/examples/language-sdk-instrumentation/dotnet/rideshare/musl.Dockerfile b/examples/language-sdk-instrumentation/dotnet/rideshare/musl.Dockerfile index f47328e613..9552ba6644 100644 --- a/examples/language-sdk-instrumentation/dotnet/rideshare/musl.Dockerfile +++ b/examples/language-sdk-instrumentation/dotnet/rideshare/musl.Dockerfile @@ -17,7 +17,7 @@ RUN sed -i -E 's|.*|net'$SDK RUN dotnet publish -o . --framework net$SDK_VERSION --runtime linux-musl-x64 --no-self-contained # This fetches the SDK -FROM --platform=linux/amd64 pyroscope/pyroscope-dotnet:0.9.0-musl AS sdk +FROM --platform=linux/amd64 pyroscope/pyroscope-dotnet:0.9.2-musl AS sdk # Runtime only image of the targetplatfrom, so the platform the image will be running on. FROM --platform=linux/amd64 mcr.microsoft.com/dotnet/aspnet:$SDK_VERSION-alpine diff --git a/examples/language-sdk-instrumentation/dotnet/web-new/Dockerfile b/examples/language-sdk-instrumentation/dotnet/web-new/Dockerfile index 9c9b4ad947..8941e106c5 100644 --- a/examples/language-sdk-instrumentation/dotnet/web-new/Dockerfile +++ b/examples/language-sdk-instrumentation/dotnet/web-new/Dockerfile @@ -3,8 +3,8 @@ FROM --platform=linux/amd64 mcr.microsoft.com/dotnet/sdk:6.0 WORKDIR /dotnet -COPY --from=pyroscope/pyroscope-dotnet:0.9.0-glibc /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so -COPY --from=pyroscope/pyroscope-dotnet:0.9.0-glibc /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so +COPY --from=pyroscope/pyroscope-dotnet:0.9.2-glibc /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so +COPY --from=pyroscope/pyroscope-dotnet:0.9.2-glibc /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so ADD example . diff --git a/examples/language-sdk-instrumentation/python/rideshare/django/app/requirements.txt b/examples/language-sdk-instrumentation/python/rideshare/django/app/requirements.txt index cbd3138c0c..2b2aac91e9 100644 --- a/examples/language-sdk-instrumentation/python/rideshare/django/app/requirements.txt +++ b/examples/language-sdk-instrumentation/python/rideshare/django/app/requirements.txt @@ -2,4 +2,4 @@ Django==3.2.25 djangorestframework==3.12.4 gunicorn==20.1.0 psycopg2-binary==2.9.1 -pyroscope-io==0.8.7 +pyroscope-io==0.8.8 diff --git a/examples/language-sdk-instrumentation/python/rideshare/fastapi/Dockerfile b/examples/language-sdk-instrumentation/python/rideshare/fastapi/Dockerfile index 3c5e2d0ac2..f9337179bd 100644 --- a/examples/language-sdk-instrumentation/python/rideshare/fastapi/Dockerfile +++ b/examples/language-sdk-instrumentation/python/rideshare/fastapi/Dockerfile @@ -1,6 +1,6 @@ FROM python:3.9 -RUN pip3 install fastapi pyroscope-io==0.8.7 uvicorn[standard] +RUN pip3 install fastapi pyroscope-io==0.8.8 uvicorn[standard] ENV FLASK_ENV=development ENV PYTHONUNBUFFERED=1 diff --git a/examples/language-sdk-instrumentation/python/rideshare/flask/Dockerfile b/examples/language-sdk-instrumentation/python/rideshare/flask/Dockerfile index d80b3bd08a..1113d291ef 100644 --- a/examples/language-sdk-instrumentation/python/rideshare/flask/Dockerfile +++ b/examples/language-sdk-instrumentation/python/rideshare/flask/Dockerfile @@ -1,6 +1,6 @@ FROM python:3.9 -RUN pip3 install flask pyroscope-io==0.8.7 pyroscope-otel==0.1.0 +RUN pip3 install flask pyroscope-io==0.8.8 pyroscope-otel==0.1.0 RUN pip3 install opentelemetry-api opentelemetry-sdk opentelemetry-instrumentation-flask opentelemetry-exporter-otlp-proto-grpc ENV FLASK_ENV=development diff --git a/examples/language-sdk-instrumentation/python/simple/requirements.txt b/examples/language-sdk-instrumentation/python/simple/requirements.txt index ad747d4bd2..4396b88578 100644 --- a/examples/language-sdk-instrumentation/python/simple/requirements.txt +++ b/examples/language-sdk-instrumentation/python/simple/requirements.txt @@ -1 +1 @@ -pyroscope-io==0.8.7 +pyroscope-io==0.8.8