Skip to content

Commit

Permalink
Merge branch 'main' into grafana-tf
Browse files Browse the repository at this point in the history
  • Loading branch information
r33drichards authored Feb 11, 2025
2 parents 5171f4a + fcd9ca4 commit d270e7c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/nomad/client-proxy.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ job "client-proxy" {
cpu = 1000
}

env {
OTEL_COLLECTOR_GRPC_ENDPOINT = "${otel_collector_grpc_endpoint}"
}

config {
network_mode = "host"
image = "${image_name}"
Expand Down
2 changes: 2 additions & 0 deletions packages/nomad/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ resource "nomad_job" "client_proxy" {
environment = var.environment

image_name = var.client_proxy_docker_image_digest

otel_collector_grpc_endpoint = "localhost:4317"
})
}

Expand Down

0 comments on commit d270e7c

Please sign in to comment.