{"id":22664676,"url":"https://github.com/whyeasy/sonarcloud-exporter","last_synced_at":"2025-04-12T08:32:58.760Z","repository":{"id":57708338,"uuid":"272685309","full_name":"Whyeasy/sonarcloud-exporter","owner":"Whyeasy","description":"A Prometheus Exporter for SonarCloud","archived":false,"fork":false,"pushed_at":"2023-02-11T19:44:47.000Z","size":38,"stargazers_count":4,"open_issues_count":2,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-26T03:41:31.416Z","etag":null,"topics":["golang","observability","prometheus","prometheus-exporter","sonarcloud"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Whyeasy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-16T11:05:15.000Z","updated_at":"2023-09-12T05:10:53.000Z","dependencies_parsed_at":"2024-06-19T06:14:05.254Z","dependency_job_id":"c0cf657e-e06d-47ce-a3cb-8c30b7334efc","html_url":"https://github.com/Whyeasy/sonarcloud-exporter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whyeasy%2Fsonarcloud-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whyeasy%2Fsonarcloud-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whyeasy%2Fsonarcloud-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whyeasy%2Fsonarcloud-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Whyeasy","download_url":"https://codeload.github.com/Whyeasy/sonarcloud-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248540384,"owners_count":21121350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","observability","prometheus","prometheus-exporter","sonarcloud"],"created_at":"2024-12-09T13:16:21.373Z","updated_at":"2025-04-12T08:32:58.742Z","avatar_url":"https://github.com/Whyeasy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![build](https://github.com/Whyeasy/sonarcloud-exporter/workflows/build/badge.svg)\n![status-badge](https://goreportcard.com/badge/github.com/Whyeasy/sonarcloud-exporter)\n![Github go.mod Go version](https://img.shields.io/github/go-mod/go-version/Whyeasy/sonarcloud-exporter)\n\n# sonarcloud-exporter\n\nA Prometheus Exporter for SonarCloud\n\nCurrently this exporter retrieves the following metrics:\n\n- Project info within a given organization.\n- Lines of Code within a project.\n- Code Coverage of a project.\n- Amount of bugs within a project.\n- Amount of Code smells within a project.\n- Amount of vulnerabilities within a project.\n\n## Requirements\n\n### Required\n\nProvide your SonarCloud organization; `--organization \u003cstring\u003e` or as env variable `SC_ORGANIZATION`.\n\nProvide a SonarCloud Access Token to access the API; `--scToken \u003cstring\u003e` or as env variable `SC_TOKEN`.\n\n### Optional\n\nChange listening port of the exporter; `--listenAddress \u003cstring\u003e` or as env variable `LISTEN_ADDRESS`. Default = `8080`\n\nChange listening path of the exporter; `--listenPath \u003cstring\u003e` or as env variable `LISTEN_PATH`. Default = `/metrics`\n\n## Helm\n\nYou can find a helm chart to install the exporter [here](https://github.com/Whyeasy/helm-charts/tree/master/charts/sonarcloud-exporter).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhyeasy%2Fsonarcloud-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhyeasy%2Fsonarcloud-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhyeasy%2Fsonarcloud-exporter/lists"}