From 56909c284301805e8a4c87aa4bdca308f901a890 Mon Sep 17 00:00:00 2001 From: fxmarty <9808326+fxmarty@users.noreply.github.com> Date: Thu, 16 May 2024 13:44:23 +0000 Subject: [PATCH] fix typos --- docs/source/basic_tutorials/monitoring.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/basic_tutorials/monitoring.md b/docs/source/basic_tutorials/monitoring.md index bc8680ca..a24cf902 100644 --- a/docs/source/basic_tutorials/monitoring.md +++ b/docs/source/basic_tutorials/monitoring.md @@ -12,7 +12,7 @@ First, on your server machine, TGI needs to be launched as usual. TGI exposes [m In the rest of this tutorial, we assume that TGI was launched through Docker with `--network host`. -On the server where TGI is hosted, a Prometheus server needs to be installed and launched. To do so, please follow [Prometheus installation instructions](https://prometheus.io/download/#prometheus). For example, at the time of writting on a Linux machine: +On the server where TGI is hosted, a Prometheus server needs to be installed and launched. To do so, please follow [Prometheus installation instructions](https://prometheus.io/download/#prometheus). For example, at the time of writing on a Linux machine: ``` wget https://github.com/prometheus/prometheus/releases/download/v2.52.0/prometheus-2.52.0.linux-amd64.tar.gz @@ -31,7 +31,7 @@ We suggest to try `curl 0.0.0.0:80/generate -X POST -d '{"inputs":"hey chatbot, Once Prometheus is configured, Prometheus server can be launched on the same machine where TGI is launched: ``` -./prometheus +./prometheus --config.file="prometheus.yml" ``` In this guide, Prometheus monitoring data will be consumed on a local computer. Hence, we need to forward Prometheus port (by default 9090) to the local computer. To do so, we can for example: