-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI Localenv -> Configure traefik rules for opentelemetry, align healt…
…hcheck commands
- Loading branch information
1 parent
c5fca4b
commit 20ab055
Showing
3 changed files
with
59 additions
and
31 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
.ci/deploy/localenv/data/telemetry/Dockerfile_otel-collector
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ARG OTEL_COLLECTOR_VERSION=0.97.0 | ||
|
||
FROM otel/opentelemetry-collector-contrib:$OTEL_COLLECTOR_VERSION | ||
|
||
# https://github.com/tarampampam/curl-docker | ||
# curl static binary file in a scratch docker image | ||
COPY --from=ghcr.io/tarampampam/curl:8.6.0 /bin/curl /bin/curl | ||
|
||
# Docs: <https://docs.docker.com/engine/reference/builder/#healthcheck> | ||
HEALTHCHECK --interval=5s --timeout=2s --retries=2 --start-period=2s CMD [ \ | ||
"/bin/curl", "--fail", "--noproxy", "*", "http://localhost:13133/" \ | ||
] |
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
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