From 8e4b29508b47ba0374a03b39e14c138394f96cd9 Mon Sep 17 00:00:00 2001 From: rozetko Date: Thu, 30 Dec 2021 19:13:56 +0300 Subject: [PATCH] minor fixes --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c4e1d1f..50ea159 100644 --- a/README.md +++ b/README.md @@ -23,11 +23,11 @@ Hastic can be configured using config-file or environment variables. At first, choose which datasource you'll be using: `prometheus` or `influx`. Only one can be used at a time. #### Config-file -- copy the config example to the release directory +- copy the config example to the release directory: ```bash cp config.example.toml release/config.toml ``` -- edit the config file, e.g. using `nano` +- edit the config file, e.g. using `nano`: ```bash nano release/config.toml ``` @@ -46,7 +46,7 @@ export HASTIC_PROMETHEUS__URL=http://localhost:9090 export HASTIC_PROMETHEUS__QUERY=rate(go_memstats_alloc_bytes_total[5m]) ``` -or specifing them in a run command (they'll be actual only for one run) +or specifing them in a run command (they'll be actual only for one run): ```bash HASTIC_PORT=8000 HASTIC_PROMETHEUS__URL=http://localhost:9090 HASTIC_PROMETHEUS__QUERY=rate(go_memstats_alloc_bytes_total[5m]) ./release/hastic ```