├── src ├── accounting │ ├── .gitignore │ ├── .dockerignore │ ├── Directory.Build.props │ ├── Log.cs │ ├── README.md │ ├── Program.cs │ ├── Helpers.cs │ └── Accounting.sln ├── ad │ ├── .java-version │ ├── settings.gradle │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── log4j2.xml │ ├── README.md │ └── Dockerfile ├── email │ ├── .ruby-version │ ├── .dockerignore │ ├── README.md │ ├── Gemfile │ └── Dockerfile ├── fraud-detection │ ├── .dockerignore │ ├── gradle.properties │ ├── settings.gradle.kts │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── README.md │ ├── src │ │ └── main │ │ │ └── resources │ │ │ └── log4j2.xml │ └── Dockerfile ├── react-native-app │ ├── .ruby-version │ ├── .prettierignore │ ├── ios │ │ ├── reactnativeapp │ │ │ ├── noop-file.swift │ │ │ ├── Images.xcassets │ │ │ │ ├── Contents.json │ │ │ │ ├── SplashScreen.imageset │ │ │ │ │ ├── image.png │ │ │ │ │ └── Contents.json │ │ │ │ ├── SplashScreenBackground.imageset │ │ │ │ │ ├── image.png │ │ │ │ │ └── Contents.json │ │ │ │ └── AppIcon.appiconset │ │ │ │ │ ├── App-Icon-1024x1024@1x.png │ │ │ │ │ └── Contents.json │ │ │ ├── reactnativeapp-Bridging-Header.h │ │ │ ├── reactnativeapp.entitlements │ │ │ ├── main.m │ │ │ ├── AppDelegate.h │ │ │ └── Supporting │ │ │ │ └── Expo.plist │ │ ├── Podfile.properties.json │ │ ├── reactnativeapp.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ ├── .gitignore │ │ └── .xcode.env │ ├── android │ │ ├── app │ │ │ ├── src │ │ │ │ ├── main │ │ │ │ │ ├── res │ │ │ │ │ │ ├── values-night │ │ │ │ │ │ │ └── colors.xml │ │ │ │ │ │ ├── values │ │ │ │ │ │ │ ├── ic_launcher_background.xml │ │ │ │ │ │ │ ├── colors.xml │ │ │ │ │ │ │ ├── strings.xml │ │ │ │ │ │ │ └── styles.xml │ │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ │ ├── ic_launcher_round.png │ │ │ │ │ │ │ └── ic_launcher_foreground.png │ │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ │ ├── ic_launcher_round.png │ │ │ │ │ │ │ └── ic_launcher_foreground.png │ │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ │ ├── ic_launcher_round.png │ │ │ │ │ │ │ └── ic_launcher_foreground.png │ │ │ │ │ │ ├── drawable │ │ │ │ │ │ │ └── splashscreen.xml │ │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ │ ├── ic_launcher_round.png │ │ │ │ │ │ │ └── ic_launcher_foreground.png │ │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ │ ├── ic_launcher_round.png │ │ │ │ │ │ │ └── ic_launcher_foreground.png │ │ │ │ │ │ ├── drawable-hdpi │ │ │ │ │ │ │ └── splashscreen_image.png │ │ │ │ │ │ ├── drawable-mdpi │ │ │ │ │ │ │ └── splashscreen_image.png │ │ │ │ │ │ ├── drawable-xhdpi │ │ │ │ │ │ │ └── splashscreen_image.png │ │ │ │ │ │ ├── drawable-xxhdpi │ │ │ │ │ │ │ └── splashscreen_image.png │ │ │ │ │ │ ├── drawable-xxxhdpi │ │ │ │ │ │ │ └── splashscreen_image.png │ │ │ │ │ │ └── mipmap-anydpi-v26 │ │ │ │ │ │ │ ├── ic_launcher.xml │ │ │ │ │ │ │ └── ic_launcher_round.xml │ │ │ │ │ └── ic_launcher-playstore.png │ │ │ │ └── debug │ │ │ │ │ └── AndroidManifest.xml │ │ │ ├── debug.keystore │ │ │ └── proguard-rules.pro │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ ├── .gitignore │ │ └── settings.gradle │ ├── Gemfile │ ├── .dockerignore │ ├── .env │ ├── assets │ │ ├── images │ │ │ ├── icon.png │ │ │ ├── favicon.png │ │ │ ├── splash.png │ │ │ └── adaptive-icon.png │ │ └── fonts │ │ │ └── SpaceMono-Regular.ttf │ ├── components │ │ ├── EmptyCart │ │ │ ├── index.ts │ │ │ └── EmptyCart.tsx │ │ ├── ProductCard │ │ │ └── index.ts │ │ ├── ProductList │ │ │ └── index.ts │ │ ├── CheckoutForm │ │ │ └── index.ts │ │ ├── navigation │ │ │ └── TabBarIcon.tsx │ │ ├── ThemedView.tsx │ │ ├── ThemedScrollView.tsx │ │ └── Field.tsx │ ├── hooks │ │ ├── useColorScheme.ts │ │ ├── useColorScheme.web.ts │ │ └── useThemeColor.ts │ ├── babel.config.js │ ├── .eslintrc.js │ ├── tsconfig.json │ ├── .gitignore │ ├── utils │ │ ├── Localhost.ts │ │ ├── Settings.ts │ │ ├── SessionIdProcessor.ts │ │ └── Request.ts │ ├── metro.config.js │ ├── types │ │ └── Cart.ts │ ├── android.Dockerfile │ ├── constants │ │ └── Colors.ts │ └── app.json ├── frontend │ ├── .dockerignore │ ├── .prettierignore │ ├── public │ │ ├── favicon.ico │ │ └── icons │ │ │ └── Check.svg │ ├── components │ │ ├── Ad │ │ │ ├── index.ts │ │ │ ├── Ad.tsx │ │ │ └── Ad.styled.ts │ │ ├── Header │ │ │ ├── index.ts │ │ │ └── Header.tsx │ │ ├── Input │ │ │ ├── index.ts │ │ │ └── Input.tsx │ │ ├── Layout │ │ │ ├── index.ts │ │ │ └── Layout.tsx │ │ ├── Banner │ │ │ ├── index.ts │ │ │ └── Banner.tsx │ │ ├── Button │ │ │ ├── index.ts │ │ │ └── Button.tsx │ │ ├── Footer │ │ │ ├── index.ts │ │ │ ├── Footer.styled.ts │ │ │ └── Footer.tsx │ │ ├── Select │ │ │ ├── index.ts │ │ │ ├── Select.tsx │ │ │ └── Select.styled.ts │ │ ├── CartIcon │ │ │ ├── index.ts │ │ │ ├── CartIcon.tsx │ │ │ └── CartIcon.styled.ts │ │ ├── CartItems │ │ │ ├── index.ts │ │ │ └── CartItem.tsx │ │ ├── CartDropdown │ │ │ └── index.ts │ │ ├── CheckoutForm │ │ │ └── index.ts │ │ ├── CheckoutItem │ │ │ └── index.ts │ │ ├── PlatformFlag │ │ │ ├── index.ts │ │ │ ├── PlatformFlag.tsx │ │ │ └── PlatformFlag.styled.ts │ │ ├── ProductCard │ │ │ ├── index.ts │ │ │ └── ProductCard.styled.ts │ │ ├── ProductList │ │ │ ├── index.ts │ │ │ ├── ProductList.styled.ts │ │ │ └── ProductList.tsx │ │ ├── ProductPrice │ │ │ ├── index.ts │ │ │ └── ProductPrice.tsx │ │ ├── ProductReviews │ │ │ └── index.ts │ │ ├── Recommendations │ │ │ ├── index.ts │ │ │ ├── Recommendations.tsx │ │ │ └── Recommendations.styled.ts │ │ ├── CurrencySwitcher │ │ │ └── index.ts │ │ └── Cart │ │ │ └── EmptyCart.tsx │ ├── Dockerfile.cypress │ ├── utils │ │ ├── enums │ │ │ ├── AttributeNames.ts │ │ │ └── CypressFields.ts │ │ ├── Cypress.ts │ │ ├── Request.ts │ │ ├── telemetry │ │ │ └── SessionIdProcessor.ts │ │ └── imageLoader.js │ ├── .prettierrc │ ├── genproto │ │ └── Dockerfile │ ├── types │ │ └── Cart.ts │ ├── gateways │ │ ├── rpc │ │ │ ├── Ad.gateway.ts │ │ │ ├── Checkout.gateway.ts │ │ │ ├── Recommendations.gateway.ts │ │ │ ├── ProductCatalog.gateway.ts │ │ │ ├── Currency.gateway.ts │ │ │ └── Cart.gateway.ts │ │ └── Session.gateway.ts │ ├── tsconfig.json │ ├── .eslintrc │ ├── cypress.config.ts │ ├── pages │ │ ├── api │ │ │ ├── currency.ts │ │ │ ├── data.ts │ │ │ ├── products │ │ │ │ ├── index.ts │ │ │ │ └── [productId] │ │ │ │ │ └── index.ts │ │ │ ├── product-reviews │ │ │ │ └── [productId] │ │ │ │ │ └── index.ts │ │ │ ├── product-reviews-avg-score │ │ │ │ └── [productId] │ │ │ │ │ └── index.ts │ │ │ ├── product-ask-ai-assistant │ │ │ │ └── [productId] │ │ │ │ │ └── index.ts │ │ │ └── shipping.ts │ │ └── cart │ │ │ └── index.tsx │ ├── services │ │ └── ProductReview.service.ts │ ├── README.md │ └── styles │ │ ├── style.d.ts │ │ ├── Theme.ts │ │ ├── globals.css │ │ └── Home.styled.ts ├── shipping │ ├── .dockerignore │ ├── src │ │ └── shipping_service │ │ │ └── tracking.rs │ ├── README.md │ └── Cargo.toml ├── currency │ ├── .dockerignore │ ├── CMakeLists.txt │ ├── README.md │ └── genproto │ │ └── Dockerfile ├── quote │ ├── .dockerignore │ ├── .gitignore │ ├── src │ │ └── Application │ │ │ └── Settings │ │ │ ├── SettingsInterface.php │ │ │ └── Settings.php │ ├── Dockerfile │ ├── app │ │ ├── settings.php │ │ └── dependencies.php │ ├── composer.json │ └── README.md ├── cart │ ├── src │ │ ├── .dockerignore │ │ ├── appsettings.json │ │ └── cartstore │ │ │ └── ICartStore.cs │ ├── NuGet.config │ ├── README.md │ ├── Directory.Build.props │ └── tests │ │ └── cart.tests.csproj ├── flagd-ui │ ├── rel │ │ └── overlays │ │ │ └── bin │ │ │ ├── server.bat │ │ │ └── server │ ├── test │ │ ├── test_helper.exs │ │ ├── flagd_ui_web │ │ │ └── controllers │ │ │ │ ├── page_controller_test.exs │ │ │ │ ├── error_json_test.exs │ │ │ │ └── error_html_test.exs │ │ └── flagd_ui │ │ │ └── storage_test.exs │ ├── priv │ │ ├── static │ │ │ ├── favicon.ico │ │ │ └── robots.txt │ │ └── gettext │ │ │ ├── en │ │ │ └── LC_MESSAGES │ │ │ │ └── errors.po │ │ │ └── errors.pot │ ├── lib │ │ ├── flagd_ui │ │ │ └── mailer.ex │ │ ├── flagd_ui.ex │ │ └── flagd_ui_web │ │ │ ├── controllers │ │ │ ├── page_html.ex │ │ │ ├── feature_controller.ex │ │ │ ├── error_json.ex │ │ │ └── error_html.ex │ │ │ └── gettext.ex │ ├── .formatter.exs │ ├── config │ │ ├── prod.exs │ │ └── test.exs │ └── .gitignore ├── payment │ ├── .dockerignore │ ├── README.md │ ├── Dockerfile │ └── logger.js ├── llm │ ├── requirements.txt │ ├── product-review-summaries │ │ └── inaccurate-product-review-summaries.json │ └── Dockerfile ├── image-provider │ ├── static │ │ ├── Banner.png │ │ ├── products │ │ │ ├── SolarFilter.jpg │ │ │ ├── TheCometBook.jpg │ │ │ ├── LensCleaningKit.jpg │ │ │ ├── RedFlashlight.jpg │ │ │ ├── RoofBinoculars.jpg │ │ │ ├── StarsenseExplorer.jpg │ │ │ ├── OpticalTubeAssembly.jpg │ │ │ ├── SolarSystemColorImager.jpg │ │ │ ├── EclipsmartTravelRefractorTelescope.jpg │ │ │ └── NationalParkFoundationExplorascope.jpg │ │ └── opentelemetry-demo-logo.png │ ├── Dockerfile │ └── nginx.conf.template ├── jaeger │ ├── ui │ │ └── static │ │ │ ├── favicon-BxcVf0am.ico │ │ │ └── monitor-BYreg9RK.png │ ├── Dockerfile │ └── nginx.conf.template ├── postgres │ └── Dockerfile ├── product-reviews │ ├── genproto │ │ └── Dockerfile │ ├── requirements.txt │ ├── metrics.py │ ├── Dockerfile │ └── README.md ├── recommendation │ ├── genproto │ │ └── Dockerfile │ ├── requirements.txt │ ├── README.md │ ├── metrics.py │ └── Dockerfile ├── kafka │ ├── README.md │ └── Dockerfile ├── checkout │ ├── genproto │ │ └── Dockerfile │ ├── README.md │ └── Dockerfile ├── frontend-proxy │ ├── README.md │ └── Dockerfile ├── product-catalog │ ├── genproto │ │ └── Dockerfile │ ├── Dockerfile │ └── README.md ├── grafana │ └── provisioning │ │ ├── datasources │ │ ├── victorialogs.yaml │ │ ├── victoriametrics.yaml │ │ ├── victoriametrics-prom.yaml │ │ └── victoriatraces.yaml │ │ └── dashboards │ │ └── demo.yaml ├── load-generator │ ├── README.md │ ├── requirements.txt │ └── Dockerfile └── otel-collector │ └── otelcol-config-extras.yml ├── .env.arm64 ├── .yamlignore ├── .gitattributes ├── internal └── tools │ ├── go.mod │ ├── go.sum │ └── tools.go ├── test ├── tracetesting │ ├── cli-config.yml │ ├── ad │ │ ├── all.yaml │ │ └── get.yaml │ ├── email │ │ └── all.yaml │ ├── recommendation │ │ ├── all.yaml │ │ └── list.yaml │ ├── currency │ │ ├── all.yaml │ │ ├── supported.yaml │ │ └── convert.yaml │ ├── checkout │ │ ├── all.yaml │ │ └── add-item-to-cart.yaml │ ├── shipping │ │ └── all.yaml │ ├── product-catalog │ │ ├── all.yaml │ │ ├── list.yaml │ │ └── search.yaml │ ├── product-reviews │ │ ├── all.yaml │ │ ├── reviews.yaml │ │ └── summary.yaml │ ├── otelcol-config-tracetest.yml │ ├── payment │ │ └── all.yaml │ ├── cart │ │ ├── all.yaml │ │ ├── empty-cart.yaml │ │ ├── check-if-cart-is-empty.yaml │ │ └── check-if-cart-is-populated.yaml │ ├── frontend │ │ ├── all.yaml │ │ └── 05-view-cart.yaml │ ├── Dockerfile │ ├── tracetest-config.yaml │ └── tracetest-provision.yaml └── README.md ├── package.json ├── .markdownlint.yaml ├── .linkspector.yml ├── .env.override ├── .dockerignore ├── .yamllint ├── .github └── ISSUE_TEMPLATE │ └── question.md ├── docker-compose-tests_include-override.yml └── .gitignore /src/accounting/.gitignore: -------------------------------------------------------------------------------- 1 | proto -------------------------------------------------------------------------------- /src/ad/.java-version: -------------------------------------------------------------------------------- 1 | 21.0 2 | -------------------------------------------------------------------------------- /src/email/.ruby-version: -------------------------------------------------------------------------------- 1 | 3.4.7 2 | -------------------------------------------------------------------------------- /src/email/.dockerignore: -------------------------------------------------------------------------------- 1 | README.md 2 | -------------------------------------------------------------------------------- /.env.arm64: -------------------------------------------------------------------------------- 1 | _JAVA_OPTIONS=-XX:UseSVE=0 2 | -------------------------------------------------------------------------------- /src/fraud-detection/.dockerignore: -------------------------------------------------------------------------------- 1 | Dockerfile -------------------------------------------------------------------------------- /src/react-native-app/.ruby-version: -------------------------------------------------------------------------------- 1 | 2.7.6 2 | -------------------------------------------------------------------------------- /.yamlignore: -------------------------------------------------------------------------------- 1 | kubernetes/opentelemetry-demo.yaml 2 | -------------------------------------------------------------------------------- /src/accounting/.dockerignore: -------------------------------------------------------------------------------- 1 | bin 2 | obj 3 | build -------------------------------------------------------------------------------- /src/frontend/.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next 3 | -------------------------------------------------------------------------------- /src/shipping/.dockerignore: -------------------------------------------------------------------------------- 1 | target/ 2 | Dockerfile 3 | -------------------------------------------------------------------------------- /src/react-native-app/.prettierignore: -------------------------------------------------------------------------------- 1 | expo-env.d.ts 2 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/noop-file.swift: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/currency/.dockerignore: -------------------------------------------------------------------------------- 1 | client.js 2 | node_modules/ 3 | out/ 4 | -------------------------------------------------------------------------------- /src/fraud-detection/gradle.properties: -------------------------------------------------------------------------------- 1 | kotlin.code.style=official 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | 2 | 3 | * text=auto 4 | 5 | gradlew text eol=lf 6 | -------------------------------------------------------------------------------- /src/ad/settings.gradle: -------------------------------------------------------------------------------- 1 | 2 | rootProject.name = 'opentelemetry-demo-ad' 3 | -------------------------------------------------------------------------------- /src/quote/.dockerignore: -------------------------------------------------------------------------------- 1 | .dockerignore 2 | .idea 3 | Dockerfile 4 | vendor 5 | -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/values-night/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/fraud-detection/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | 2 | rootProject.name = "fraud-detection" 3 | 4 | -------------------------------------------------------------------------------- /src/react-native-app/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | gem 'cocoapods', '1.16.2' 3 | -------------------------------------------------------------------------------- /src/cart/src/.dockerignore: -------------------------------------------------------------------------------- 1 | **/*.sh 2 | **/*.bat 3 | **/bin/ 4 | **/obj/ 5 | **/out/ 6 | Dockerfile* -------------------------------------------------------------------------------- /src/flagd-ui/rel/overlays/bin/server.bat: -------------------------------------------------------------------------------- 1 | set PHX_SERVER=true 2 | call "%~dp0\flagd_ui" start 3 | -------------------------------------------------------------------------------- /src/frontend/.prettierignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .git 3 | build 4 | dist 5 | .husky 6 | node_modules 7 | protos/ 8 | -------------------------------------------------------------------------------- /src/react-native-app/.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .expo/ 3 | dist/ 4 | android/build/ 5 | ios/build/ 6 | ios/Pods/ 7 | -------------------------------------------------------------------------------- /src/payment/.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .dockerignore 3 | Dockerfile 4 | package.json 5 | package-lock.json 6 | README.md -------------------------------------------------------------------------------- /src/quote/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .vscode/ 3 | /coverage/ 4 | /vendor/ 5 | /logs/* 6 | !/logs/README.md 7 | .phpunit.result.cache 8 | -------------------------------------------------------------------------------- /src/react-native-app/.env: -------------------------------------------------------------------------------- 1 | # https://docs.expo.dev/guides/environment-variables/ 2 | 3 | EXPO_PUBLIC_FRONTEND_PROXY_PORT=8080 4 | -------------------------------------------------------------------------------- /src/llm/requirements.txt: -------------------------------------------------------------------------------- 1 | python-dotenv==1.2.1 2 | python-json-logger==4.0.0 3 | flask==3.1.2 4 | openfeature-provider-flagd==0.2.3 5 | -------------------------------------------------------------------------------- /src/flagd-ui/rel/overlays/bin/server: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -eu 3 | 4 | cd -P -- "$(dirname -- "$0")" 5 | PHX_SERVER=true exec ./flagd_ui start 6 | -------------------------------------------------------------------------------- /src/flagd-ui/test/test_helper.exs: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | ExUnit.start() 5 | -------------------------------------------------------------------------------- /src/frontend/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/frontend/public/favicon.ico -------------------------------------------------------------------------------- /src/react-native-app/ios/Podfile.properties.json: -------------------------------------------------------------------------------- 1 | { 2 | "expo.jsEngine": "hermes", 3 | "EX_DEV_CLIENT_NETWORK_INSPECTOR": "true" 4 | } 5 | -------------------------------------------------------------------------------- /src/flagd-ui/priv/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/flagd-ui/priv/static/favicon.ico -------------------------------------------------------------------------------- /src/image-provider/static/Banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/image-provider/static/Banner.png -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "expo" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/ad/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/ad/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/frontend/components/Ad/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './Ad'; 5 | -------------------------------------------------------------------------------- /src/jaeger/ui/static/favicon-BxcVf0am.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/jaeger/ui/static/favicon-BxcVf0am.ico -------------------------------------------------------------------------------- /src/jaeger/ui/static/monitor-BYreg9RK.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/jaeger/ui/static/monitor-BYreg9RK.png -------------------------------------------------------------------------------- /src/frontend/components/Header/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export {default} from './Header'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/Input/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export {default} from './Input'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/Layout/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export {default} from './Layout'; 5 | -------------------------------------------------------------------------------- /src/react-native-app/assets/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/assets/images/icon.png -------------------------------------------------------------------------------- /internal/tools/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/open-telemetry/opentelemetry-specification/internal/tools 2 | 3 | go 1.12 4 | 5 | require github.com/client9/misspell v0.3.4 6 | -------------------------------------------------------------------------------- /src/frontend/components/Banner/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './Banner'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/Button/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './Button'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/Footer/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './Footer'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/Select/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './Select'; 5 | -------------------------------------------------------------------------------- /src/react-native-app/assets/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/assets/images/favicon.png -------------------------------------------------------------------------------- /src/react-native-app/assets/images/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/assets/images/splash.png -------------------------------------------------------------------------------- /src/frontend/components/CartIcon/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './CartIcon'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/CartItems/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './CartItems'; 5 | -------------------------------------------------------------------------------- /src/react-native-app/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/debug.keystore -------------------------------------------------------------------------------- /src/frontend/components/CartDropdown/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './CartDropdown'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/CheckoutForm/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './CheckoutForm'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/CheckoutItem/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './CheckoutItem'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/PlatformFlag/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './PlatformFlag'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/ProductCard/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './ProductCard'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/ProductList/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './ProductList'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/ProductPrice/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './ProductPrice'; 5 | -------------------------------------------------------------------------------- /src/image-provider/static/products/SolarFilter.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/image-provider/static/products/SolarFilter.jpg -------------------------------------------------------------------------------- /src/image-provider/static/products/TheCometBook.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/image-provider/static/products/TheCometBook.jpg -------------------------------------------------------------------------------- /src/react-native-app/components/EmptyCart/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | export { default } from "./EmptyCart"; 4 | -------------------------------------------------------------------------------- /src/react-native-app/components/ProductCard/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | export { default } from "./ProductCard"; 4 | -------------------------------------------------------------------------------- /src/react-native-app/components/ProductList/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | export { default } from "./ProductList"; 4 | -------------------------------------------------------------------------------- /src/react-native-app/hooks/useColorScheme.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | export { useColorScheme } from "react-native"; 4 | -------------------------------------------------------------------------------- /src/fraud-detection/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/fraud-detection/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/frontend/components/ProductReviews/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './ProductReviews'; 5 | -------------------------------------------------------------------------------- /src/frontend/components/Recommendations/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './Recommendations'; 5 | -------------------------------------------------------------------------------- /src/image-provider/static/opentelemetry-demo-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/image-provider/static/opentelemetry-demo-logo.png -------------------------------------------------------------------------------- /src/image-provider/static/products/LensCleaningKit.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/image-provider/static/products/LensCleaningKit.jpg -------------------------------------------------------------------------------- /src/image-provider/static/products/RedFlashlight.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/image-provider/static/products/RedFlashlight.jpg -------------------------------------------------------------------------------- /src/image-provider/static/products/RoofBinoculars.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/image-provider/static/products/RoofBinoculars.jpg -------------------------------------------------------------------------------- /src/react-native-app/assets/images/adaptive-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/assets/images/adaptive-icon.png -------------------------------------------------------------------------------- /src/react-native-app/components/CheckoutForm/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | export { default } from "./CheckoutForm"; 4 | -------------------------------------------------------------------------------- /src/frontend/components/CurrencySwitcher/index.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export { default } from './CurrencySwitcher'; 5 | -------------------------------------------------------------------------------- /src/image-provider/static/products/StarsenseExplorer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/image-provider/static/products/StarsenseExplorer.jpg -------------------------------------------------------------------------------- /src/react-native-app/assets/fonts/SpaceMono-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/assets/fonts/SpaceMono-Regular.ttf -------------------------------------------------------------------------------- /src/frontend/Dockerfile.cypress: -------------------------------------------------------------------------------- 1 | FROM cypress/included:14.5.0 2 | 3 | WORKDIR /app 4 | 5 | COPY ./src/frontend . 6 | 7 | RUN npm clean-install 8 | 9 | ENTRYPOINT ["cypress", "run"] 10 | -------------------------------------------------------------------------------- /src/image-provider/static/products/OpticalTubeAssembly.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/image-provider/static/products/OpticalTubeAssembly.jpg -------------------------------------------------------------------------------- /internal/tools/go.sum: -------------------------------------------------------------------------------- 1 | github.com/client9/misspell v0.3.4 h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI= 2 | github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= 3 | -------------------------------------------------------------------------------- /src/image-provider/static/products/SolarSystemColorImager.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/image-provider/static/products/SolarSystemColorImager.jpg -------------------------------------------------------------------------------- /test/tracetesting/cli-config.yml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | scheme: http 5 | endpoint: tracetest-server:11633 6 | analyticsEnabled: false 7 | -------------------------------------------------------------------------------- /src/flagd-ui/lib/flagd_ui/mailer.ex: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | defmodule FlagdUi.Mailer do 5 | use Swoosh.Mailer, otp_app: :flagd_ui 6 | end 7 | -------------------------------------------------------------------------------- /src/frontend/utils/enums/AttributeNames.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | export enum AttributeNames { 5 | SESSION_ID = 'session.id' 6 | } 7 | -------------------------------------------------------------------------------- /src/react-native-app/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/ic_launcher-playstore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/ic_launcher-playstore.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFFFFF 4 | 5 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "devDependencies": { 3 | "markdown-toc": "^1.2.0", 4 | "markdownlint-cli": "0.46.0", 5 | "@kt3k/license-checker": "^3.2.2", 6 | "@umbrelladocs/linkspector": "^0.4.7" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /src/image-provider/static/products/EclipsmartTravelRefractorTelescope.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/image-provider/static/products/EclipsmartTravelRefractorTelescope.jpg -------------------------------------------------------------------------------- /src/image-provider/static/products/NationalParkFoundationExplorascope.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/image-provider/static/products/NationalParkFoundationExplorascope.jpg -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/drawable/splashscreen.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /src/postgres/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | FROM postgres:17.6 5 | 6 | COPY ./src/postgres/init.sql /docker-entrypoint-initdb.d/init.sql 7 | 8 | EXPOSE ${POSTGRES_PORT} 9 | -------------------------------------------------------------------------------- /src/product-reviews/genproto/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | FROM python:3.12-slim-bookworm 5 | 6 | WORKDIR /build 7 | 8 | RUN python -m pip install grpcio-tools==1.59.2 9 | -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /src/recommendation/genproto/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | FROM python:3.12-slim-bookworm 5 | 6 | WORKDIR /build 7 | 8 | RUN python -m pip install grpcio-tools==1.59.2 9 | -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/drawable-hdpi/splashscreen_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/drawable-hdpi/splashscreen_image.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/drawable-mdpi/splashscreen_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/drawable-mdpi/splashscreen_image.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/drawable-xhdpi/splashscreen_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/drawable-xhdpi/splashscreen_image.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/drawable-xxhdpi/splashscreen_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/drawable-xxhdpi/splashscreen_image.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /src/react-native-app/android/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Android/IntelliJ 6 | # 7 | build/ 8 | .idea 9 | .gradle 10 | local.properties 11 | *.iml 12 | *.hprof 13 | .cxx/ 14 | 15 | # Bundle artifacts 16 | *.jsbundle 17 | -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/drawable-xxxhdpi/splashscreen_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/drawable-xxxhdpi/splashscreen_image.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /src/flagd-ui/priv/static/robots.txt: -------------------------------------------------------------------------------- 1 | # See https://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file 2 | # 3 | # To ban all spiders from the entire site uncomment the next two lines: 4 | # User-agent: * 5 | # Disallow: / 6 | -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /src/react-native-app/babel.config.js: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | module.exports = function (api) { 4 | api.cache(true); 5 | return { 6 | presets: ["babel-preset-expo"], 7 | }; 8 | }; 9 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/Images.xcassets/SplashScreen.imageset/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/ios/reactnativeapp/Images.xcassets/SplashScreen.imageset/image.png -------------------------------------------------------------------------------- /src/kafka/README.md: -------------------------------------------------------------------------------- 1 | # Kafka 2 | 3 | This is used as a message queue service to connect the checkout service with 4 | the accounting and fraud detection services. 5 | 6 | Kafka is run in KRaft mode. Environment variables are substituted at 7 | deploy-time. 8 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/reactnativeapp-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | // 4 | // Use this file to import your target's public headers that you would like to expose to Swift. 5 | // 6 | -------------------------------------------------------------------------------- /src/cart/NuGet.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/Images.xcassets/SplashScreenBackground.imageset/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/ios/reactnativeapp/Images.xcassets/SplashScreenBackground.imageset/image.png -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/reactnativeapp.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /.markdownlint.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | # Default state for all rules 5 | default: true 6 | 7 | # allow long lines for tables and code blocks 8 | MD013: 9 | code_blocks: false 10 | tables: false 11 | -------------------------------------------------------------------------------- /src/flagd-ui/.formatter.exs: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | [ 5 | import_deps: [:phoenix], 6 | plugins: [Phoenix.LiveView.HTMLFormatter], 7 | inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}"] 8 | ] 9 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/Images.xcassets/AppIcon.appiconset/App-Icon-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VictoriaMetrics-Community/opentelemetry-demo/HEAD/src/react-native-app/ios/reactnativeapp/Images.xcassets/AppIcon.appiconset/App-Icon-1024x1024@1x.png -------------------------------------------------------------------------------- /src/shipping/src/shipping_service/tracking.rs: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | use uuid::Uuid; 5 | 6 | /// returns a tracking ID 7 | pub fn create_tracking_id() -> String { 8 | Uuid::new_v4().to_string() 9 | } 10 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char * argv[]) { 6 | @autoreleasepool { 7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /test/tracetesting/ad/all.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | type: TestSuite 5 | spec: 6 | id: ad-all 7 | name: 'Ad Service' 8 | description: Run all Ad Service tests enabled in sequence 9 | steps: 10 | - ./get.yaml 11 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | #import 4 | #import 5 | #import 6 | 7 | @interface AppDelegate : EXAppDelegateWrapper 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /test/tracetesting/email/all.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | type: TestSuite 5 | spec: 6 | id: email-all 7 | name: 'Email' 8 | description: Run all Email tests enabled in sequence 9 | steps: 10 | - ./confirmation.yaml 11 | -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | #ffffff 3 | #ffffff 4 | #023c69 5 | #ffffff 6 | 7 | -------------------------------------------------------------------------------- /src/cart/README.md: -------------------------------------------------------------------------------- 1 | # Cart Service 2 | 3 | This service stores user shopping carts in Valkey. 4 | 5 | ## Local Build 6 | 7 | Run `dotnet restore` and `dotnet build`. 8 | 9 | ## Docker Build 10 | 11 | From the root directory of this repository, run: 12 | 13 | ```sh 14 | docker compose build cart 15 | ``` 16 | -------------------------------------------------------------------------------- /src/ad/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /src/react-native-app/.eslintrc.js: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | // https://docs.expo.dev/guides/using-eslint/ 4 | module.exports = { 5 | extends: ["expo", "prettier"], 6 | plugins: ["prettier"], 7 | rules: { 8 | "prettier/prettier": "error", 9 | }, 10 | }; 11 | -------------------------------------------------------------------------------- /src/checkout/genproto/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | FROM golang:1.24-alpine 5 | 6 | WORKDIR /build 7 | 8 | RUN apk add --no-cache protobuf-dev 9 | 10 | COPY ./src/checkout/go.mod go.mod 11 | COPY ./src/checkout/go.sum go.sum 12 | 13 | RUN go install tool 14 | -------------------------------------------------------------------------------- /src/fraud-detection/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /src/frontend-proxy/README.md: -------------------------------------------------------------------------------- 1 | # Frontend Proxy Service 2 | 3 | This service acts as a reverse proxy for the various user-facing web interfaces. 4 | 5 | ## Modifying the Envoy Configuration 6 | 7 | The envoy configuration is generated from the `envoy.tmpl.yaml` file in this 8 | directory. Environment variables are substituted at deploy-time. 9 | -------------------------------------------------------------------------------- /src/react-native-app/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /test/tracetesting/recommendation/all.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | type: TestSuite 5 | spec: 6 | id: recommendation-all 7 | name: 'Recommendation Service' 8 | description: Run all Recommendation Service tests enabled in sequence 9 | steps: 10 | - ./list.yaml 11 | -------------------------------------------------------------------------------- /test/tracetesting/currency/all.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | type: TestSuite 5 | spec: 6 | id: currency-all 7 | name: 'Currency Service' 8 | description: Run all Currency Service tests enabled in sequence 9 | steps: 10 | - ./convert.yaml 11 | - ./supported.yaml 12 | -------------------------------------------------------------------------------- /src/cart/src/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | }, 9 | "AllowedHosts": "*", 10 | "Kestrel": { 11 | "EndpointDefaults": { 12 | "Protocols": "Http2" 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /src/product-catalog/genproto/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | FROM golang:1.24-alpine 5 | 6 | WORKDIR /build 7 | 8 | RUN apk add --no-cache protobuf-dev 9 | 10 | COPY ./src/product-catalog/go.mod go.mod 11 | COPY ./src/product-catalog/go.sum go.sum 12 | 13 | RUN go install tool 14 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/react-native-app/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "expo/tsconfig.base", 3 | "compilerOptions": { 4 | "strict": true, 5 | "paths": { 6 | "@/*": [ 7 | "./*" 8 | ] 9 | } 10 | }, 11 | "include": [ 12 | "**/*.ts", 13 | "**/*.tsx", 14 | ".expo/types/**/*.ts", 15 | "expo-env.d.ts" 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /test/tracetesting/checkout/all.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | type: TestSuite 5 | spec: 6 | id: checkout-all 7 | name: 'Checkout Service' 8 | description: Run all Checkout Service tests enabled in sequence 9 | steps: 10 | - ./add-item-to-cart.yaml 11 | - ./place-order.yaml 12 | -------------------------------------------------------------------------------- /src/frontend/utils/Cypress.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | import { CypressFields } from './enums/CypressFields'; 5 | 6 | export { CypressFields }; 7 | 8 | export const getElementByField = (field: CypressFields, context: Cypress.Chainable = cy) => 9 | context.get(`[data-cy="${field}"]`); 10 | -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/tracetesting/shipping/all.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | type: TestSuite 5 | spec: 6 | id: shipping-all 7 | name: 'Shipping Service' 8 | description: Run all Shipping Service tests enabled in sequence 9 | steps: 10 | - ./quote.yaml 11 | - ./empty-quote.yaml 12 | - ./order.yaml 13 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images": [ 3 | { 4 | "filename": "App-Icon-1024x1024@1x.png", 5 | "idiom": "universal", 6 | "platform": "ios", 7 | "size": "1024x1024" 8 | } 9 | ], 10 | "info": { 11 | "version": 1, 12 | "author": "expo" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /test/tracetesting/product-catalog/all.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | type: TestSuite 5 | spec: 6 | id: product-catalog-all 7 | name: 'Product Catalog' 8 | description: Run all Product Catalog tests enabled in sequence 9 | steps: 10 | - ./list.yaml 11 | - ./get.yaml 12 | - ./search.yaml 13 | -------------------------------------------------------------------------------- /src/payment/README.md: -------------------------------------------------------------------------------- 1 | # Payment Service 2 | 3 | This service is responsible for processing and validating payments through the 4 | application. 5 | 6 | ## Local Build 7 | 8 | Copy the `demo.proto` file to this directory and run `npm ci` 9 | 10 | ## Docker Build 11 | 12 | From the root directory, run: 13 | 14 | ```sh 15 | docker compose build payment 16 | ``` 17 | -------------------------------------------------------------------------------- /test/tracetesting/product-reviews/all.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | type: TestSuite 5 | spec: 6 | id: product-reviews-all 7 | name: 'Product Review Service' 8 | description: Run all Product Review Service tests enabled in sequence 9 | steps: 10 | - ./reviews.yaml 11 | - ./summary.yaml 12 | -------------------------------------------------------------------------------- /src/flagd-ui/test/flagd_ui_web/controllers/page_controller_test.exs: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | defmodule FlagdUiWeb.PageControllerTest do 5 | use FlagdUiWeb.ConnCase 6 | 7 | test "GET /", %{conn: conn} do 8 | conn = get(conn, ~p"/") 9 | assert html_response(conn, 200) =~ "Flagd Configurator" 10 | end 11 | end 12 | -------------------------------------------------------------------------------- /src/grafana/provisioning/datasources/victorialogs.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | apiVersion: 1 5 | 6 | datasources: 7 | - name: VictoriaLogs 8 | uid: webstore-logs 9 | type: victoriametrics-logs-datasource 10 | url: http://victorialogs:9428/ 11 | access: proxy 12 | editable: true 13 | isDefault: false 14 | -------------------------------------------------------------------------------- /test/tracetesting/otelcol-config-tracetest.yml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | exporters: 5 | otlp/tracetest: 6 | endpoint: http://tracetest-server:4317 7 | tls: 8 | insecure: true 9 | 10 | service: 11 | pipelines: 12 | traces: 13 | processors: [] 14 | exporters: [debug, spanmetrics, otlp/tracetest] 15 | -------------------------------------------------------------------------------- /src/flagd-ui/lib/flagd_ui.ex: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | defmodule FlagdUi do 5 | @moduledoc """ 6 | FlagdUi keeps the contexts that define your domain 7 | and business logic. 8 | 9 | Contexts are also responsible for managing your data, regardless 10 | if it comes from the database, an external API or others. 11 | """ 12 | end 13 | -------------------------------------------------------------------------------- /src/react-native-app/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .expo/ 3 | dist/ 4 | npm-debug.* 5 | *.jks 6 | *.p8 7 | *.p12 8 | *.key 9 | *.mobileprovision 10 | *.orig.* 11 | web-build/ 12 | pb/demo.proto 13 | 14 | # macOS 15 | .DS_Store 16 | 17 | # @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb 18 | # The following patterns were generated by expo-cli 19 | 20 | expo-env.d.ts 21 | # @end expo-cli 22 | 23 | -------------------------------------------------------------------------------- /src/recommendation/requirements.txt: -------------------------------------------------------------------------------- 1 | grpcio-health-checking==1.71.0 2 | openfeature-hooks-opentelemetry==0.2.0 3 | openfeature-provider-flagd==0.2.3 4 | opentelemetry-distro==0.60b0 5 | opentelemetry-exporter-otlp-proto-grpc==1.39.0 6 | psutil==7.0.0 # Importing this will also import opentelemetry-instrumentation-system-metrics when running opentelemetry-bootstrap 7 | python-dotenv==1.2.1 8 | python-json-logger==4.0.0 9 | -------------------------------------------------------------------------------- /.linkspector.yml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | dirs: 5 | - . 6 | 7 | excludedFiles: 8 | - ./CHANGELOG.md 9 | 10 | ignorePatterns: 11 | - pattern: "^http://localhost:8080" 12 | - pattern: "^https://calendar.google.com/calendar" 13 | 14 | aliveStatusCodes: 15 | - 200 16 | - 429 17 | 18 | useGitIgnore: true 19 | 20 | modifiedFilesOnly: false 21 | -------------------------------------------------------------------------------- /src/flagd-ui/lib/flagd_ui_web/controllers/page_html.ex: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | defmodule FlagdUiWeb.PageHTML do 5 | @moduledoc """ 6 | This module contains pages rendered by PageController. 7 | 8 | See the `page_html` directory for all templates available. 9 | """ 10 | use FlagdUiWeb, :html 11 | 12 | embed_templates "page_html/*" 13 | end 14 | -------------------------------------------------------------------------------- /src/frontend/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "importOrderSeparation": true, 3 | "importOrderSortSpecifiers": true, 4 | "singleQuote": true, 5 | "arrowParens": "avoid", 6 | "bracketSpacing": true, 7 | "semi": true, 8 | "trailingComma": "es5", 9 | "printWidth": 120, 10 | "jsxBracketSameLine": false, 11 | "proseWrap": "always", 12 | "quoteProps": "as-needed", 13 | "tabWidth": 2, 14 | "useTabs": false 15 | } 16 | -------------------------------------------------------------------------------- /test/tracetesting/payment/all.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | type: TestSuite 5 | spec: 6 | id: payment-all 7 | name: 'Payment' 8 | description: Run all Payment tests enabled in sequence 9 | steps: 10 | - ./valid-credit-card.yaml 11 | - ./invalid-credit-card.yaml 12 | - ./amex-credit-card-not-allowed.yaml 13 | - ./expired-credit-card.yaml 14 | -------------------------------------------------------------------------------- /src/grafana/provisioning/dashboards/demo.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | 5 | apiVersion: 1 6 | providers: 7 | - name: 'OpenTelemetry Demo' 8 | orgId: 1 9 | folder: 'Demo' 10 | folderUid: 'demo' 11 | type: file 12 | disableDeletion: false 13 | editable: true 14 | options: 15 | path: /etc/grafana/provisioning/dashboards/demo 16 | -------------------------------------------------------------------------------- /src/quote/src/Application/Settings/SettingsInterface.php: -------------------------------------------------------------------------------- 1 | 2 | Astronomy Shop App 3 | contain 4 | false 5 | automatic 6 | 7 | -------------------------------------------------------------------------------- /src/frontend/components/ProductList/ProductList.styled.ts: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | import styled from 'styled-components'; 5 | 6 | export const ProductList = styled.div` 7 | display: grid; 8 | grid-template-columns: 1fr; 9 | gap: 24px; 10 | 11 | ${({ theme }) => theme.breakpoints.desktop} { 12 | grid-template-columns: repeat(3, auto); 13 | } 14 | `; 15 | -------------------------------------------------------------------------------- /test/tracetesting/cart/all.yaml: -------------------------------------------------------------------------------- 1 | # Copyright The OpenTelemetry Authors 2 | # SPDX-License-Identifier: Apache-2.0 3 | 4 | type: TestSuite 5 | spec: 6 | id: cart-all 7 | name: 'Cart Service' 8 | description: Run all Cart tests enabled in sequence 9 | steps: 10 | - ./empty-cart.yaml 11 | - ./add-item-to-cart.yaml 12 | - ./check-if-cart-is-populated.yaml 13 | - ./empty-cart.yaml 14 | - ./check-if-cart-is-empty.yaml 15 | -------------------------------------------------------------------------------- /src/flagd-ui/priv/gettext/errors.pot: -------------------------------------------------------------------------------- 1 | ## This is a PO Template file. 2 | ## 3 | ## `msgid`s here are often extracted from source code. 4 | ## Add new translations manually only if they're dynamic 5 | ## translations that can't be statically extracted. 6 | ## 7 | ## Run `mix gettext.extract` to bring this file up to 8 | ## date. Leave `msgstr`s empty as changing them here has no 9 | ## effect: edit them in PO (`.po`) files instead. 10 | 11 | -------------------------------------------------------------------------------- /src/recommendation/README.md: -------------------------------------------------------------------------------- 1 | # Recommendation Service 2 | 3 | This service provides recommendations for other products based on the currently 4 | selected product. 5 | 6 | ## Local Build 7 | 8 | To build the protos, run from the root directory: 9 | 10 | ```sh 11 | make docker-generate-protobuf 12 | ``` 13 | 14 | ## Docker Build 15 | 16 | From the root directory, run: 17 | 18 | ```sh 19 | docker compose build recommendation 20 | ``` 21 | -------------------------------------------------------------------------------- /.env.override: -------------------------------------------------------------------------------- 1 | # DO NOT PUSH CHANGES OF THIS FILE TO opentelemetry/opentelemetry-demo 2 | # PLACE YOUR .env ENVIRONMENT VARIABLES OVERRIDES IN THIS FILE 3 | 4 | 5 | # To use a real OpenAI API-compatible LLM, 6 | # set the appropriate values for the target LLM 7 | # Required permissions: 8 | # [Models and Model capabilities] 9 | 10 | #LLM_BASE_URL=https://api.openai.com/v1 11 | #LLM_MODEL=gpt-4o-mini 12 | #OPENAI_API_KEY= 13 | -------------------------------------------------------------------------------- /src/load-generator/README.md: -------------------------------------------------------------------------------- 1 | # Load Generator 2 | 3 | The load generator creates simulated traffic to the demo. 4 | 5 | ## Accessing the Load Generator 6 | 7 | You can access the web interface to Locust at `http://localhost:8080/loadgen/`. 8 | 9 | ## Modifying the Load Generator 10 | 11 | Please see the [Locust 12 | documentation](https://docs.locust.io/en/2.16.0/writing-a-locustfile.html) to 13 | learn more about modifying the locustfile. 14 | -------------------------------------------------------------------------------- /src/react-native-app/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/cart/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | true 4 | all 5 | low 6 | 7 | 8 | 9 | Minimum 10 | true 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/accounting/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | true 4 | all 5 | low 6 | 7 | 8 | 9 | Minimum 10 | true 11 | 12 | 13 | -------------------------------------------------------------------------------- /internal/tools/tools.go: -------------------------------------------------------------------------------- 1 | // 2 | 3 | //go:build tools 4 | // +build tools 5 | 6 | package tools 7 | 8 | // This file follows the recommendation at 9 | // https://go.dev/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module 10 | // on how to pin tooling dependencies to a go.mod file. 11 | // This ensures that all systems use the same version of tools in addition to regular dependencies. 12 | 13 | import ( 14 | _ "github.com/client9/misspell/cmd/misspell" 15 | ) 16 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/Images.xcassets/SplashScreen.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images": [ 3 | { 4 | "idiom": "universal", 5 | "filename": "image.png", 6 | "scale": "1x" 7 | }, 8 | { 9 | "idiom": "universal", 10 | "scale": "2x" 11 | }, 12 | { 13 | "idiom": "universal", 14 | "scale": "3x" 15 | } 16 | ], 17 | "info": { 18 | "version": 1, 19 | "author": "expo" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/Supporting/Expo.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | EXUpdatesCheckOnLaunch 6 | ALWAYS 7 | EXUpdatesEnabled 8 | 9 | EXUpdatesLaunchWaitMs 10 | 0 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/cart/src/cartstore/ICartStore.cs: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | using System.Threading.Tasks; 4 | 5 | namespace cart.cartstore; 6 | 7 | public interface ICartStore 8 | { 9 | void Initialize(); 10 | 11 | Task AddItemAsync(string userId, string productId, int quantity); 12 | Task EmptyCartAsync(string userId); 13 | 14 | Task GetCartAsync(string userId); 15 | 16 | bool Ping(); 17 | } 18 | -------------------------------------------------------------------------------- /src/react-native-app/ios/reactnativeapp/Images.xcassets/SplashScreenBackground.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images": [ 3 | { 4 | "idiom": "universal", 5 | "filename": "image.png", 6 | "scale": "1x" 7 | }, 8 | { 9 | "idiom": "universal", 10 | "scale": "2x" 11 | }, 12 | { 13 | "idiom": "universal", 14 | "scale": "3x" 15 | } 16 | ], 17 | "info": { 18 | "version": 1, 19 | "author": "expo" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/frontend/components/PlatformFlag/PlatformFlag.tsx: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | import * as S from './PlatformFlag.styled'; 5 | 6 | const { NEXT_PUBLIC_PLATFORM = 'local' } = typeof window !== 'undefined' ? window.ENV : {}; 7 | 8 | const platform = NEXT_PUBLIC_PLATFORM; 9 | 10 | const PlatformFlag = () => { 11 | return ( 12 | {platform} 13 | ); 14 | }; 15 | 16 | export default PlatformFlag; 17 | -------------------------------------------------------------------------------- /src/frontend/components/Layout/Layout.tsx: -------------------------------------------------------------------------------- 1 | // Copyright The OpenTelemetry Authors 2 | // SPDX-License-Identifier: Apache-2.0 3 | 4 | import Header from '../Header'; 5 | import Footer from '../Footer'; 6 | 7 | interface IProps { 8 | children: React.ReactNode; 9 | } 10 | 11 | const Layout = ({ children }: IProps) => { 12 | return ( 13 | <> 14 |
15 |
{children}
16 |