Skip to content

Commit

Permalink
[featureflag] - remove hardcoded otlp endpoint (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
puckpuck authored Aug 10, 2022
1 parent 5e0e4e6 commit 0f4ccde
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ services:
- FEATURE_FLAG_SERVICE_PORT
- FEATURE_FLAG_GRPC_SERVICE_PORT
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=grpc
- OTEL_SERVICE_NAME=featureflagservice
- DATABASE_URL=ecto://ffs:ffs@ffs_postgres:5432/ffs
depends_on:
Expand Down
4 changes: 0 additions & 4 deletions src/featureflagservice/config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ config :grpcbox,
]

if config_env() == :prod do
config :opentelemetry_exporter,
otlp_endpoint: "http://otelcol:4317",
otlp_protocol: :grpc

database_url =
System.get_env("DATABASE_URL") ||
raise """
Expand Down

0 comments on commit 0f4ccde

Please sign in to comment.