Skip to content

Commit da6c895

Browse files
authored
Merge pull request #150 from elastic/update-from-upstream
Update from upstream
2 parents 60c860a + 1094a45 commit da6c895

38 files changed

+10258
-8193
lines changed

.env

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

22

33
# Demo App version
4-
IMAGE_VERSION=2.0.0
4+
IMAGE_VERSION=2.0.2
55
IMAGE_NAME=ghcr.io/open-telemetry/demo
66
DEMO_VERSION=latest
77

88
# Build Args
99
TRACETEST_IMAGE_VERSION=v1.7.1
10-
OTEL_JAVA_AGENT_VERSION=2.13.1
10+
OTEL_JAVA_AGENT_VERSION=2.13.3
1111
OPENTELEMETRY_CPP_VERSION=1.19.0
1212

1313
# Dependent images
@@ -133,6 +133,7 @@ SHIPPING_DOCKERFILE=./src/shipping/Dockerfile
133133
# Flagd
134134
FLAGD_HOST=flagd
135135
FLAGD_PORT=8013
136+
FLAGD_OFREP_PORT=8016
136137

137138
# Flagd UI
138139
FLAGD_UI_HOST=flagd-ui
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Copyright The OpenTelemetry Authors
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
name: OSSF Scorecard
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
schedule:
11+
- cron: "25 11 * * 3" # once a week
12+
workflow_dispatch:
13+
14+
permissions: read-all
15+
16+
jobs:
17+
analysis:
18+
runs-on: ubuntu-latest
19+
permissions:
20+
# Needed for Code scanning upload
21+
security-events: write
22+
# Needed for GitHub OIDC token if publish_results is true
23+
id-token: write
24+
steps:
25+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
with:
27+
persist-credentials: false
28+
29+
- uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
30+
with:
31+
results_file: results.sarif
32+
results_format: sarif
33+
publish_results: true
34+
35+
# Upload the results as artifacts (optional). Commenting out will disable
36+
# uploads of run results in SARIF format to the repository Actions tab.
37+
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
38+
- name: "Upload artifact"
39+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
40+
with:
41+
name: SARIF file
42+
path: results.sarif
43+
retention-days: 5
44+
45+
# Upload the results to GitHub's code scanning dashboard (optional).
46+
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
47+
- name: "Upload to code-scanning"
48+
uses: github/codeql-action/upload-sarif@5f8171a638ada777af81d42b55959a643bb29017 # v3.28.12
49+
with:
50+
sarif_file: results.sarif

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,27 @@ the release.
77

88
## Unreleased
99

10+
## 2.0.2
11+
12+
* [frontend] Update OpenTelemetry Browser SDK initialization
13+
([#2092](https://github.com/open-telemetry/opentelemetry-demo/pull/2092))
14+
* [quote] Updated open-telemetry/exporter-otlp to 1.2.1 which includes the
15+
fix for `IS_REMOTE` flag feature
16+
([#2112](https://github.com/open-telemetry/opentelemetry-demo/pull/2112))
17+
* [load-generator] Change OpenFeature Evaluation to Remote Evaluation Protocol,
18+
based on [this issue in OpenFeature/python-sdk-contrib](https://github.com/open-feature/python-sdk-contrib/issues/198)
19+
([#2114](https://github.com/open-telemetry/opentelemetry-demo/pull/2114))
20+
* [flagd-ui] increase memory to 100MB
21+
([#2120](https://github.com/open-telemetry/opentelemetry-demo/pull/2120))
22+
23+
## 2.0.1
24+
1025
* [chore] Use Linkspector to check links
1126
([#2070](https://github.com/open-telemetry/opentelemetry-demo/pull/2070))
1227
* [frontend] Cypress tests base image updated to 14.0.3
1328
([#2072](https://github.com/open-telemetry/opentelemetry-demo/pull/2072))
29+
* [grafana] Update dashboards with service map
30+
([#2085](https://github.com/open-telemetry/opentelemetry-demo/pull/2085))
1431

1532
## 2.0.0
1633

CONTRIBUTING.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,13 +296,17 @@ Maintainers can create a new release when desired by following these steps.
296296
notes.
297297
3. After images for the new release are built and published, create a new Pull
298298
Request that updates the `CHANGELOG.md` with the new version leaving the
299-
`Unreleased` section for the next release.
299+
`Unreleased` section for the next release. Merge the Pull Request.
300300
4. Create a new Pull Request to update the deployment of the demo in the
301301
[OpenTelemetry Helm
302302
Charts](https://github.com/open-telemetry/opentelemetry-helm-charts) repo.
303+
Merge the Pull Request.
303304
5. After the Helm chart is released, create a new Pull Request which updates the
304-
Demo's Kubernetes manifest by running `make generate-kubernetes-manifests`
305-
and committing the changes.
305+
Demo's Kubernetes manifest by running `make generate-kubernetes-manifests`.
306+
Merge the Pull Request.
307+
6. Create a new Tag for the _new_ version with a suffix of `-k8s`. This tag
308+
will be used to deploy the new version of the demo to Kubernetes using the
309+
supplied manifests.
306310

307311
[docs]: https://opentelemetry.io/docs/demo/
308312

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ install-tools: $(MISSPELL)
9494

9595
.PHONY: build
9696
build:
97-
$(DOCKER_COMPOSE_CMD) build $(DOCKER_COMPOSE_BUILD_ARGS)
97+
$(DOCKER_COMPOSE_CMD) $(DOCKER_COMPOSE_ENV) build $(DOCKER_COMPOSE_BUILD_ARGS)
9898

9999
.PHONY: build-and-push
100100
build-and-push:

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,22 +58,23 @@ keeping it up to date for you.
5858

5959
| | | |
6060
|---------------------------|----------------|----------------------------------|
61-
| [AlibabaCloud LogService] | [Elastic] | [OpenSearch] |
62-
| [AppDynamics] | [Google Cloud] | [Oracle] |
63-
| [Aspecto] | [Grafana Labs] | [Sentry] |
64-
| [Axiom] | [Guance] | [ServiceNow Cloud Observability] |
65-
| [Axoflow] | [Honeycomb.io] | [Splunk] |
66-
| [Azure Data Explorer] | [Instana] | [Sumo Logic] |
67-
| [Coralogix] | [Kloudfuse] | [TelemetryHub] |
68-
| [Dash0] | [Liatrio] | [Teletrace] |
69-
| [Datadog] | [Logz.io] | [Tracetest] |
70-
| [Dynatrace] | [New Relic] | [Uptrace] |
61+
| [AlibabaCloud LogService] | [Google Cloud] | [Sentry] |
62+
| [AppDynamics] | [Grafana Labs] | [ServiceNow Cloud Observability]|
63+
| [Aspecto] | [Guance] | [SigNoz] |
64+
| [Axiom] | [Honeycomb.io] | [Splunk] |
65+
| [Axoflow] | [Instana] | [Sumo Logic] |
66+
| [Azure Data Explorer] | [Kloudfuse] | [TelemetryHub] |
67+
| [Coralogix] | [Liatrio] | [Teletrace] |
68+
| [Dash0] | [Logz.io] | [Tracetest] |
69+
| [Datadog] | [New Relic] | [Uptrace] |
70+
| [Dynatrace] | [OpenSearch] | |
71+
| [Elastic] | [Oracle] | |
7172

7273
## Contributing
7374

7475
To get involved with the project see our [CONTRIBUTING](CONTRIBUTING.md)
7576
documentation. Our [SIG Calls](CONTRIBUTING.md#join-a-sig-call) are every other
76-
Monday at 8:30 AM PST and anyone is welcome.
77+
Wednesday at 8:30 AM PST and anyone is welcome.
7778

7879
## Project leadership
7980

@@ -132,6 +133,7 @@ Emeritus:
132133
[Oracle]: https://github.com/oracle-quickstart/oci-o11y-solutions/blob/main/knowledge-content/opentelemetry-demo
133134
[Sentry]: https://github.com/getsentry/opentelemetry-demo
134135
[ServiceNow Cloud Observability]: https://docs.lightstep.com/otel/quick-start-operator#send-data-from-the-opentelemetry-demo
136+
[SigNoz]: https://signoz.io/blog/opentelemetry-demo/
135137
[Splunk]: https://github.com/signalfx/opentelemetry-demo
136138
[Sumo Logic]: https://www.sumologic.com/blog/common-opentelemetry-demo-application/
137139
[TelemetryHub]: https://github.com/TelemetryHub/opentelemetry-demo/tree/telemetryhub-backend

docker-compose.minimal.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ services:
345345
- PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
346346
- LOCUST_WEB_HOST=0.0.0.0
347347
- FLAGD_HOST
348-
- FLAGD_PORT
348+
- FLAGD_OFREP_PORT
349349
depends_on:
350350
frontend:
351351
condition: service_started
@@ -522,7 +522,8 @@ services:
522522
"file:./etc/flagd/demo.flagd.json"
523523
]
524524
ports:
525-
- 8013
525+
- "${FLAGD_PORT}"
526+
- "${FLAGD_OFREP_PORT}"
526527
volumes:
527528
- ./src/flagd:/etc/flagd
528529
logging:

docker-compose.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ services:
421421
- PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
422422
- LOCUST_WEB_HOST=0.0.0.0
423423
- FLAGD_HOST
424-
- FLAGD_PORT
424+
- FLAGD_OFREP_PORT
425425
depends_on:
426426
frontend:
427427
condition: service_started
@@ -608,7 +608,8 @@ services:
608608
"file:./etc/flagd/demo.flagd.json"
609609
]
610610
ports:
611-
- 8013
611+
- "${FLAGD_PORT}"
612+
- "${FLAGD_OFREP_PORT}"
612613
volumes:
613614
- ./src/flagd:/etc/flagd
614615
logging:
@@ -624,7 +625,7 @@ services:
624625
deploy:
625626
resources:
626627
limits:
627-
memory: 75M
628+
memory: 100M
628629
restart: unless-stopped
629630
environment:
630631
- OTEL_EXPORTER_OTLP_ENDPOINT=http://${OTEL_COLLECTOR_HOST}:${OTEL_COLLECTOR_PORT_HTTP}

0 commit comments

Comments
 (0)