{"id":22363261,"url":"https://github.com/shift/continent8_exporter","last_synced_at":"2025-03-26T15:18:13.573Z","repository":{"id":34875726,"uuid":"146469839","full_name":"shift/continent8_exporter","owner":"shift","description":"Prometheus Exporter for Continent 8's support panel API","archived":false,"fork":false,"pushed_at":"2022-04-06T18:53:09.000Z","size":15,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T16:25:11.765Z","etag":null,"topics":["exporter","prometheus"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shift.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}},"created_at":"2018-08-28T15:39:52.000Z","updated_at":"2022-04-06T18:53:04.000Z","dependencies_parsed_at":"2022-08-08T02:15:23.708Z","dependency_job_id":null,"html_url":"https://github.com/shift/continent8_exporter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shift%2Fcontinent8_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shift%2Fcontinent8_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shift%2Fcontinent8_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shift%2Fcontinent8_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shift","download_url":"https://codeload.github.com/shift/continent8_exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245678901,"owners_count":20654738,"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":["exporter","prometheus"],"created_at":"2024-12-04T17:14:15.648Z","updated_at":"2025-03-26T15:18:13.551Z","avatar_url":"https://github.com/shift.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Continent 8 Prometheus Exporter\n\nThis exporter uses the Continent 8 support portal API to expose bandwidth and environmental metrics.\n\n```bash\nexport C8_USERNAME=company.username\nexport C8_TOKEN=SupportToken\n./continent8_exporter\n```\n\nYour token can be [generated here](https://support.continent8.com/api/token.php).\n\n## Example Output\n\n```\n# HELP bandwidth C8 Bandwidth\n# TYPE bandwidth counter\nbandwidth{datacentre=\"IDCA\",network=\"COMPANY_A35\",rack=\"sid-12669\",time=\"1535119222\",type=\"in\"} 6.34262072016e+12\nbandwidth{datacentre=\"IDCA\",network=\"COMPANY_A35\",rack=\"sid-12669\",time=\"1535119222\",type=\"out\"} 2.9760324199788e+13\nbandwidth{datacentre=\"IDCA\",network=\"total\",rack=\"sid-12669\",time=\"1535119222\",type=\"in\"} 6.34262072016e+12\nbandwidth{datacentre=\"IDCA\",network=\"total\",rack=\"sid-12669\",time=\"1535119222\",type=\"out\"} 2.9760324199788e+13\nbandwidth{datacentre=\"MLT2\",network=\"COMPANY_A7\",rack=\"sid-19125\",time=\"1535119222\",type=\"in\"} 1.14829481699e+11\nbandwidth{datacentre=\"MLT2\",network=\"COMPANY_A7\",rack=\"sid-19125\",time=\"1535119222\",type=\"out\"} 5.0825158356e+10\nbandwidth{datacentre=\"MLT2\",network=\"total\",rack=\"sid-19125\",time=\"1535119222\",type=\"in\"} 1.14829481699e+11\nbandwidth{datacentre=\"MLT2\",network=\"total\",rack=\"sid-19125\",time=\"1535119222\",type=\"out\"} 5.0825158356e+10\nbandwidth{datacentre=\"TWN2\",network=\"COMPANY_A2\",rack=\"sid-15332\",time=\"1535119222\",type=\"in\"} 4.108357128463e+12\nbandwidth{datacentre=\"TWN2\",network=\"COMPANY_A2\",rack=\"sid-15332\",time=\"1535119222\",type=\"out\"} 3.5743970609905e+13\nbandwidth{datacentre=\"TWN2\",network=\"total\",rack=\"sid-15332\",time=\"1535119222\",type=\"in\"} 4.108357128463e+12\nbandwidth{datacentre=\"TWN2\",network=\"total\",rack=\"sid-15332\",time=\"1535119222\",type=\"out\"} 3.5743970609905e+13\n# HELP continent8_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, and goversion from which continent8_exporter was built.\n# TYPE continent8_exporter_build_info gauge\ncontinent8_exporter_build_info{branch=\"\",goversion=\"go1.10.3\",revision=\"\",version=\"\"} 1\n# HELP environment C8 Environment\n# TYPE environment gauge\nenvironment{datacentre=\"IDCA\",rack=\"S-1306\",type=\"humidity\"} 0\nenvironment{datacentre=\"IDCA\",rack=\"S-1306\",type=\"power\"} 2.497\nenvironment{datacentre=\"IDCA\",rack=\"S-1306\",type=\"temperature\"} 20.33\nenvironment{datacentre=\"MLT2\",rack=\"S-1207\",type=\"humidity\"} 0\nenvironment{datacentre=\"MLT2\",rack=\"S-1207\",type=\"power\"} 0.372\nenvironment{datacentre=\"MLT2\",rack=\"S-1207\",type=\"temperature\"} 0\nenvironment{datacentre=\"TWN2\",rack=\"S-1116\",type=\"humidity\"} 0\nenvironment{datacentre=\"TWN2\",rack=\"S-1116\",type=\"power\"} 0.401\nenvironment{datacentre=\"TWN2\",rack=\"S-1116\",type=\"temperature\"} 0\n```\n\nSponsored by [Booming-Games](https://booming-games.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshift%2Fcontinent8_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshift%2Fcontinent8_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshift%2Fcontinent8_exporter/lists"}