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: hols/grafana/README.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,13 @@ Now quit the Helidon application (^C).
128
128
## Enable virtual threads metrics (Optional)
129
129
130
130
If you are running with JDK24, you can include additional experimental virtual threads metrics. Change directory to the cloned `helidon-labs` repository,
131
-
and build using JDK24 include the following in each of the generated MP and SE `pom.xml`.
131
+
and build the project using JDK24 and the following command:
132
+
133
+
```bash
134
+
mvn clean install
135
+
```
136
+
137
+
Then, include the following in each of the generated MP and SE `pom.xml`.
1. Click the Grafana menu icon on the left to get the menu.
300
308
2. Click on Add new data source
301
-
3. Search for Prometheus and click on the `Prometheus` data source, then `Add new data source`. Ensure that the Connection URL is correct for your instance of Prometheus.
309
+
3. Search for Prometheus and click on the `Prometheus` data source, then `Add new data source`. Ensure that the Connection URL is correct for your instance of Prometheus. **Make sure this is set as default**.
302
310
4. Repeat the above for Loki.
303
311
304
312
The ports used by Loki and Prometheus should be the default ports.
@@ -422,7 +430,7 @@ If you wish to explore the Loki logs you can do the following in Grafana:
422
430
423
431
1. Open the Grafana menu at the top left, and click on `Explore`
424
432
2. Select the `Loki` datasource
425
-
3. Enter the following in the query and click `Run Query`
433
+
3. On the right click, `Code`, and enter the following in the query and click `Run Query`
426
434
`{job="helidon-quickstart-mp"}`
427
435
4. You should see something similar to the following showing the collected logs:
0 commit comments