mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Update README.md (#586)
This commit is contained in:
@@ -77,7 +77,7 @@ Open a terminal window and navigate to the directory containing this example.
|
|||||||
Start Grafana on port 3000:
|
Start Grafana on port 3000:
|
||||||
```
|
```
|
||||||
docker run --name=grafana -d -p 3000:3000 \
|
docker run --name=grafana -d -p 3000:3000 \
|
||||||
--link fnserver --link prometheus grafana/grafana
|
--link prometheus grafana/grafana
|
||||||
```
|
```
|
||||||
|
|
||||||
Open a browser on Grafana at [http://localhost:3000](http://localhost:3000).
|
Open a browser on Grafana at [http://localhost:3000](http://localhost:3000).
|
||||||
@@ -89,7 +89,7 @@ Create a datasource to obtain metrics from Promethesus:
|
|||||||
* Set **Name** to `PromDS` (or whatever name you choose)
|
* Set **Name** to `PromDS` (or whatever name you choose)
|
||||||
* Set **Type** to `Prometheus`
|
* Set **Type** to `Prometheus`
|
||||||
* Set **URL** to `http://prometheus:9090`
|
* Set **URL** to `http://prometheus:9090`
|
||||||
* Set **Access** to `direct`
|
* Set **Access** to `proxy`
|
||||||
* Click **Add** and then **Save and test**
|
* Click **Add** and then **Save and test**
|
||||||
|
|
||||||
Import the example dashboard that displays metrics from the Fn server:
|
Import the example dashboard that displays metrics from the Fn server:
|
||||||
|
|||||||
Reference in New Issue
Block a user