Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

junkpiano/sonarqube-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SonarQube Exporter

Go Reference

SonarQube Exporter for Prometheus

Build

export SONAR_URL=https://sonarqube.example.com/
export SONAR_USER=yourusername
export SONAR_PASSWORD=yourpassword

go build -o sonarqube-exporter cmd/main.go
./sonarqube-exporter

Build with Docker

docker build -t my-sonarqube-exporter .
docker run -p 2112:2112 --env-file .env my-sonarqube-exporter 

# If you want to run it in detached mode
docker run -p 2112:2112 --env-file .env -d my-sonarqube-exporter 

Author

Yusuke Ohashi