-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from tryretool/vee/add-ecs-telemetry
Add telemetry support for ECS
- Loading branch information
Showing
7 changed files
with
374 additions
and
83 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
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,8 @@ | ||
# This file is provided as an example of custom configuration on top of the AWS | ||
# fluent-bit sidecar image. The default image referenced in locals.tf is built | ||
# and supplied by Retool. | ||
|
||
FROM amazon/aws-for-fluent-bit:2.32.3 AS retool-aws-for-fluent-bit | ||
|
||
ADD retool-entrypoint.sh /retool-entrypoint.sh | ||
CMD /retool-entrypoint.sh |
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,15 @@ | ||
#!/bin/bash | ||
|
||
set -euf -o pipefail | ||
|
||
config=$(cat <<EOF | ||
[OUTPUT] | ||
Name forward | ||
Match retool-firelens* | ||
Host telemetry.${SERVICE_DISCOVERY_NAMESPACE} | ||
Port 9000 | ||
EOF | ||
) | ||
|
||
echo "$config" > /extra.conf | ||
exec /entrypoint.sh |
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
Oops, something went wrong.