Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ OpenTelemetry Go Automatic Instrumentation adheres to [Semantic Versioning](http
### Fixed

- Fix `uint32` bounding on 32 bit architectures in the `go.opentelemetry.io/auto/sdk` module. ([#2810](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/2810))
- Fix `go.opentelemetry.io/auto/examples/rolldice` build. ([#2894](https://github.com/open-telemetry/opentelemetry-go-instrumentation/pull/2894))

## [v0.23.0/v1.2.0] - 2025-09-10

Expand Down
6 changes: 3 additions & 3 deletions examples/rolldice/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ services:
jaeger:
image: jaegertracing/jaeger:2.11.0@sha256:b585df1b6299bbbd16bf7c679da30389349736e4b6bc8f4f500142a75bf26ca8
ports:
- "16686:16686" # Web HTTP
- "16686:16686" # Web HTTP
restart: unless-stopped
user:
build:
context: ./user/
dockerfile: ./Dockerfile
context: ../../
dockerfile: ./examples/rolldice/user/Dockerfile
pid: "host"
ports:
- "8082:8082"
Expand Down
8 changes: 5 additions & 3 deletions examples/rolldice/user/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM golang:1.25.1@sha256:d7098379b7da665ab25b99795465ec320b1ca9d4addb9f77409c4827dc904211
WORKDIR /usr/src/user
WORKDIR /usr/src/go.opentelemetry.io/auto/examples/rolldice/user
# Use the local SDK copy.
COPY ./sdk /usr/src/go.opentelemetry.io/auto/sdk
# Copy go.mod for better layer caching
COPY ./go.mod ./go.sum ./
COPY ./examples/rolldice/user/go.mod ./examples/rolldice/user/go.sum ./
RUN --mount=type=cache,target=/go/pkg go mod download && go mod verify
COPY . .
COPY ./examples/rolldice/user/ ./
RUN --mount=type=cache,target=/root/.cache/go-build \
--mount=type=cache,target=/go/pkg \
go build -v -o /usr/local/bin/user ./server/...
Expand Down
Loading