From 322e85ca08111a8f499cbc8743c94a4186b685a1 Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Wed, 4 Dec 2019 09:30:16 -0500 Subject: [PATCH] Fix README headings, removed prometheus self monitor --- README.md | 8 ++++---- docker/prometheus/config.yml | 6 ------ 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 33127c0..3fa219a 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ $GOPATH/bin/zcashd_exporter --help ## Getting Started With docker-compose -#### Create zcashd direcotries +### Create zcashd direcotries Decide where you want to store (or refence existing ) zcashd data. @@ -30,7 +30,7 @@ sudo chown -R 2001 /srv/zcashd/.zcash sudo chown -R 2001 /srv/zcashd/.zcash-params ``` -#### Create .env from .env.exmaple +### Create .env from .env.exmaple ``` cp .env.exmaple .env @@ -38,7 +38,7 @@ cp .env.exmaple .env Edit `.env` if you have any specific changes. -#### Start docker-compose +### Start docker-compose Start with ``` @@ -80,4 +80,4 @@ http://localhost:9090/graph Start typing and metric names will auto-suggest -![Prometheus Metrics](docs/images/prometheus_metrics.png) \ No newline at end of file +![Prometheus Metrics](docs/images/prometheus_metrics.png) diff --git a/docker/prometheus/config.yml b/docker/prometheus/config.yml index 31338ac..58bb8ae 100644 --- a/docker/prometheus/config.yml +++ b/docker/prometheus/config.yml @@ -19,12 +19,6 @@ rule_files: # A scrape configuration containing exactly one endpoint to scrape: # Here it's Prometheus itself. scrape_configs: - # The job name is added as a label `job=` to any timeseries scraped from this config. - - job_name: 'prometheus' - # metrics_path defaults to '/metrics' - # scheme defaults to 'http'. - static_configs: - - targets: ['localhost:9090'] - job_name: 'zcashd_exporter' static_configs: - targets: ['zcashd_exporter:9100']