Sonar-Metrics is an exporter to get metrics of the SonarQube server on Prometheus format.
811
Sonar-Metrics is an exporter to get metrics of the SonarQube server on Prometheus format.
$ docker run -it --rm \
--name sonar-metrics \
-p 9119:9119 \
--net sonarqube_default \
-e SONAR_SERVER="http://sonarqube:9000" \
-e SONAR_USERNAME="username" \
-e SONAR_PASSWORD="password" \
-e METRICS_PORT=9119 \
gafda/sonar-metrics
| Key | Default Value | Description |
|---|---|---|
| SONAR_SERVER | http://sonarqube:9000 | URI to the SonarQube server |
| SONAR_USERNAME | username | Valid SonarAdministrator username |
| SONAR_PASSWORD | password | Password of the valid SonarAdministrator |
| METRICS_PORT | 9119 | Port of this container where metrics will be exposed |
Metrics will be accessible in:
http://localhost:9119
or
http://localhost:9119/metrics
Content type
Image
Digest
Size
21.7 MB
Last updated
over 4 years ago
docker pull gafda/sonar-metrics