@@ -182,7 +182,7 @@ services:
182
182
- CURRENCY_SERVICE_PORT
183
183
- VERSION=${IMAGE_VERSION}
184
184
- OTEL_EXPORTER_OTLP_ENDPOINT
185
- - OTEL_RESOURCE_ATTRIBUTES=${OTEL_RESOURCE_ATTRIBUTES},service.name=currencyservice # The C++ SDK does not support OTEL_SERVICE_NAME
185
+ - OTEL_RESOURCE_ATTRIBUTES=${OTEL_RESOURCE_ATTRIBUTES},service.name=currencyservice # The C++ SDK does not support OTEL_SERVICE_NAME
186
186
depends_on :
187
187
otelcol :
188
188
condition : service_started
@@ -517,7 +517,7 @@ services:
517
517
deploy :
518
518
resources :
519
519
limits :
520
- memory : 500M # This is high to enable supporting the recommendationCache feature flag use case
520
+ memory : 500M # This is high to enable supporting the recommendationCache feature flag use case
521
521
restart : unless-stopped
522
522
ports :
523
523
- " ${RECOMMENDATION_SERVICE_PORT}"
@@ -585,12 +585,17 @@ services:
585
585
- FLAGD_METRICS_EXPORTER=otel
586
586
- OTEL_RESOURCE_ATTRIBUTES
587
587
- OTEL_SERVICE_NAME=flagd
588
- command : ["start", "--uri", "file:./etc/flagd/demo.flagd.json"]
588
+ command : [
589
+ " start" ,
590
+ " --uri" ,
591
+ " file:./etc/flagd/demo.flagd.json"
592
+ ]
589
593
ports :
590
594
- 8013
591
595
volumes :
592
596
- ./src/flagd:/etc/flagd
593
- logging : *logging
597
+ logging :
598
+ *logging
594
599
595
600
# Kafka used by Checkout, Accounting, and Fraud Detection services
596
601
kafka :
@@ -613,7 +618,6 @@ services:
613
618
- OTEL_RESOURCE_ATTRIBUTES
614
619
- OTEL_SERVICE_NAME=kafka
615
620
- KAFKA_HEAP_OPTS=-Xmx400m -Xms400m
616
- - OTEL_INFERRED_SPANS_ENABLED=false
617
621
healthcheck :
618
622
test : nc -z kafka 9092
619
623
start_period : 10s
@@ -636,6 +640,7 @@ services:
636
640
- " ${VALKEY_PORT}"
637
641
logging : *logging
638
642
643
+
639
644
# ********************
640
645
# Telemetry Components
641
646
# ********************
@@ -655,7 +660,7 @@ services:
655
660
memory : 400M
656
661
restart : unless-stopped
657
662
ports :
658
- - " ${JAEGER_SERVICE_PORT}" # Jaeger UI
663
+ - " ${JAEGER_SERVICE_PORT}" # Jaeger UI
659
664
- " ${OTEL_COLLECTOR_PORT_GRPC}"
660
665
environment :
661
666
- METRICS_STORAGE_TYPE=prometheus
@@ -688,13 +693,7 @@ services:
688
693
limits :
689
694
memory : 200M
690
695
restart : unless-stopped
691
- command :
692
- [
693
- " --config" ,
694
- " /etc/otelcol-config.yml" ,
695
- " --config" ,
696
- " /etc/otelcol-config-extras.yml" ,
697
- ]
696
+ command : ["--config", "/etc/otelcol-config.yml", "--config", "/etc/otelcol-config-extras.yml" ]
698
697
user : 0:0
699
698
volumes :
700
699
- ${HOST_FILESYSTEM}:/hostfs:ro
0 commit comments