Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shippingservice rust #179

Merged
merged 20 commits into from
Jul 13, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
improved dependencies and depends_on
  • Loading branch information
GaryPWhite committed Jun 30, 2022
commit 108bfdf5a864f2c9e9e17f4481a86209b627e9d2
30 changes: 29 additions & 1 deletion compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ services:
- SHIPPING_SERVICE_ADDR
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_RESOURCE_ATTRIBUTES=service.name=checkoutservice
depends_on:
- cartservice
- currencyservice
- emailservice
- paymentservice
- productcatalogservice
- shippingservice
- otelcol

# CurrencyService
currencyservice:
Expand All @@ -85,7 +93,9 @@ services:
- PORT=${CURRENCY_SERVICE_PORT}
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_RESOURCE_ATTRIBUTES=service.name=currencyservice

depends_on:
- otelcol

# EmailService
emailservice:
build:
Expand All @@ -97,6 +107,8 @@ services:
- OTEL_PYTHON_LOG_CORRELATION=true
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_RESOURCE_ATTRIBUTES=service.name=emailservice
depends_on:
- otelcol

# Frontend
frontend:
Expand All @@ -115,6 +127,14 @@ services:
- SHIPPING_SERVICE_ADDR
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_RESOURCE_ATTRIBUTES=service.name=frontend
depends_on:
- cartservice
- checkoutservice
- currencyservice
- productcatalogservice
- recommendationservice
- shippingservice
- otelcol

# PaymentService
paymentservice:
Expand All @@ -126,6 +146,8 @@ services:
- PORT=${PAYMENT_SERVICE_PORT}
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_RESOURCE_ATTRIBUTES=service.name=paymentservice
depends_on:
- otelcol

# ProductCatalogService
productcatalogservice:
Expand All @@ -137,6 +159,8 @@ services:
- PORT=${PRODUCT_CATALOG_SERVICE_PORT}
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_RESOURCE_ATTRIBUTES=service.name=productcatalogservice
depends_on:
- otelcol

# RecommendationService
recommendationservice:
Expand All @@ -150,6 +174,8 @@ services:
- OTEL_PYTHON_LOG_CORRELATION=true
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_RESOURCE_ATTRIBUTES=service.name=recommendationservice
depends_on:
- otelcol

# ShippingService
shippingservice:
Expand All @@ -161,6 +187,8 @@ services:
- PORT=${SHIPPING_SERVICE_PORT}
- OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- OTEL_RESOURCE_ATTRIBUTES=service.name=shippingservice
depends_on:
- otelcol

# LoadGenerator
loadgenerator:
Expand Down