-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
39859f5
commit 549f908
Showing
6 changed files
with
36 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
go.sum | ||
solace_exporter | ||
solace_exporter.exe | ||
solace_prometheus_exporter | ||
*.exe | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,12 +14,12 @@ RUN go get -d -v ./... \ | |
&& go build \ | ||
-a \ | ||
-ldflags '-s -w -extldflags "-static"' \ | ||
-o /bin/solace_exporter | ||
-o /bin/solace_prometheus_exporter | ||
|
||
|
||
|
||
FROM scratch | ||
LABEL maintainer="Daniel Brunold <[email protected]>" | ||
LABEL maintainer="https://github.com/solacecommunity/solace-prometheus-exporter" | ||
|
||
ENV SOLACE_LISTEN_ADDR="0.0.0.0:9628" | ||
ENV SOLACE_SCRAPE_URI=http://localhost:8080 | ||
|
@@ -30,9 +30,9 @@ ENV SOLACE_SSL_VERIFY="false" | |
ENV SOLACE_REDUNDANCY="false" | ||
|
||
EXPOSE 9628 | ||
ENTRYPOINT [ "/solace_exporter" ] | ||
ENTRYPOINT [ "/solace_prometheus_exporter" ] | ||
CMD [ ] | ||
|
||
COPY --from=builder /etc/passwd /etc/passwd | ||
|
||
COPY --from=builder /bin/solace_exporter /solace_exporter | ||
COPY --from=builder /bin/solace_prometheus_exporter /solace_prometheus_exporter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.