Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use alpine to replace ELOed centos #91

Merged
merged 1 commit into from
Sep 29, 2024
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
2 changes: 1 addition & 1 deletion cloud/observability/promql-to-dd-go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN go get -d -v ./...
RUN CGO_ENABLED=${CGO_ENABLED:-0} GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
go build -o ${GOPATH:-/go}/bin/ ${GOPATH:-/go}/src/promql-to-dd-go/cmd/promqltodd

FROM --platform=${BUILDPLATFORM:-linux/amd64} centos:latest
FROM --platform=${BUILDPLATFORM:-linux/amd64} alpine:latest

COPY --from=builder ${GOPATH:-/go}/bin/promqltodd /

Expand Down
2 changes: 1 addition & 1 deletion cloud/observability/promql-to-scrape/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN go get -d -v ./...
RUN CGO_ENABLED=${CGO_ENABLED:-0} GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
go build -o ${GOPATH:-/go}/bin/ ${GOPATH:-/go}/src/promql-to-scrape/cmd/promql-to-scrape

FROM --platform=${BUILDPLATFORM:-linux/amd64} centos:latest
FROM --platform=${BUILDPLATFORM:-linux/amd64} alpine:latest

COPY --from=builder ${GOPATH:-/go}/bin/promql-to-scrape /

Expand Down
2 changes: 1 addition & 1 deletion cloud/observability/promql-to-scrape/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ This will generate an example config at `config.yaml` that you may use. It looks
- For gauges, it simply queries for `gauge`
- For histograms, it does a p99 aggregated by `temporal_namespace` and `operation`. `histogram_quantile(0.99, sum(rate(metric[1m])) by (le, operation, temporal_namespace)`

Modify at your own risk. You may find you'd like to add a global latency across all namespaces for instance. You can add those queries to your config file.
Modify at your own risk. You may find you'd like to add a global latency across all namespaces for instance. You can add those queries to your config file.
Loading