Skip to content

Commit

Permalink
Merge branch 'main' into accountservice.fix-memory-limit
Browse files Browse the repository at this point in the history
  • Loading branch information
puckpuck committed Jul 12, 2024
2 parents 5692e46 + a38aa6a commit f8049a1
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ IMAGE_NAME=ghcr.io/open-telemetry/demo
DEMO_VERSION=latest

# Dependent images
COLLECTOR_CONTRIB_IMAGE=otel/opentelemetry-collector-contrib:0.102.1
COLLECTOR_CONTRIB_IMAGE=otel/opentelemetry-collector-contrib:0.104.0
FLAGD_IMAGE=ghcr.io/open-feature/flagd:v0.10.2
GRAFANA_IMAGE=grafana/grafana:10.4.3
JAEGERTRACING_IMAGE=jaegertracing/all-in-one:1.57
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ on:
jobs:
build_images:
if: github.repository == 'open-telemetry/opentelemetry-demo'
uses: ./.github/workflows/component_build_images.yml
uses: ./.github/workflows/component-build-images.yml
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
build_images:
uses: ./.github/workflows/component_build-images.yml
uses: ./.github/workflows/component-build-images.yml
with:
push: false
version: 'dev'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build_and_push_images:
uses: ./.github/workflows/component_build-images.yml
uses: ./.github/workflows/component-build-images.yml
if: github.repository == 'open-telemetry/opentelemetry-demo'
with:
push: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build_and_push_images:
uses: ./.github/workflows/component_build-images.yml
uses: ./.github/workflows/component-build-images.yml
if: github.repository == 'open-telemetry/opentelemetry-demo'
with:
push: true
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ the release.
([#1634](https://github.com/open-telemetry/opentelemetry-demo/pull/1634))
* [otel-col] Add docker stats receiver
([#1650](https://github.com/open-telemetry/opentelemetry-demo/pull/1650))
* [otel-col] Set OTLP receiver endpoint to avoid breaking changes
([#1662](https://github.com/open-telemetry/opentelemetry-demo/pull/1662))

## 1.10.0

Expand Down
5 changes: 5 additions & 0 deletions docker-compose-tests_include-override.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ services:

otelcol:
command: [ "--config=/etc/otelcol-config.yml", "--config=/etc/otelcol-config-tracetest.yml" ]
environment:
- ENVOY_PORT
- OTEL_COLLECTOR_HOST
- OTEL_COLLECTOR_PORT_GRPC
- OTEL_COLLECTOR_PORT_HTTP
volumes:
- ${DOCKER_SOCK}:/var/run/docker.sock:ro
- ${OTEL_COLLECTOR_CONFIG}:/etc/otelcol-config.yml
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.minimal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,9 @@ services:
logging: *logging
environment:
- ENVOY_PORT
- OTEL_COLLECTOR_HOST
- OTEL_COLLECTOR_PORT_GRPC
- OTEL_COLLECTOR_PORT_HTTP

# Prometheus
prometheus:
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,9 @@ services:
logging: *logging
environment:
- ENVOY_PORT
- OTEL_COLLECTOR_HOST
- OTEL_COLLECTOR_PORT_GRPC
- OTEL_COLLECTOR_PORT_HTTP

# Prometheus
prometheus:
Expand Down
2 changes: 2 additions & 0 deletions src/otelcollector/otelcol-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ receivers:
otlp:
protocols:
grpc:
endpoint: ${env:OTEL_COLLECTOR_HOST}:${env:OTEL_COLLECTOR_PORT_GRPC}
http:
endpoint: ${env:OTEL_COLLECTOR_HOST}:${env:OTEL_COLLECTOR_PORT_HTTP}
cors:
allowed_origins:
- "http://*"
Expand Down

0 comments on commit f8049a1

Please sign in to comment.