Skip to content

Commit 4ab8734

Browse files
authored
Merge branch 'main' into arm64-support
2 parents 7f91554 + eb013f7 commit 4ab8734

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

iac/modules/job-otel-collector-nomad-server/configs/otel-collector-nomad-server.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ processors:
118118

119119
transform/set-name:
120120
metric_statements:
121-
- set(datapoint.attributes["service.instance.id"], resource.attributes["host.name"])
121+
# We don't want to set host name here as we want to report the nomad server, not the otel collector's host
122+
# - set(datapoint.attributes["service.instance.id"], resource.attributes["host.name"])
122123
- set(datapoint.attributes["deployment.environment"], resource.attributes["cloud.account.id"])
123124
- delete_key(resource.attributes, "service.name")
124125

0 commit comments

Comments
 (0)