You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM golang:1.15-alpine
WORKDIR /src
RUN apk --no-cache add git
COPY *.go go.mod go.sum ./
RUN CGO_ENABLED=0 GOOS=linux go build -o /bin/prometheus-msk-discovery .
FROM alpine:latest
RUN apk --no-cache add ca-certificates
COPY --from=0 /bin/prometheus-msk-discovery /bin/
ENTRYPOINT ["prometheus-msk-discovery"]
CMD ["/bin/prometheus-msk-discovery", "-config.write-to", "config_out/msk_file_sd.yml"]
prometheus.yml file
scrape_configs:
job_name: 'msk'
file_sd_configs:
files:
/prometheus/config_out/msk_file_sd.yml
refresh_interval: 10m
metric_relabel_configs:
regex: task_arn
action: labeldrop
added side car container using efs volume and mount point is /config_out
No description provided.
The text was updated successfully, but these errors were encountered: