Skip to content

Commit

Permalink
chore: add OTEL_COLLECTOR_PORT env for frontendproxy to support 1.4 i…
Browse files Browse the repository at this point in the history
…mage
  • Loading branch information
chigia001 committed Jul 17, 2023
1 parent 28a6c74 commit 8a45d39
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ release.
([#938](https://github.com/open-telemetry/opentelemetry-demo/pull/938))
* [shippingservice] Update Rust dependencies and add TelemetryResourceDetector
([#972](https://github.com/open-telemetry/opentelemetry-demo/pull/972))
* Add OTEL_COLLECTOR_PORT env for frontendproxy to support 1.4 image
([#981](https://github.com/open-telemetry/opentelemetry-demo/pull/981))

## 1.4.0

Expand Down
6 changes: 4 additions & 2 deletions docker-compose.minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,10 @@ services:
- GRAFANA_SERVICE_HOST
- JAEGER_SERVICE_PORT
- JAEGER_SERVICE_HOST
- OTEL_COLLECTOR_HOST
- OTEL_COLLECTOR_PORT
- OTEL_COLLECTOR_PORT_GRPC
- OTEL_COLLECTOR_PORT_HTTP
# Deprecated
- OTEL_COLLECTOR_PORT=${OTEL_COLLECTOR_PORT_GRPC}
- ENVOY_PORT
depends_on:
frontend:
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ services:
- OTEL_COLLECTOR_HOST
- OTEL_COLLECTOR_PORT_GRPC
- OTEL_COLLECTOR_PORT_HTTP
# Deprecated
- OTEL_COLLECTOR_PORT=${OTEL_COLLECTOR_PORT_GRPC}
- ENVOY_PORT
depends_on:
frontend:
Expand Down
3 changes: 3 additions & 0 deletions kubernetes/opentelemetry-demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7864,6 +7864,9 @@ spec:
value: "4317"
- name: OTEL_COLLECTOR_PORT_HTTP
value: "4318"
# Deprecated
- name: OTEL_COLLECTOR_PORT
value: "4317"
- name: OTEL_COLLECTOR_HOST
value: $(OTEL_COLLECTOR_NAME)
- name: OTEL_RESOURCE_ATTRIBUTES
Expand Down

0 comments on commit 8a45d39

Please sign in to comment.