diff --git a/cloud/observability/promql-to-dd-go/Dockerfile b/cloud/observability/promql-to-dd-go/Dockerfile index 372f7ae..34402e3 100644 --- a/cloud/observability/promql-to-dd-go/Dockerfile +++ b/cloud/observability/promql-to-dd-go/Dockerfile @@ -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 / diff --git a/cloud/observability/promql-to-scrape/Dockerfile b/cloud/observability/promql-to-scrape/Dockerfile index 6ce71db..58731c1 100644 --- a/cloud/observability/promql-to-scrape/Dockerfile +++ b/cloud/observability/promql-to-scrape/Dockerfile @@ -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 / diff --git a/cloud/observability/promql-to-scrape/README.md b/cloud/observability/promql-to-scrape/README.md index 95141c5..062c325 100644 --- a/cloud/observability/promql-to-scrape/README.md +++ b/cloud/observability/promql-to-scrape/README.md @@ -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. \ No newline at end of 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.