Skip to content

Commit fda7af1

Browse files
author
erl-100
committed
update comment
1 parent 07bf097 commit fda7af1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

alloy/config.alloy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ discovery.relabel "docker_logs" {
1313

1414
// discovery.docker sees every container on the host, not just this
1515
// project's - keep only our own so multiple Eth Docker installs on one
16-
// host don't ship each other's logs. Falls back to matching everything
17-
// (today's behavior) if resolving COMPOSE_PROJECT_NAME ever fails,
18-
// rather than matching nothing.
16+
// host don't ship each other's logs. Falls back to matching every
17+
// container on the host if resolving COMPOSE_PROJECT_NAME ever fails,
18+
// rather than matching none.
1919
rule {
2020
source_labels = ["__meta_docker_container_label_com_docker_compose_project"]
2121
regex = coalesce(sys.env("COMPOSE_PROJECT_NAME"), ".*")
@@ -51,8 +51,8 @@ discovery.relabel "docker_metrics" {
5151
// discovery.docker sees every container on the host, not just this
5252
// project's - keep only our own so multiple Eth Docker installs on one
5353
// host don't scrape/ship each other's metrics. Falls back to matching
54-
// everything (today's behavior) if resolving COMPOSE_PROJECT_NAME ever
55-
// fails, rather than matching nothing.
54+
// every container on the host if resolving COMPOSE_PROJECT_NAME ever
55+
// fails, rather than matching none.
5656
rule {
5757
source_labels = ["__meta_docker_container_label_com_docker_compose_project"]
5858
regex = coalesce(sys.env("COMPOSE_PROJECT_NAME"), ".*")

0 commit comments

Comments
 (0)