Prometheus: UTF8 metrics for prometheus devenv (#98237)

* utf8 metrics for prometheus devenv

* add label value with quotes
This commit is contained in:
ismail simsek
2025-01-13 19:28:50 +02:00
committed by GitHub
parent c3b0eb6277
commit 38c4f3d5ef
9 changed files with 200 additions and 3 deletions
@@ -0,0 +1,15 @@
FROM golang:latest AS builder
ADD main.go /
ADD go.mod /
ADD go.sum /
WORKDIR /
RUN go mod download
RUN CGO_ENABLED=0 GOOS=linux go build -o main .
FROM scratch
WORKDIR /
EXPOSE 9112
COPY --from=builder /main /main
ENTRYPOINT ["/main"]