Set telemetry endpoints via env vars for rust tasks
@@ -648,6 +648,7 @@ job "grapl-core" {
DEST_BUCKET_NAME = var.subgraphs_merged_bucket
SOURCE_QUEUE_URL = var.graph_merger_queue
DEAD_LETTER_QUEUE_URL = var.graph_merger_dead_letter_queue
+ OTEL_EXPORTER_JAEGER_ENDPOINT = local.tracing_jaeger_endpoint
}
}
@@ -704,6 +705,7 @@ job "grapl-core" {
DEST_BUCKET_NAME = var.subgraphs_generated_bucket
SOURCE_QUEUE_URL = var.node_identifier_queue
DEAD_LETTER_QUEUE_URL = var.node_identifier_retry_queue
+ OTEL_EXPORTER_JAEGER_ENDPOINT = local.tracing_jaeger_endpoint
}
service {
@@ -743,6 +745,7 @@ job "grapl-core" {
DEST_BUCKET_NAME = var.subgraphs_generated_bucket
SOURCE_QUEUE_URL = var.node_identifier_retry_queue
DEAD_LETTER_QUEUE_URL = var.node_identifier_dead_letter_queue
+ OTEL_EXPORTER_JAEGER_ENDPOINT = local.tracing_jaeger_endpoint
}
service {
@@ -778,6 +781,8 @@ job "grapl-core" {
DEST_BUCKET_NAME = var.analyzer_dispatched_bucket
SOURCE_QUEUE_URL = var.analyzer_dispatcher_queue
DEAD_LETTER_QUEUE_URL = var.analyzer_dispatcher_dead_letter_queue
+ # tracing vars
+ OTEL_EXPORTER_JAEGER_ENDPOINT = local.tracing_jaeger_endpoint
}
service {
@@ -1072,6 +1077,7 @@ job "grapl-core" {
REDIS_ENDPOINT = var.redis_endpoint
RUST_LOG = var.rust_log
RUST_BACKTRACE = local.rust_backtrace
+ OTEL_EXPORTER_JAEGER_ENDPOINT = local.tracing_jaeger_endpoint
}
}
}
@@ -1102,6 +1108,7 @@ job "grapl-core" {
REDIS_ENDPOINT = var.redis_endpoint
RUST_LOG = var.rust_log
RUST_BACKTRACE = local.rust_backtrace
+ OTEL_EXPORTER_JAEGER_ENDPOINT = local.tracing_jaeger_endpoint
}
}
}
@@ -1137,6 +1144,7 @@ job "grapl-core" {
ORGANIZATION_MANAGEMENT_DB_PASSWORD = var.organization_management_db_password
ORGANIZATION_MANAGEMENT_DB_PORT = var.organization_management_db_port
ORGANIZATION_MANAGEMENT_DB_USERNAME = var.organization_management_db_username
+ OTEL_EXPORTER_JAEGER_ENDPOINT = local.tracing_jaeger_endpoint
}
}
@@ -1188,6 +1196,7 @@ job "grapl-core" {
PLUGIN_S3_BUCKET_NAME = var.plugin_s3_bucket_name
RUST_BACKTRACE = local.rust_backtrace
RUST_LOG = var.rust_log
+ OTEL_EXPORTER_JAEGER_ENDPOINT = local.tracing_jaeger_endpoint
}
}
@@ -1233,6 +1242,7 @@ job "grapl-core" {
PLUGIN_S3_BUCKET_NAME = var.plugin_s3_bucket_name
RUST_BACKTRACE = local.rust_backtrace
RUST_LOG = var.rust_log
+ OTEL_EXPORTER_JAEGER_ENDPOINT = local.tracing_jaeger_endpoint
}
}
