Skip to content

Commit 01d53d8

Browse files
authored
Merge branch 'open-telemetry:main' into snyk-upgrade-dd6a7df28d38a21b56af93ecc710f974
2 parents 7a0bd85 + e18bb82 commit 01d53d8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2210
-166
lines changed

.env

+8-7
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ IMAGE_NAME=ghcr.io/open-telemetry/demo
66
DEMO_VERSION=latest
77

88
# Dependent images
9-
COLLECTOR_CONTRIB_IMAGE=otel/opentelemetry-collector-contrib:0.93.0
10-
GRAFANA_IMAGE=grafana/grafana:10.3.1
11-
JAEGERTRACING_IMAGE=jaegertracing/all-in-one:1.53
9+
COLLECTOR_CONTRIB_IMAGE=otel/opentelemetry-collector-contrib:0.96.0
10+
GRAFANA_IMAGE=grafana/grafana:10.4.0
11+
JAEGERTRACING_IMAGE=jaegertracing/all-in-one:1.55
1212
# must also update version field in /src/grafana/provisioning/datasources/opensearch.yml
13-
OPENSEARCH_IMAGE=opensearchproject/opensearch:2.11.1
14-
POSTGRES_IMAGE=postgres:16.1
15-
PROMETHEUS_IMAGE=quay.io/prometheus/prometheus:v2.49.1
13+
OPENSEARCH_IMAGE=opensearchproject/opensearch:2.12.0
14+
POSTGRES_IMAGE=postgres:16.2
15+
PROMETHEUS_IMAGE=quay.io/prometheus/prometheus:v2.50.1
1616
REDIS_IMAGE=redis:7.2-alpine
17-
TRACETEST_IMAGE_VERSION=v0.15.8
17+
TRACETEST_IMAGE_VERSION=v0.16.0
1818
TRACETEST_IMAGE=kubeshop/tracetest:${TRACETEST_IMAGE_VERSION}
1919

2020
# Demo Platform
@@ -65,6 +65,7 @@ FEATURE_FLAG_GRPC_SERVICE_ADDR=featureflagservice:${FEATURE_FLAG_GRPC_SERVICE_PO
6565

6666
# flagd
6767
FLAGD_HOST=flagd
68+
FLAGD_PORT=8013
6869

6970
# Frontend
7071
FRONTEND_PORT=8080

.github/workflows/assign-reviewers.yml

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212

1313
jobs:
1414
assign-reviewers:
15+
if: github.repository == 'open-telemetry/opentelemetry-demo'
1516
runs-on: ubuntu-latest
1617
steps:
1718
- uses: dyladan/component-owners@main

.github/workflows/build-images.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ on:
2121

2222
jobs:
2323
build_and_push_images:
24+
if: github.repository == 'open-telemetry/opentelemetry-demo'
2425
runs-on: ubuntu-latest
2526
permissions:
2627
contents: read

.github/workflows/gradle-wrapper-validation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717

18-
- uses: gradle/wrapper-validation-action@v2.1.1
18+
- uses: gradle/wrapper-validation-action@v2.1.2

.github/workflows/label-pr.yml

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Copyright The OpenTelemetry Authors
2+
# SPDX-License-Identifier: Apache-2.0
3+
# adds a label to a pull request if certain files are changed
4+
name: Label Pull Requests
5+
6+
on:
7+
pull_request:
8+
types: [opened, synchronize, reopened]
9+
10+
jobs:
11+
label:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
17+
- name: Check for changed files
18+
id: file_changes
19+
uses: dorny/paths-filter@v2
20+
with:
21+
list-files: shell
22+
filters: |
23+
docsUpdateRequired:
24+
- 'src/flagd/**'
25+
helmUpdateRequired:
26+
- '.env'
27+
- 'docker-compose*.yml'
28+
- 'src/flagd/**'
29+
- 'src/grafana/**'
30+
- 'src/otelcollector/**'
31+
- 'src/prometheus/**'
32+
33+
- name: "Add Label: docs-update-required"
34+
if: steps.file_changes.outputs.docsUpdateRequired == 'true'
35+
uses: actions/github-script@v7
36+
with:
37+
github-token: ${{secrets.GITHUB_TOKEN}}
38+
script: |
39+
const issue_number = context.issue.number;
40+
github.issues.addLabels({
41+
issue_number: issue_number,
42+
owner: context.repo.owner,
43+
repo: context.repo.repo,
44+
labels: ['docs-update-required']
45+
})
46+
47+
- name: "Add Label: helm-update-required"
48+
if: steps.file_changes.outputs.helmUpdateRequired == 'true'
49+
uses: actions/github-script@v7
50+
with:
51+
github-token: ${{secrets.GITHUB_TOKEN}}
52+
script: |
53+
const issue_number = context.issue.number;
54+
github.issues.addLabels({
55+
issue_number: issue_number,
56+
owner: context.repo.owner,
57+
repo: context.repo.repo,
58+
labels: ['helm-update-required']
59+
})

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
build_and_push_images:
1111
uses: ./.github/workflows/build-images.yml
12+
if: github.repository == 'open-telemetry/opentelemetry-demo'
1213
with:
1314
push: true
1415
version: ${{ github.event.release.tag_name }}

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
.DS_Store
1212
\#*\#
1313

14+
docker-compose.override.yml
15+
1416
# Eclipse
1517
.classpath
1618
.project

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ the release.
77

88
## Unreleased
99

10+
* [loadgenerator] emit logs via OTLP
11+
([#1446](https://github.com/open-telemetry/opentelemetry-demo/pull/1446))
12+
* [frontend] reset quantity when new product selected
13+
([#1447](https://github.com/open-telemetry/opentelemetry-demo/pull/1447))
1014
* [featureflag] deprecate in favor of flagd
1115
([#1338](https://github.com/open-telemetry/opentelemetry-demo/pull/1388))
1216
* [checkoutservice] add producer interceptor for tracing
@@ -27,6 +31,24 @@ the release.
2731
([#1415](https://github.com/open-telemetry/opentelemetry-demo/pull/1415))
2832
* [chore] - add tests and odd profiles to make stop
2933
([#1427](https://github.com/open-telemetry/opentelemetry-demo/pull/1427))
34+
* [chore] - Update Telemetry Components
35+
([#1440](https://github.com/open-telemetry/opentelemetry-demo/pull/1440))
36+
* [paymentservice] add paymentServiceFailure feature flag
37+
([#1449](https://github.com/open-telemetry/opentelemetry-demo/pull/1449))
38+
* [checkoutservice] add paymentServiceUnreachable feature flag
39+
([#1449](https://github.com/open-telemetry/opentelemetry-demo/pull/1449))
40+
* [Frontend-proxy] Add restart policy to compose file
41+
([#1448](https://github.com/open-telemetry/opentelemetry-demo/pull/1448))
42+
* [cartservice] update .NET to .NET 8.0.3
43+
([#1460](https://github.com/open-telemetry/opentelemetry-demo/pull/1460))
44+
* [adservice] add adServiceManualGC feature flag
45+
([#1463](https://github.com/open-telemetry/opentelemetry-demo/pull/1463))
46+
* [frontendproxy] remove deprecated start_child_span option
47+
([#1469](https://github.com/open-telemetry/opentelemetry-demo/pull/1469))
48+
* [currency] fix metric name
49+
([#1470](https://github.com/open-telemetry/opentelemetry-demo/pull/1470))
50+
* [frontend] disable instrumentation-fs library
51+
([#1473](https://github.com/open-telemetry/opentelemetry-demo/pull/1473))
3052

3153
## 1.8.0
3254

Makefile

-2
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ start:
131131
@echo "Go to http://localhost:8080/jaeger/ui for the Jaeger UI."
132132
@echo "Go to http://localhost:8080/grafana/ for the Grafana UI."
133133
@echo "Go to http://localhost:8080/loadgen/ for the Load Generator UI."
134-
@echo "Go to http://localhost:8080/feature/ for the Feature Flag UI."
135134

136135
.PHONY: start-minimal
137136
start-minimal:
@@ -153,7 +152,6 @@ start-odd:
153152
@echo "Go to http://localhost:8080/jaeger/ui for the Jaeger UI."
154153
@echo "Go to http://localhost:8080/grafana/ for the Grafana UI."
155154
@echo "Go to http://localhost:8080/loadgen/ for the Load Generator UI."
156-
@echo "Go to http://localhost:8080/feature/ for the Feature Flag UI."
157155
@echo "Go to http://localhost:11633/ for the Tracetest Web UI."
158156

159157
.PHONY: stop

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ keeping it up to date for you.
6060
| [AppDynamics][AppDynamics] | [Google Cloud][GoogleCloud] | [OpenSearch][OpenSearch] |
6161
| [Aspecto][Aspecto] | [Grafana Labs][GrafanaLabs] | [Sentry][Sentry] |
6262
| [Axiom][Axiom] | [Guance][Guance] | [ServiceNow Cloud Observability][ServiceNowCloudObservability] |
63-
| [Axoflow][Axoflow] | [Helios][Helios] | [Splunk][Splunk] |
63+
| Axoflow | [Helios][Helios] | [Splunk][Splunk] |
6464
| [Azure Data Explorer][Azure] | [Honeycomb.io][Honeycombio] | [Sumo Logic][SumoLogic] |
6565
| [Coralogix][Coralogix] | [Instana][Instana] | [TelemetryHub][TelemetryHub] |
6666
| [Dash0][Dash0] | [Kloudfuse][Kloudfuse] | [Teletrace][Teletrace] |
@@ -79,21 +79,21 @@ Monday at 8:30 AM PST and anyone is welcome.
7979
([@open-telemetry/demo-maintainers](https://github.com/orgs/open-telemetry/teams/demo-maintainers)):
8080

8181
- [Austin Parker](https://github.com/austinlparker), Honeycomb
82-
- [Carter Socha](https://github.com/cartersocha), Lightstep
8382
- [Juliano Costa](https://github.com/julianocosta89), Datadog
83+
- [Mikko Viitanen](https://github.com/mviitane), Dynatrace
8484
- [Pierre Tessier](https://github.com/puckpuck), Honeycomb
8585

8686
[Approvers](https://github.com/open-telemetry/community/blob/main/community-membership.md#approver)
8787
([@open-telemetry/demo-approvers](https://github.com/orgs/open-telemetry/teams/demo-approvers)):
8888

8989
- [Cedric Ziel](https://github.com/cedricziel) Grafana Labs
90-
- [Mikko Viitanen](https://github.com/mviitane), Dynatrace
9190
- [Penghan Wang](https://github.com/wph95), AppDynamics
9291
- [Reiley Yang](https://github.com/reyang), Microsoft
9392
- [Ziqi Zhao](https://github.com/fatsheep9146), Alibaba
9493

9594
Emeritus:
9695

96+
- [Carter Socha](https://github.com/cartersocha)
9797
- [Michael Maxwell](https://github.com/mic-max)
9898
- [Morgan McLean](https://github.com/mtwo)
9999

@@ -109,7 +109,6 @@ Emeritus:
109109
[AppDynamics]: https://www.appdynamics.com/blog/cloud/how-to-observe-opentelemetry-demo-app-in-appdynamics-cloud/
110110
[Aspecto]: https://github.com/aspecto-io/opentelemetry-demo
111111
[Axiom]: https://play.axiom.co/axiom-play-qf1k/dashboards/otel.traces.otel-demo-traces
112-
[Axoflow]: https://axoflow.com/opentelemetry-support-in-more-detail-in-axosyslog-and-syslog-ng/
113112
[Azure]: https://github.com/Azure/Azure-kusto-opentelemetry-demo
114113
[Coralogix]: https://coralogix.com/blog/configure-otel-demo-send-telemetry-data-coralogix
115114
[Dash0]: https://github.com/dash0hq/opentelemetry-demo

docker-compose.minimal.yml

+7
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ services:
3636
- "${AD_SERVICE_PORT}"
3737
environment:
3838
- AD_SERVICE_PORT
39+
- FLAGD_HOST
3940
- OTEL_EXPORTER_OTLP_ENDPOINT=http://${OTEL_COLLECTOR_HOST}:${OTEL_COLLECTOR_PORT_HTTP}
4041
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
4142
- OTEL_RESOURCE_ATTRIBUTES
@@ -64,6 +65,7 @@ services:
6465
- "${CART_SERVICE_PORT}"
6566
environment:
6667
- CART_SERVICE_PORT
68+
- FLAGD_HOST
6769
- REDIS_ADDR
6870
- OTEL_EXPORTER_OTLP_ENDPOINT
6971
- OTEL_RESOURCE_ATTRIBUTES
@@ -93,6 +95,7 @@ services:
9395
ports:
9496
- "${CHECKOUT_SERVICE_PORT}"
9597
environment:
98+
- FLAGD_HOST
9699
- CHECKOUT_SERVICE_PORT
97100
- CART_SERVICE_ADDR
98101
- CURRENCY_SERVICE_ADDR
@@ -238,6 +241,7 @@ services:
238241
resources:
239242
limits:
240243
memory: 50M
244+
restart: unless-stopped
241245
ports:
242246
- "${ENVOY_PORT}:${ENVOY_PORT}"
243247
- 10000:10000
@@ -318,6 +322,7 @@ services:
318322
- "${PAYMENT_SERVICE_PORT}"
319323
environment:
320324
- PAYMENT_SERVICE_PORT
325+
- FLAGD_HOST
321326
- OTEL_EXPORTER_OTLP_ENDPOINT
322327
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
323328
- OTEL_RESOURCE_ATTRIBUTES
@@ -345,6 +350,7 @@ services:
345350
- "${PRODUCT_CATALOG_SERVICE_PORT}"
346351
environment:
347352
- PRODUCT_CATALOG_SERVICE_PORT
353+
- FLAGD_HOST
348354
- OTEL_EXPORTER_OTLP_ENDPOINT
349355
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
350356
- OTEL_RESOURCE_ATTRIBUTES
@@ -400,6 +406,7 @@ services:
400406
- "${RECOMMENDATION_SERVICE_PORT}"
401407
environment:
402408
- RECOMMENDATION_SERVICE_PORT
409+
- FLAGD_HOST
403410
- PRODUCT_CATALOG_SERVICE_ADDR
404411
- OTEL_PYTHON_LOG_CORRELATION=true
405412
- OTEL_EXPORTER_OTLP_ENDPOINT

0 commit comments

Comments
 (0)