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
"text": "The patient was diagnosed with leukemia.",
@@ -211,7 +211,7 @@ and the received result:
211
211
212
212
Bio-YODIE is being run as a service using CogStack GATE NLP Runner Service as described above. In this example Bio-YODIE application will only output annotations of `Disease` type from `Bio` group (defined in the service configuration file). Assuming that the service is running on the `localhost` with the API exposed on port `8095`, so one can run:
213
213
214
-
```java
214
+
```bash
215
215
curl --header "Content-Type: application/json" \
216
216
--request POST \
217
217
--data '{"content":{"text": "lung cancer diagnosis"}}' \
@@ -86,7 +86,7 @@ This is probably the hardest step: You will actually need to know what is runnin
86
86
## Step 5: Run Grafana Alloy on every VM
87
87
The Grafana Alloy image needs to be run on each VM that you want to get information from.
88
88
89
-
Use the example docker compose file in [exporters.docker-compose.yml](../../../observability/examples/full/exporters.docker-compose.yml) which will start up alloy and get metrics
89
+
Use the example docker compose file in [exporters.docker-compose.yml](../../../../observability/examples/full/exporters.docker-compose.yml) which will start up alloy and get metrics
90
90
91
91
```
92
92
docker compose -f exporters.docker-compose.yml up -d
Copy file name to clipboardExpand all lines: docs/platform/observability/setup/telemetry.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ We have to run Grafana Alloy on every single VM to get telemetry.
16
16
17
17
Alloy is setup to push metrics to a central prometheus instance.
18
18
19
-
- Copy this docker compose file: [exporters.docker-compose.yml](../../../observability/examples/full/exporters.docker-compose.yml)
19
+
- Copy this docker compose file: [exporters.docker-compose.yml](../../../../observability/examples/full/exporters.docker-compose.yml)
20
20
- Edit the environment variables to point to your prometheus URL:
21
21
22
22
```yaml
@@ -34,8 +34,8 @@ Now you have the setup, you will have to run this on every VM you want metrics f
34
34
### Elastic Search Metrics
35
35
To get elasticsearch metrics we have to mount an alloy config file into the image.
36
36
37
-
- Copy this docker compose file: [exporters.elastic.docker-compose.yml](../../../observability/examples/full/exporters.elastic.docker-compose.yml)
38
-
- Copy this configuration file [elasticsearch.alloy](../../../observability/examples/full/alloy/elasticsearch.alloy) into `alloy/elasticsearch.alloy`
37
+
- Copy this docker compose file: [exporters.elastic.docker-compose.yml](../../../../observability/examples/full/exporters.elastic.docker-compose.yml)
38
+
- Copy this configuration file [elasticsearch.alloy](../../../../observability/examples/full/alloy/elasticsearch.alloy) into `alloy/elasticsearch.alloy`
39
39
40
40
In the docker compose file, we can see there are two changes to the usual exporter:
0 commit comments