项目作者: freenowtech

项目描述 :
Export metrics of projects in Sonarqube for consumption by Prometheus.
高级语言: Go
项目地址: git://github.com/freenowtech/sonarqube_exporter.git
创建时间: 2018-09-19T06:26:51Z
项目社区:https://github.com/freenowtech/sonarqube_exporter

开源协议:Apache License 2.0

下载


sonarqube_exporter

An exporter of metrics for each project in Sonarqube.

Usage

  1. ./sonarqube_exporter -h
  2. Usage of ./sonarqube_exporter:
  3. -http.address string
  4. Address to listen on (default ":9344")
  5. -http.telemetry-path string
  6. Path under which the exporter exposes its metrics (default "/metrics")
  7. -log.level string
  8. Log level (default "ERROR")
  9. -sonarqube.password string
  10. Password to use for authentication
  11. -sonarqube.project-filter string
  12. Regexp to limit the number of projects to scrape. Applied to the key of each project. (default ".*")
  13. -sonarqube.url string
  14. URL of Sonarqube (default "http://localhost:8080")
  15. -sonarqube.username string
  16. Username to use for authentication

Development

Building

  1. $ go build

Sonarqube API documentation

API docs can be found in the local installation of Sonarqube at http://<sonarqube>/web_api.