File tree Expand file tree Collapse file tree 7 files changed +13
-11
lines changed
docs/sources/configure-client/language-sdks
examples/language-sdk-instrumentation Expand file tree Collapse file tree 7 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,13 @@ The Pyroscope server can be a local server for development or a remote server fo
45
45
1 . Obtain ` Pyroscope.Profiler.Native.so ` and ` Pyroscope.Linux.ApiWrapper.x64.so ` from the [ latest tarball] ( https://github.com/pyroscope-io/pyroscope-dotnet/releases/ ) :
46
46
47
47
``` bash
48
- curl -s -L https://github.com/grafana/pyroscope-dotnet/releases/download/v0.9.4 -pyroscope/pyroscope.0.9.4 -glibc-x86_64.tar.gz | tar xvz -C .
48
+ curl -s -L https://github.com/grafana/pyroscope-dotnet/releases/download/v0.10.0 -pyroscope/pyroscope.0.10.0 -glibc-x86_64.tar.gz | tar xvz -C .
49
49
```
50
50
51
51
Or copy them from the [ latest docker image] ( https://hub.docker.com/r/pyroscope/pyroscope-dotnet/tags ) . We have ` glibc ` and ` musl ` versions:
52
52
``` dockerfile
53
- COPY --from=pyroscope/pyroscope-dotnet:0.9.4 -glibc /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so
54
- COPY --from=pyroscope/pyroscope-dotnet:0.9.4 -glibc /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so
53
+ COPY --from=pyroscope/pyroscope-dotnet:0.10.0 -glibc /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so
54
+ COPY --from=pyroscope/pyroscope-dotnet:0.10.0 -glibc /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so
55
55
````
56
56
57
57
2. Set the following required environment variables to enable profiler
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0
2
2
3
3
WORKDIR /dotnet
4
4
5
- COPY --from=pyroscope/pyroscope-dotnet:0.9.4 -glibc /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so
6
- COPY --from=pyroscope/pyroscope-dotnet:0.9.4 -glibc /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so
5
+ COPY --from=pyroscope/pyroscope-dotnet:0.10.0 -glibc /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so
6
+ COPY --from=pyroscope/pyroscope-dotnet:0.10.0 -glibc /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so
7
7
8
8
ADD example .
9
9
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine
2
2
3
3
WORKDIR /dotnet
4
4
5
- COPY --from=pyroscope/pyroscope-dotnet:0.9.4 -musl /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so
6
- COPY --from=pyroscope/pyroscope-dotnet:0.9.4 -musl /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so
5
+ COPY --from=pyroscope/pyroscope-dotnet:0.10.0 -musl /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so
6
+ COPY --from=pyroscope/pyroscope-dotnet:0.10.0 -musl /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so
7
7
8
8
ADD example .
9
9
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ RUN sed -i -E 's|<TargetFramework>.*</TargetFramework>|<TargetFramework>net'$SDK
17
17
RUN dotnet publish -o . --framework net$SDK_VERSION --runtime linux-x64 --no-self-contained
18
18
19
19
# This fetches the SDK
20
- FROM --platform=linux/amd64 pyroscope/pyroscope-dotnet:0.9.4 -glibc AS sdk
20
+ FROM --platform=linux/amd64 pyroscope/pyroscope-dotnet:0.10.0 -glibc AS sdk
21
21
22
22
# Runtime only image of the targetplatfrom, so the platform the image will be running on.
23
23
FROM --platform=linux/amd64 mcr.microsoft.com/dotnet/aspnet:$SDK_VERSION
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ RUN sed -i -E 's|<TargetFramework>.*</TargetFramework>|<TargetFramework>net'$SDK
17
17
RUN dotnet publish -o . --framework net$SDK_VERSION --runtime linux-musl-x64 --no-self-contained
18
18
19
19
# This fetches the SDK
20
- FROM --platform=linux/amd64 pyroscope/pyroscope-dotnet:0.9.4 -musl AS sdk
20
+ FROM --platform=linux/amd64 pyroscope/pyroscope-dotnet:0.10.0 -musl AS sdk
21
21
22
22
# Runtime only image of the targetplatfrom, so the platform the image will be running on.
23
23
FROM --platform=linux/amd64 mcr.microsoft.com/dotnet/aspnet:$SDK_VERSION-alpine
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ FROM --platform=linux/amd64 mcr.microsoft.com/dotnet/sdk:6.0
3
3
4
4
WORKDIR /dotnet
5
5
6
- COPY --from=pyroscope/pyroscope-dotnet:0.9.4 -glibc /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so
7
- COPY --from=pyroscope/pyroscope-dotnet:0.9.4 -glibc /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so
6
+ COPY --from=pyroscope/pyroscope-dotnet:0.10.0 -glibc /Pyroscope.Profiler.Native.so ./Pyroscope.Profiler.Native.so
7
+ COPY --from=pyroscope/pyroscope-dotnet:0.10.0 -glibc /Pyroscope.Linux.ApiWrapper.x64.so ./Pyroscope.Linux.ApiWrapper.x64.so
8
8
9
9
ADD example .
10
10
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0 h1:ad0vkEBuk23VJzZR9nkLVG0YAoN
31
31
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0 /go.mod h1:igFoXX2ELCW06bol23DWPB5BEWfZISOzSP5K2sbLea0 =
32
32
github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc =
33
33
github.com/klauspost/compress v1.17.11 /go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0 =
34
+ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc =
35
+ github.com/kylelemons/godebug v1.1.0 /go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw =
34
36
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA =
35
37
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 /go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ =
36
38
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
You can’t perform that action at this time.
0 commit comments