Skip to content

Commit 36279a1

Browse files
Merge branch 'main' into feat/prototype-service-criticality
2 parents b008439 + 0c5ae68 commit 36279a1

33 files changed

Lines changed: 2846 additions & 6317 deletions

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v6.0.2
2020

21-
- uses: gradle/actions/wrapper-validation@v5.0.1
21+
- uses: gradle/actions/wrapper-validation@v5.0.2

.github/workflows/ossf-scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
# uploads of run results in SARIF format to the repository Actions tab.
3737
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
3838
- name: "Upload artifact"
39-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
39+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
4040
with:
4141
name: SARIF file
4242
path: results.sarif
@@ -45,6 +45,6 @@ jobs:
4545
# Upload the results to GitHub's code scanning dashboard (optional).
4646
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
4747
- name: "Upload to code-scanning"
48-
uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v3.29.5
48+
uses: github/codeql-action/upload-sarif@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
4949
with:
5050
sarif_file: results.sarif

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ the release.
1919
[High-cardinality HTTP span names #54694](https://github.com/vercel/next.js/issues/54694)
2020
[#2942](https://github.com/open-telemetry/opentelemetry-demo/pull/2942)
2121
* add `main` tagged images, drop date suffix for `nightly` ([#2994](https://github.com/open-telemetry/opentelemetry-demo/pull/2994))
22+
* [docker] fix `docker-compose.minimal.yml` to be able to run by adding missing
23+
postgresql service, environment variables, and dependencies
24+
([#3004](https://github.com/open-telemetry/opentelemetry-demo/pull/3004))
25+
* [flagd-ui] fix memory issue with BEAM-VM, this reduces flagd-ui memory
26+
usage from 2.3GB to 228Mi
27+
[#3022](https://github.com/open-telemetry/opentelemetry-demo/pull/3022)
2228

2329
## 2.2.0
2430

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,20 +61,21 @@ keeping it up to date for you.
6161

6262
| | | |
6363
|---------------------------|----------------|----------------------------------|
64-
| [AlibabaCloud LogService] | [Google Cloud] | [Oracle] |
65-
| [Apache Doris] | [Grafana Labs] | [Parseable] |
66-
| [AppDynamics] | [Guance] | [Sentry] |
67-
| [Aspecto] | [Honeycomb.io] | [ServiceNow Cloud Observability] |
68-
| [Axiom] | [Instana] | [SigNoz] |
69-
| [Axoflow] | [Kloudfuse] | [Splunk] |
70-
| [Azure Data Explorer] | [Kopai] | [Sumo Logic] |
71-
| [Causely] | [Last9] | [TelemetryHub] |
72-
| [ClickStack] | [Liatrio] | [Teletrace] |
73-
| [Coralogix] | [Logz.io] | [Tinybird] |
74-
| [Dash0] | [New Relic] | [Tracetest] |
75-
| [Datadog] | [Oodle] | [Tsuga] |
76-
| [Dynatrace] | [OpenObserve] | [Uptrace] |
77-
| [Elastic] | [OpenSearch] | [VictoriaMetrics] |
64+
| [AlibabaCloud LogService] | [Grafana Labs] | [Sentry] |
65+
| [Apache Doris] | [Guance] | [ServiceNow Cloud Observability] |
66+
| [AppDynamics] | [Honeycomb.io] | [SigNoz] |
67+
| [Aspecto] | [Instana] | [SolarWinds Observability] |
68+
| [Axiom] | [Kloudfuse] | [Splunk] |
69+
| [Axoflow] | [Kopai] | [Sumo Logic] |
70+
| [Azure Data Explorer] | [Last9] | [TelemetryHub] |
71+
| [Causely] | [Liatrio] | [Teletrace] |
72+
| [ClickStack] | [Logz.io] | [Tinybird] |
73+
| [Coralogix] | [New Relic] | [Tracetest] |
74+
| [Dash0] | [Oodle] | [Tsuga] |
75+
| [Datadog] | [OpenObserve] | [Uptrace] |
76+
| [Dynatrace] | [OpenSearch] | [VictoriaMetrics] |
77+
| [Elastic] | [Oracle] | |
78+
| [Google Cloud] | [Parseable] | |
7879

7980
## Contributing
8081

@@ -152,6 +153,7 @@ For more information about the emeritus role, see the [community repository](htt
152153
[Sentry]: https://github.com/getsentry/opentelemetry-demo
153154
[ServiceNow Cloud Observability]: https://docs.lightstep.com/otel/quick-start-operator#send-data-from-the-opentelemetry-demo
154155
[SigNoz]: https://signoz.io/blog/opentelemetry-demo/
156+
[SolarWinds Observability]: https://github.com/solarwinds/opentelemetry-demo
155157
[Splunk]: https://github.com/signalfx/opentelemetry-demo
156158
[Sumo Logic]: https://www.sumologic.com/blog/common-opentelemetry-demo-application/
157159
[TelemetryHub]: https://github.com/TelemetryHub/opentelemetry-demo/tree/telemetryhub-backend

docker-compose.minimal.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,11 +423,13 @@ services:
423423
- OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
424424
- OTEL_RESOURCE_ATTRIBUTES=${OTEL_RESOURCE_ATTRIBUTES},service.criticality=high
425425
- OTEL_SERVICE_NAME=product-catalog
426-
volumes:
427-
- ./src/product-catalog/products:/usr/src/app/products
426+
- OTEL_SEMCONV_STABILITY_OPT_IN=database
427+
- DB_CONNECTION_STRING=postgres://otelu:otelp@${POSTGRES_HOST}/${POSTGRES_DB}?sslmode=disable
428428
depends_on:
429429
otel-collector:
430430
condition: service_started
431+
postgresql:
432+
condition: service_started
431433
logging: *logging
432434

433435
# Product reviews service
@@ -460,6 +462,8 @@ services:
460462
- OPENAI_API_KEY
461463
- LLM_MODEL
462464
- PRODUCT_CATALOG_ADDR
465+
- LLM_HOST
466+
- LLM_PORT
463467
depends_on:
464468
product-catalog:
465469
condition: service_started
@@ -600,6 +604,25 @@ services:
600604
logging:
601605
*logging
602606

607+
# Postgresql used by Product Reviews service
608+
postgresql:
609+
image: ${POSTGRES_IMAGE}
610+
container_name: postgresql
611+
deploy:
612+
resources:
613+
limits:
614+
memory: 80M
615+
restart: unless-stopped
616+
ports:
617+
- ${POSTGRES_PORT}
618+
environment:
619+
- POSTGRES_USER=root
620+
- POSTGRES_PASSWORD
621+
- POSTGRES_DB
622+
volumes:
623+
- ./src/postgresql/init.sql:/docker-entrypoint-initdb.d/init.sql
624+
logging: *logging
625+
603626
# LLM used by Product Review service
604627
llm:
605628
image: ${IMAGE_NAME}:${DEMO_VERSION}-llm

0 commit comments

Comments
 (0)