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
Copy file name to clipboardExpand all lines: README.md
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,19 +109,21 @@ The [docker-compose-local.yaml](./docker-compose-local.yaml) file is set up to r
109
109
110
110
Grafana Alloy collects traces, metrics, logs and profiling data from the QuickPizza app, forwarding them to the Tempo, Prometheus and Loki. Finally, you can visualize and correlate data stored in these containers with the locally running Grafana instance.
111
111
112
-
To start the local environment, use the following command:
112
+
To start the local environment with the complete observability stack, use the following command:
113
113
114
114
```bash
115
-
docker compose -f docker-compose-local.yaml up -d
115
+
docker compose -f compose.grafana-local-stack.monolithic.yaml up -d
116
116
```
117
117
118
+
This setup runs QuickPizza in monolithic mode, where all QuickPizza components run in a single instance.
119
+
118
120
Like before, QuickPizza is available at [localhost:3333](http://localhost:3333). It's time to discover some fancy pizzas!
119
121
120
122
Then, you can visit the Grafana instance running at [localhost:3000](http://localhost:3000) and use **Explore** or **Drilldown apps** to access QuickPizza data.
To find the labels applied to the telemetry data, refer to [local.alloy](./alloy/local.alloy) and [docker-compose-local.yaml](./docker-compose-local.yaml).
126
+
To find the labels applied to the telemetry data, refer to [local.alloy](./alloy/local.alloy) and [compose.grafana-local-stack.monolithic.yaml](./compose.grafana-local-stack.monolithic.yaml).
125
127
126
128
### Send k6 Test Results to Prometheus and visualize them in Grafana with prebuilt dashboards
127
129
@@ -139,9 +141,9 @@ For detailed instructions about the different options of the k6 Prometheus outpu
139
141
140
142
## Run locally and observe with Grafana Cloud ☁📊
141
143
142
-
The [docker-compose-cloud.yaml](./docker-compose-cloud.yaml) file is set up to run the QuickPizza and Grafana Alloy containers.
144
+
The [compose.grafana-cloud.microservices.yaml](./compose.grafana-cloud.microservices.yaml) file is set up to run QuickPizza in microservice mode with a Grafana Alloy instance.
143
145
144
-
In this setup, Grafana Alloy collects observability data from the QuickPizza app and forwards it to [Grafana Cloud](https://grafana.com/products/cloud/).
146
+
In this setup, Grafana Alloy collects observability data from the QuickPizza microservices and forwards it to [Grafana Cloud](https://grafana.com/products/cloud/).
145
147
146
148
You will need the following settings:
147
149
@@ -157,10 +159,10 @@ GRAFANA_CLOUD_STACK=
157
159
GRAFANA_CLOUD_TOKEN=
158
160
```
159
161
160
-
Finally, execute the Docker Compose command using the `docker-compose-cloud.yaml` file, just as in the local setup:
162
+
Finally, execute the Docker Compose command using the `compose.grafana-cloud.microservices.yaml` file, just as in the local setup:
161
163
162
164
```bash
163
-
docker compose -f docker-compose-cloud.yaml up -d
165
+
docker compose -f compose.grafana-cloud.microservices.yaml up -d
164
166
```
165
167
166
168
QuickPizza is available at [localhost:3333](http://localhost:3333). Click the `Pizza, Please!` button and discover some awesome pizzas!
@@ -171,7 +173,7 @@ Now, you can log in to [Grafana Cloud](https://grafana.com/products/cloud/) and
To find the labels applied to the telemetry data, refer to [cloud.alloy](./alloy/cloud.alloy) and [docker-compose-cloud.yaml](./docker-compose-cloud.yaml) .
176
+
To find the labels applied to the telemetry data, refer to [cloud.alloy](./alloy/cloud.alloy) and [compose.grafana-cloud.microservices.yaml](./compose.grafana-cloud.microservices.yaml) .
175
177
176
178
### Monitor QuickPizza with Grafana Cloud Application and Frontend Observability
177
179
@@ -199,11 +201,11 @@ QUICKPIZZA_CONF_FARO_URL=
199
201
QUICKPIZZA_CONF_FARO_APP_NAME=
200
202
```
201
203
202
-
4. Restart the `docker-compose-cloud.yaml` environment:
204
+
4. Restart the `compose.grafana-cloud.microservices.yaml` environment:
203
205
204
206
```bash
205
-
docker compose -f docker-compose-cloud.yaml down
206
-
docker compose -f docker-compose-cloud.yaml up -d
207
+
docker compose -f compose.grafana-cloud.microservices.yaml down
208
+
docker compose -f compose.grafana-cloud.microservices.yaml up -d
0 commit comments