Skip to content

Commit

Permalink
Merge pull request #69 from apollographql/otel
Browse files Browse the repository at this point in the history
Remove support for legacy otel otlp/http port and add new default port
  • Loading branch information
prasek authored Mar 15, 2022
2 parents d74acf6 + 81a9363 commit bc04563
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docker-compose.otel-collector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ services:
- APOLLO_SCHEMA_CONFIG_EMBEDDED=true
- APOLLO_OTEL_EXPORTER_TYPE=collector
- APOLLO_OTEL_EXPORTER_HOST=collector
- APOLLO_OTEL_EXPORTER_PORT=4318
volumes:
- ./supergraph.graphql:/etc/config/supergraph.graphql
ports:
Expand All @@ -17,18 +18,21 @@ services:
environment:
- APOLLO_OTEL_EXPORTER_TYPE=collector
- APOLLO_OTEL_EXPORTER_HOST=collector
- APOLLO_OTEL_EXPORTER_PORT=4318
inventory:
container_name: inventory
build: ./subgraphs/inventory
environment:
- APOLLO_OTEL_EXPORTER_TYPE=collector
- APOLLO_OTEL_EXPORTER_HOST=collector
- APOLLO_OTEL_EXPORTER_PORT=4318
users:
container_name: users
build: ./subgraphs/users
environment:
- APOLLO_OTEL_EXPORTER_TYPE=collector
- APOLLO_OTEL_EXPORTER_HOST=collector
- APOLLO_OTEL_EXPORTER_PORT=4318
pandas:
container_name: pandas
build: ./subgraphs/pandas
Expand All @@ -41,7 +45,7 @@ services:
ports:
- "9464:9464"
- "4317:4317"
- "55681:55681"
- "4318:4318"
- "55679:55679"
depends_on:
- zipkin
Expand Down
5 changes: 4 additions & 1 deletion docker-compose.router-otel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,21 @@ services:
environment:
- APOLLO_OTEL_EXPORTER_TYPE=collector
- APOLLO_OTEL_EXPORTER_HOST=collector
- APOLLO_OTEL_EXPORTER_PORT=4318
inventory:
container_name: inventory
build: ./subgraphs/inventory
environment:
- APOLLO_OTEL_EXPORTER_TYPE=collector
- APOLLO_OTEL_EXPORTER_HOST=collector
- APOLLO_OTEL_EXPORTER_PORT=4318
users:
container_name: users
build: ./subgraphs/users
environment:
- APOLLO_OTEL_EXPORTER_TYPE=collector
- APOLLO_OTEL_EXPORTER_HOST=collector
- APOLLO_OTEL_EXPORTER_PORT=4318
pandas:
container_name: pandas
build: ./subgraphs/pandas
Expand All @@ -38,7 +41,7 @@ services:
ports:
- "9464:9464"
- "4317:4317"
- "55681:55681"
- "4318:4318"
- "55679:55679"
depends_on:
- zipkin
Expand Down

0 comments on commit bc04563

Please sign in to comment.