diff --git a/.gitignore b/.gitignore index baf4452f..7b943f1d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ config.yaml config.yml sql_exporter +*.tar.gz diff --git a/README.md b/README.md index 4e573c0c..1ac7751d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Prometheus SQL Exporter [![Build Status](https://travis-ci.org/justwatchcom/sql_exporter.svg?branch=master)](https://travis-ci.org/justwatchcom/sql_exporter) -[![Docker Pulls](https://img.shields.io/docker/pulls/justwatch/sql_exporter.svg?maxAge=604800)](https://hub.docker.com/r/justwatchcom/sql_exporter) +[![Docker Pulls](https://img.shields.io/docker/pulls/justwatch/sql_exporter.svg?maxAge=604800)](https://hub.docker.com/r/justwatch/sql_exporter) [![Go Report Card](https://goreportcard.com/badge/github.com/justwatchcom/sql_exporter)](https://goreportcard.com/report/github.com/justwatchcom/sql_exporter) This repository contains an service that runs user-defined SQL queries at flexible intervals and exports the resulting metrics via HTTP for Prometheus consumption. @@ -29,7 +29,7 @@ cp config.yml.dist config.yml Running in Docker: ``` -docker run -v `pwd`/config.yml:/config/config.yml -e CONFIG=/config/config.yml -d -p 9237:9237 --name sql_exporter justwatchcom/sql_exporter +docker run -v `pwd`/config.yml:/config/config.yml -e CONFIG=/config/config.yml -d -p 9237:9237 --name sql_exporter justwatch/sql_exporter ``` Manual `scrape_configs` snippet: