Skip to content

Commit

Permalink
fix: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
numb3r3 committed Jun 1, 2022
1 parent e0efe18 commit 9da0c19
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/user-guides/server.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,12 @@ Based on these two points, it makes more sense to have multiple replicas on a si
## Monitoring with Prometheus

To monitor the performance of the service, you can enable the monitoring feature in the Flow YAML:

```{code-block} yaml
---
emphasize-lines:5,6,14,15
emphasize-lines: 5,6,14,15
---
jtype: Flow
version: '1'
with:
Expand All @@ -404,10 +406,13 @@ executors:
port_monitoring: 9091
```

Then, you will get

```{figure} images/server-start-monitoring.gif
:width: 80%
```

As shown in the above example, this Flow will create two metrics exposing endpoints:
- `http://localhost:9090` for the gateway
- `http://localhost:9091` for the encoder
Expand Down

0 comments on commit 9da0c19

Please sign in to comment.