Use GRPC to report Elixir metrics

This commit is contained in:
Andrew Dryga
2023-09-12 21:20:03 -06:00
parent 1b8db7e8c3
commit 3ed9939ffd
2 changed files with 2 additions and 1 deletions

View File

@@ -126,6 +126,7 @@ if config_env() == :prod do
config :opentelemetry_exporter,
otlp_protocol: :http_protobuf,
otlp_traces_protocol: :http_protobuf,
otlp_endpoint: System.get_env("OTLP_ENDPOINT")
end

View File

@@ -31,7 +31,7 @@ locals {
},
{
name = "OTLP_ENDPOINT",
value = "127.0.0.1:4317"
value = "127.0.0.1:4318"
}
], var.application_environment_variables)