Skip to content

Commit

Permalink
configuring tracing #deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardoVale committed Aug 28, 2024
1 parent 1ab41c1 commit 6ad0bfa
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nomad/controlplane-ratelimit/common.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ env_vars = [
},
{
key = "DISABLE_STATS"
value = "true"
}
value = "false"
},
]

env_secrets = [
Expand Down
24 changes: 24 additions & 0 deletions nomad/controlplane-ratelimit/our1.hcl
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
app_count = 1


env_vars = [
{
key = "TRACING_ENABLED"
value = "true"
},
{
key = "TRACING_SERVICE_NAME"
value = "controlplane-ratelimit"
},
{
key = "TRACING_SERVICE_INSTANCE_ID"
value = "$${NOMAD_ALLOC_ID}"
}
{
key = "TRACING_EXPORTER_PROTOCOL"
value = "grpc"
},
{
key = "OTEL_EXPORTER_OTLP_ENDPOINT"
value = "127.0.0.1:26000"
}
]

0 comments on commit 6ad0bfa

Please sign in to comment.