|
| 1 | + |
| 2 | + |
| 3 | +# Images |
| 4 | +IMAGE_VERSION=1.6.0 |
| 5 | +IMAGE_NAME=ghcr.io/open-telemetry/demo |
| 6 | +TRACETEST_IMAGE_VERSION=v0.14.5 |
| 7 | + |
| 8 | +# Demo Platform |
| 9 | +ENV_PLATFORM=local |
| 10 | + |
| 11 | +# OpenTelemetry Collector |
| 12 | +OTEL_COLLECTOR_HOST=otelcol |
| 13 | +OTEL_COLLECTOR_PORT_GRPC=4317 |
| 14 | +OTEL_COLLECTOR_PORT_HTTP=4318 |
| 15 | +OTEL_EXPORTER_OTLP_ENDPOINT=http://${OTEL_COLLECTOR_HOST}:${OTEL_COLLECTOR_PORT_GRPC} |
| 16 | +PUBLIC_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:8080/otlp-http/v1/traces |
| 17 | + |
| 18 | +# OpenTelemetry Resource Definitions |
| 19 | +OTEL_RESOURCE_ATTRIBUTES="service.namespace=opentelemetry-demo" |
| 20 | + |
| 21 | +# Metrics Temporality |
| 22 | +OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative |
| 23 | + |
| 24 | +# ****************** |
| 25 | +# Core Demo Services |
| 26 | +# ****************** |
| 27 | +# Ad Service |
| 28 | +AD_SERVICE_PORT=9555 |
| 29 | +AD_SERVICE_ADDR=adservice:${AD_SERVICE_PORT} |
| 30 | + |
| 31 | +# Cart Service |
| 32 | +CART_SERVICE_PORT=7070 |
| 33 | +CART_SERVICE_ADDR=cartservice:${CART_SERVICE_PORT} |
| 34 | + |
| 35 | +# Checkout Service |
| 36 | +CHECKOUT_SERVICE_PORT=5050 |
| 37 | +CHECKOUT_SERVICE_ADDR=checkoutservice:${CHECKOUT_SERVICE_PORT} |
| 38 | + |
| 39 | +# Currency Service |
| 40 | +CURRENCY_SERVICE_PORT=7001 |
| 41 | +CURRENCY_SERVICE_ADDR=currencyservice:${CURRENCY_SERVICE_PORT} |
| 42 | + |
| 43 | +# Email Service |
| 44 | +EMAIL_SERVICE_PORT=6060 |
| 45 | +EMAIL_SERVICE_ADDR=http://emailservice:${EMAIL_SERVICE_PORT} |
| 46 | + |
| 47 | +# Feature Flag Service |
| 48 | +FEATURE_FLAG_SERVICE_PORT=8081 |
| 49 | +FEATURE_FLAG_SERVICE_ADDR=featureflagservice:${FEATURE_FLAG_SERVICE_PORT} |
| 50 | +FEATURE_FLAG_SERVICE_HOST=feature-flag-service |
| 51 | +FEATURE_FLAG_GRPC_SERVICE_PORT=50053 |
| 52 | +FEATURE_FLAG_GRPC_SERVICE_ADDR=featureflagservice:${FEATURE_FLAG_GRPC_SERVICE_PORT} |
| 53 | + |
| 54 | +# Frontend |
| 55 | +FRONTEND_PORT=8080 |
| 56 | +FRONTEND_ADDR=frontend:${FRONTEND_PORT} |
| 57 | + |
| 58 | +# Frontend Proxy (Envoy) |
| 59 | +FRONTEND_HOST=frontend |
| 60 | +ENVOY_PORT=8080 |
| 61 | +FRONTEND_PROXY_ADDR=frontend-proxy:${ENVOY_PORT} |
| 62 | + |
| 63 | +# Load Generator |
| 64 | +LOCUST_WEB_PORT=8089 |
| 65 | +LOCUST_USERS=10 |
| 66 | +LOCUST_HOST=http://${FRONTEND_PROXY_ADDR} |
| 67 | +LOCUST_WEB_HOST=loadgenerator |
| 68 | +LOCUST_AUTOSTART=true |
| 69 | +LOCUST_HEADLESS=false |
| 70 | +LOCUST_BROWSER_TRAFFIC_ENABLED=false |
| 71 | + |
| 72 | +# Payment Service |
| 73 | +PAYMENT_SERVICE_PORT=50051 |
| 74 | +PAYMENT_SERVICE_ADDR=paymentservice:${PAYMENT_SERVICE_PORT} |
| 75 | + |
| 76 | +# Product Catalog Service |
| 77 | +PRODUCT_CATALOG_SERVICE_PORT=3550 |
| 78 | +PRODUCT_CATALOG_SERVICE_ADDR=productcatalogservice:${PRODUCT_CATALOG_SERVICE_PORT} |
| 79 | + |
| 80 | +# Quote Service |
| 81 | +QUOTE_SERVICE_PORT=8090 |
| 82 | +QUOTE_SERVICE_ADDR=http://quoteservice:${QUOTE_SERVICE_PORT} |
| 83 | + |
| 84 | +# Recommendation Service |
| 85 | +RECOMMENDATION_SERVICE_PORT=9001 |
| 86 | +RECOMMENDATION_SERVICE_ADDR=recommendationservice:${RECOMMENDATION_SERVICE_PORT} |
| 87 | + |
| 88 | +# Shipping Service |
| 89 | +SHIPPING_SERVICE_PORT=50050 |
| 90 | +SHIPPING_SERVICE_ADDR=shippingservice:${SHIPPING_SERVICE_PORT} |
| 91 | + |
| 92 | +# ****************** |
| 93 | +# Dependent Services |
| 94 | +# ****************** |
| 95 | +# Kafka |
| 96 | +KAFKA_SERVICE_PORT=9092 |
| 97 | +KAFKA_SERVICE_ADDR=kafka:${KAFKA_SERVICE_PORT} |
| 98 | + |
| 99 | +# Redis |
| 100 | +REDIS_PORT=6379 |
| 101 | +REDIS_ADDR=redis-cart:${REDIS_PORT} |
| 102 | + |
| 103 | +# ******************** |
| 104 | +# Telemetry Components |
| 105 | +# ******************** |
| 106 | +# Grafana |
| 107 | +GRAFANA_SERVICE_PORT=3000 |
| 108 | +GRAFANA_SERVICE_HOST=grafana |
| 109 | + |
| 110 | +# Jaeger |
| 111 | +JAEGER_SERVICE_PORT=16686 |
| 112 | +JAEGER_SERVICE_HOST=jaeger |
| 113 | + |
| 114 | +# Prometheus |
| 115 | +PROMETHEUS_SERVICE_PORT=9090 |
| 116 | +PROMETHEUS_SERVICE_HOST=prometheus |
| 117 | +PROMETHEUS_ADDR=${PROMETHEUS_SERVICE_HOST}:${PROMETHEUS_SERVICE_PORT} |
0 commit comments