From 2bf917c2f8ad4940ce7b1ecee7ef3335a784897b Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Fri, 28 Apr 2023 17:54:02 +0100 Subject: [PATCH] Include workaround for duplicate PCI devices ``` * [from Gatherer #2] collected metric "redfish_system_pcie_device_health_state" { label: label: label: label: gauge: } was collected before with the same name and label values ``` --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1ac9f52..24198d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM golang:alpine as builder RUN apk add --no-cache git -RUN git clone https://github.com/jovial/redfish_exporter /build && cd /build && git checkout feature/log_counts +RUN git clone https://github.com/jovial/redfish_exporter /build && cd /build && git checkout 59d1061fb0370cf72e1f813dfcc425f139be49d7 WORKDIR /build RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o main . FROM scratch