Skip to content

Commit 888f18c

Browse files
chore(docker compose): add container name as tag attribute to contain… (#1495)
* chore(docker compose): add container name as tag attribute to container logs Signed-off-by: Harry Kimpel <harrykimpel@hotmail.com> * chore(docker compose): add container name as tag attribute to container logs Signed-off-by: Harry Kimpel <harrykimpel@hotmail.com> * chore(docker compose): add container name as tag attribute to container logs Signed-off-by: Harry Kimpel <harrykimpel@hotmail.com> --------- Signed-off-by: Harry Kimpel <harrykimpel@hotmail.com> Co-authored-by: Austin Parker <austin@ap2.io>
1 parent 5cef0e7 commit 888f18c

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ the release.
99

1010
## 1.9.0
1111

12+
* [chore] docker compose: add container name as tag attribute to container logs
1213
* [featureflag] deprecate in favor of flagd
1314
([#1338](https://github.com/open-telemetry/opentelemetry-demo/pull/1388))
1415
* [checkoutservice] add producer interceptor for tracing

docker-compose.minimal.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ x-default-logging: &logging
77
options:
88
max-size: "5m"
99
max-file: "2"
10+
tag: "{{.Name}}"
1011

1112
networks:
1213
default:

docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ x-default-logging: &logging
77
options:
88
max-size: "5m"
99
max-file: "2"
10+
tag: "{{.Name}}"
1011

1112
networks:
1213
default:

0 commit comments

Comments
 (0)