From f3e8e7f6630725730bddab8bf2c4a9bcfa58e5d8 Mon Sep 17 00:00:00 2001 From: Valentin Stavetski Date: Thu, 12 Apr 2018 18:35:11 +0300 Subject: [PATCH] #158 - increase prometheus scrape interval - do not expose ports in range 8080-8083 - fix readme.md --- dev-environment/README.md | 2 -- dev-environment/env-mac.yml | 1 - dev-environment/env.yml | 1 - dev-environment/prometheus.yml | 2 +- 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/dev-environment/README.md b/dev-environment/README.md index 5cddb744..121ad589 100644 --- a/dev-environment/README.md +++ b/dev-environment/README.md @@ -21,8 +21,6 @@ docker cp dev-environment/elassandra-bootstrap.cql elassandra-markets:/elassand docker exec -it elassandra-markets bash cqlsh -f elassandra-bootstrap.cql ``` -Then copy paste all content from elassandra-bootstrap.cql to interactive console and press enter. Write twice exit to - exit from container shell. ### Stop kafka and delete kafka data(cheat sheet) ```bash diff --git a/dev-environment/env-mac.yml b/dev-environment/env-mac.yml index 06782eb1..de04d36e 100644 --- a/dev-environment/env-mac.yml +++ b/dev-environment/env-mac.yml @@ -9,7 +9,6 @@ services: - "9092:9092" - "2181:2181" - "9581-9584:9581-9584" - - "8081-8083:8081-8083" environment: RUNTESTS: 0 SAMPLEDATA: 0 diff --git a/dev-environment/env.yml b/dev-environment/env.yml index 5de2f0fe..a78b0f6b 100644 --- a/dev-environment/env.yml +++ b/dev-environment/env.yml @@ -9,7 +9,6 @@ services: - "9092:9092" - "2181:2181" - "9581-9584:9581-9584" - - "8081-8083:8081-8083" environment: RUNTESTS: 0 SAMPLEDATA: 0 diff --git a/dev-environment/prometheus.yml b/dev-environment/prometheus.yml index efb24044..85477964 100644 --- a/dev-environment/prometheus.yml +++ b/dev-environment/prometheus.yml @@ -1,5 +1,5 @@ global: - scrape_interval: 5s + scrape_interval: 15s scrape_timeout: 5s evaluation_interval: 5s scrape_configs: