From a6bd609cf88625cb3163ff8ee323f9f3ed7b5858 Mon Sep 17 00:00:00 2001 From: Maxime De courchelle Date: Fri, 27 Jul 2018 14:51:35 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5131b9e..7649b38 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Prometheus SCW Service Discovery -prometheus-scw-sd retrieves your Scaleway server list and converts to Prometheus targets. +Prometheus SCW Service Discovery converts your Scaleway server list and converts to Prometheus targets. This project is adapted from the official [Consul SD](https://github.com/prometheus/prometheus/tree/master/documentation/examples/custom-sd). @@ -32,7 +32,7 @@ Using servers private IP, custom port and time interval in second: ## Config -prometheus-scw-sd outputs a json file containing targets to scrape. +Prometheus SCW Service Discovery outputs a json file containing targets to scrape. You need to include this file in your `prometheus.yml`. ```yml @@ -45,7 +45,7 @@ scrape_configs: ## Labels -prometheus-scw-sd scrape Scaleway servers tags as labels, as comma separated list of strings. +Prometheus SCW Service Discovery scrapes Scaleway servers tags as labels, as comma separated list of strings. This allows you to use regex substitution for relabelling. We surround the separated list with the separator as well. This way regular expressions in relabeling rules don't have to consider tag positions.