File tree Expand file tree Collapse file tree 6 files changed +89
-23
lines changed
Expand file tree Collapse file tree 6 files changed +89
-23
lines changed Original file line number Diff line number Diff line change 1-
2-
31# Demo App version
42IMAGE_VERSION = 2.0.2
53IMAGE_NAME = ghcr.io/open-telemetry/demo
@@ -14,7 +12,7 @@ OPENTELEMETRY_CPP_VERSION=1.21.0
1412COLLECTOR_CONTRIB_IMAGE = ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib:0.133.0
1513FLAGD_IMAGE = ghcr.io/open-feature/flagd:v0.12.8
1614GRAFANA_IMAGE = grafana/grafana:12.1.0
17- JAEGERTRACING_IMAGE = jaegertracing/all-in-one:1.72 .0
15+ JAEGERTRACING_IMAGE = jaegertracing/jaeger:2.10 .0
1816# must also update version field in src/grafana/provisioning/datasources/opensearch.yaml
1917OPENSEARCH_IMAGE = opensearchproject/opensearch:3.2.0
2018POSTGRES_IMAGE = postgres:17.6
@@ -158,8 +156,9 @@ GRAFANA_PORT=3000
158156GRAFANA_HOST = grafana
159157
160158# Jaeger
161- JAEGER_PORT = 16686
162159JAEGER_HOST = jaeger
160+ JAEGER_UI_PORT = 16686
161+ JAEGER_GRPC_PORT = 4317
163162
164163# Prometheus
165164PROMETHEUS_PORT = 9090
Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ the release.
7676 ([ #2352 ] ( (https://github.com/open-telemetry/opentelemetry-demo/pull/2352) ) )
7777* [ image-provider] Update to latest version of nginx and alpine
7878 ([ #2369 ] ( https://github.com/open-telemetry/opentelemetry-demo/pull/2369 ) )
79+ * [ chore] Upgrade Jaeger to v2
80+ ([ #2389 ] ( https://github.com/open-telemetry/opentelemetry-demo/pull/2389 ) )
7981* [ load-generator] Fix Playwright wait until load state error
8082 ([ #2374 ] ( https://github.com/open-telemetry/opentelemetry-demo/pull/2374 ) )
8183* [ flagd] Bump Flagd to v0.12.8 and get compliant ` http.Server.request.duration `
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ services:
264264 - LOCUST_WEB_PORT
265265 - GRAFANA_PORT
266266 - GRAFANA_HOST
267- - JAEGER_PORT
267+ - JAEGER_UI_PORT
268268 - JAEGER_HOST
269269 - OTEL_COLLECTOR_HOST
270270 - IMAGE_PROVIDER_HOST
@@ -562,21 +562,24 @@ services:
562562 image : ${JAEGERTRACING_IMAGE}
563563 container_name : jaeger
564564 command :
565- - " --memory.max-traces=5000"
566- - " --query.base-path=/jaeger/ui"
567- - " --prometheus.server-url=http://${PROMETHEUS_ADDR}"
568- - " --prometheus.query.normalize-calls=true"
569- - " --prometheus.query.normalize-duration=true"
565+ - " --config=file:/etc/jaeger/config.yml"
570566 deploy :
571567 resources :
572568 limits :
573569 memory : 400M
574570 restart : unless-stopped
575571 ports :
576- - " ${JAEGER_PORT} " # Jaeger UI
577- - " ${OTEL_COLLECTOR_PORT_GRPC }"
572+ - " ${JAEGER_UI_PORT} "
573+ - " ${JAEGER_GRPC_PORT }"
578574 environment :
579- - METRICS_STORAGE_TYPE=prometheus
575+ - JAEGER_HOST
576+ - JAEGER_GRPC_PORT
577+ - PROMETHEUS_ADDR
578+ - OTEL_COLLECTOR_HOST
579+ - OTEL_COLLECTOR_PORT_HTTP
580+ - MEMORY_MAX_TRACES=5000
581+ volumes :
582+ - ./src/jaeger/config.yml:/etc/jaeger/config.yml
580583 logging : *logging
581584
582585 # Grafana
Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ services:
342342 - LOCUST_WEB_PORT
343343 - GRAFANA_PORT
344344 - GRAFANA_HOST
345- - JAEGER_PORT
345+ - JAEGER_UI_PORT
346346 - JAEGER_HOST
347347 - OTEL_COLLECTOR_HOST
348348 - IMAGE_PROVIDER_HOST
@@ -731,21 +731,24 @@ services:
731731 image : ${JAEGERTRACING_IMAGE}
732732 container_name : jaeger
733733 command :
734- - " --memory.max-traces=25000"
735- - " --query.base-path=/jaeger/ui"
736- - " --prometheus.server-url=http://${PROMETHEUS_ADDR}"
737- - " --prometheus.query.normalize-calls=true"
738- - " --prometheus.query.normalize-duration=true"
734+ - " --config=file:/etc/jaeger/config.yml"
739735 deploy :
740736 resources :
741737 limits :
742738 memory : 1200M
743739 restart : unless-stopped
744740 ports :
745- - " ${JAEGER_PORT} " # Jaeger UI
746- - " ${OTEL_COLLECTOR_PORT_GRPC }"
741+ - " ${JAEGER_UI_PORT} "
742+ - " ${JAEGER_GRPC_PORT }"
747743 environment :
748- - METRICS_STORAGE_TYPE=prometheus
744+ - JAEGER_HOST
745+ - JAEGER_GRPC_PORT
746+ - PROMETHEUS_ADDR
747+ - OTEL_COLLECTOR_HOST
748+ - OTEL_COLLECTOR_PORT_HTTP
749+ - MEMORY_MAX_TRACES=25000
750+ volumes :
751+ - ./src/jaeger/config.yml:/etc/jaeger/config.yml
749752 logging : *logging
750753
751754 # Grafana
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ static_resources:
241241 address :
242242 socket_address :
243243 address : ${JAEGER_HOST}
244- port_value : ${JAEGER_PORT }
244+ port_value : ${JAEGER_UI_PORT }
245245admin :
246246 address :
247247 socket_address :
Original file line number Diff line number Diff line change 1+ # Copyright The OpenTelemetry Authors
2+ # SPDX-License-Identifier: Apache-2.0
3+
4+ service :
5+ extensions : [jaeger_storage, jaeger_query, healthcheckv2]
6+ pipelines :
7+ traces :
8+ receivers : [otlp]
9+ processors : [batch]
10+ exporters : [jaeger_storage_exporter]
11+ telemetry :
12+ resource :
13+ service.name : jaeger-query
14+ metrics :
15+ level : detailed
16+ readers :
17+ - periodic :
18+ interval : 10000
19+ timeout : 5000
20+ exporter :
21+ otlp :
22+ protocol : http/protobuf
23+ endpoint : http://${env:OTEL_COLLECTOR_HOST}:${env:OTEL_COLLECTOR_PORT_HTTP}
24+ logs :
25+ level : info
26+ extensions :
27+ healthcheckv2 :
28+ use_v2 : true
29+ http :
30+
31+ jaeger_query :
32+ storage :
33+ traces : memory_backend
34+ metrics : metrics_backend
35+ base_path : /jaeger/ui
36+ jaeger_storage :
37+ backends :
38+ memory_backend :
39+ memory :
40+ max_traces : ${env:MEMORY_MAX_TRACES}
41+ metric_backends :
42+ metrics_backend :
43+ prometheus :
44+ endpoint : " http://${env:PROMETHEUS_ADDR}"
45+ normalize_calls : true
46+ normalize_duration : true
47+
48+ receivers :
49+ otlp :
50+ protocols :
51+ grpc :
52+ endpoint : ${env:JAEGER_HOST}:${env:JAEGER_GRPC_PORT}
53+
54+ processors :
55+ batch :
56+
57+ exporters :
58+ jaeger_storage_exporter :
59+ trace_storage : memory_backend
You can’t perform that action at this time.
0 commit comments