We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7f91554 + eb013f7 commit 4ab8734Copy full SHA for 4ab8734
1 file changed
iac/modules/job-otel-collector-nomad-server/configs/otel-collector-nomad-server.yaml
@@ -118,7 +118,8 @@ processors:
118
119
transform/set-name:
120
metric_statements:
121
- - set(datapoint.attributes["service.instance.id"], resource.attributes["host.name"])
+ # 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"])
123
- set(datapoint.attributes["deployment.environment"], resource.attributes["cloud.account.id"])
124
- delete_key(resource.attributes, "service.name")
125
0 commit comments