You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This cookbook contains the full source code for FlyFast, utilizing both the [FlyFast-WebUI](https://github.com/Aternity/FlyFast-WebUI) and [FlyFast-FlightSearch](https://github.com/Aternity/FlyFast-FlightSearch) to demonstrates how the [ALLUVIO Aternity DEM](https://www.riverbed.com/products/digital-experience-management) solution provides observability of a full-stack application using [OpenTelemetry](https://opentelemetry.io/) auto-instrumentation.
3
+
This cookbook contains the full source code for FlyFast, utilizing both the [FlyFast-WebUI](https://github.com/riverbed/FlyFast-WebUI) and [FlyFast-FlightSearch](https://github.com/riverbed/FlyFast-FlightSearch) to demonstrates how works [OpenTelemetry](https://opentelemetry.io/) with [Riverbed APM](https://www.riverbed.com/products/application-performance-monitoring/).
4
4
5
-
To instrument the FlyFast demo app, the OpenTelemetry agent will be containerized with the app and injected in the app at startup. The agent will be configured to export the tracing to the ALLUVIO Aternity APM SaaS backend via the [ALLUVIO Aternity OpenTelemetry Collector](https://hub.docker.com/r/aternity/apm-collector) that will run in an another container.
5
+

6
6
7
-

7
+
> [!NOTE]
8
+
> The FlyFast demo app is instrumented with OpenTelemetry configured to send the OpenTelemetry traces to the [APM OpenTelemetry Collector](https://hub.docker.com/r/aternity/apm-collector), which in turns exports traces to the Riverbed APM backend (whether APM SaaS or APM Analysis Server).
9
+
> In the app, both the WebUI frontend and the FlighSearch API backend are instrumented: the frontend instrumentation uses an experimental OpenTelemetry for Javascript in the browser, and the FlightSearch API uses OpenTelemetry for Python.
8
10
9
11
## Prerequisites
10
12
11
-
1. an account for ALLUVIO Aternity APM (SaaS)
12
-
2. optional - an account for ALLUVIO Aternity UJI
13
+
1. an APM SaaS account, or an APM Analysis Server
14
+
2.*optional*an account for Aternity UJI
13
15
3. a Docker host, for example [Docker Desktop](https://www.docker.com/products/docker-desktop)
### 2. Get your CustomerID & SaaS Analysis Server Host details for APM
24
+
## Step 2. Get your information for Riverbed APM
25
+
26
+
Open the APM web console and navigate to Agents > Install Agents (for example [https://apm.myaccount.aternity.com](https://apm.myaccount.aternity.com))
27
+
28
+
1. Grab the **Analysis Server Host**, for example *agents.apm.myaccount.aternity.com*
29
+
2. Find your **CustomerID**, for example *12341234-12341234-13241234*
25
30
26
-
Open ALLUVIO Aternity APM (for example [https://apm.myaccount.aternity.com](https://apm.myaccount.aternity.com)) and navigate to Agents > Install Agents
31
+
Those information are required to activate the [APM OpenTelemetry Collector](https://hub.docker.com/r/aternity/apm-collector) with an APM account.
32
+
The CustomerID is not required when it is not an APM SaaS.
27
33
28
-
1. Find your **CustomerID**, for example *12341234-12341234-13241234*
29
-
2. Grab **SaaS Analysis Server Host**, for example *agents.apm.myaccount.aternity.com*
34
+
## Step 3. *optional* Get your information for Aternity UJI
30
35
31
-
Those information are required to activate the container of the [Aternity APM Collector](https://hub.docker.com/r/aternity/apm-collector)
36
+
<details>
37
+
<summary>*optional* See details for Aternity UJI</summary>
32
38
33
-
### 3. Get the UJI Tag Prefix (Optional)
34
39
35
-
1. Open [ALLUVIO Aternity UJI](https://portals.bluetriangle.com) and navigate to Settings & Administration > Sites
40
+
1. Open [Aternity UJI](https://portals.bluetriangle.com) and navigate to Settings & Administration > Sites
36
41
2. Find the site configured for FlyFast and get the **UJI Tag Prefix**, for example *my-UJI-Tag-Prefix-FlyFast*
37
42
38
-
### 4. Start the containers
43
+
</details>
44
+
45
+
## Step 4. Start the containers
46
+
47
+
Start the containers using the [docker-compose.yaml](docker-compose.yaml), using the snipppet below
48
+
and replacing the values with the information collected at step 2. and step 3.
39
49
40
-
Start the containers using the [docker-compose.yml](docker-compose.yml), for example with Bash:
50
+
For example in Bash:
41
51
42
52
```bash
43
53
cd FlyFast
44
54
45
-
# Configure the ALLUVIO Aternity APM OpenTelemetry Collector
46
-
# Replace the value with the information collected at step 2.
In the [Riverbed Community Toolkit](https://github.com/riverbed/Riverbed-Community-Toolkit), the cookbook [Synthetic-004-Browse-FlyFast](https://github.com/riverbed/Riverbed-Community-Toolkit/tree/master/NetIM/Synthetic-Test/Synthetic-004-Browse-FlyFast) show how to set up a synthetic test for FlyFast on a Windows machine.
142
+
100
143
### Stop The App and All The Containers
101
144
102
145
Press `CTRL + C` in the shell where it is running.
@@ -107,6 +150,12 @@ Or in a shell, go to the folder where you keep the [docker-compose.yml](docker-c
Copyright (c) 2022 - 2024 Riverbed Technology, Inc.
129
180
130
181
The contents provided here are licensed under the terms and conditions of the MIT License accompanying the software ("License"). The scripts are distributed "AS IS" as set forth in the License. The script also include certain third party code. All such third party code is also distributed "AS IS" and is licensed by the respective copyright holders under the applicable terms and conditions (including, without limitation, warranty and liability disclaimers) identified in the license notices accompanying the software.
0 commit comments