Skip to content

Commit

Permalink
Correct outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgin314 committed Mar 6, 2025
1 parent 7b19869 commit be3dbe1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ locals {
tempo_internal_hostname = format("tempo.%v.svc.cluster.local", var.namespace)
tempo_internal_port_number = 3100
tempo_internal_url = format("http://%v:%v/", local.tempo_internal_hostname, local.tempo_internal_port_number)

tempo_otlp_port_number = 4317
tempo_otlp_url = format("http://%v:%v", local.tempo_internal_hostname, local.tempo_otlp_port_number)
}

################################################################################
Expand Down
11 changes: 10 additions & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,23 @@
################################################################################

output "tempo_internal_endpoint" {
description = "internal endpoint for prometheus"
description = "internal endpoint for tempo"
value = {
hostname = local.tempo_internal_hostname
port_number = local.tempo_internal_port_number
url = local.tempo_internal_url
}
}

output "tempo_otlp_endpoint" {
description = "internal otlp endpoint for tempo"
value = {
hostname = local.tempo_internal_hostname
port_number = local.tempo_otlp_port_number
url = local.tempo_otlp_url
}
}

output "module_name" {
description = "The name of this module."
value = local.module_name
Expand Down

0 comments on commit be3dbe1

Please sign in to comment.