{"id":19169839,"url":"https://github.com/xh4n3/unet_exporter","last_synced_at":"2025-10-13T23:36:47.132Z","repository":{"id":91363281,"uuid":"74580057","full_name":"xh4n3/unet_exporter","owner":"xh4n3","description":"Prometheus exporter for unet","archived":false,"fork":false,"pushed_at":"2017-04-27T09:02:09.000Z","size":1474,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T23:43:30.645Z","etag":null,"topics":["automation","bandwidth","prometheus-exporter"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xh4n3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-11-23T13:37:16.000Z","updated_at":"2021-11-09T10:40:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd6238e8-bc70-41ff-bd6a-f16bb84e1c0d","html_url":"https://github.com/xh4n3/unet_exporter","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xh4n3%2Funet_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xh4n3%2Funet_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xh4n3%2Funet_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xh4n3%2Funet_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xh4n3","download_url":"https://codeload.github.com/xh4n3/unet_exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240250353,"owners_count":19771778,"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":["automation","bandwidth","prometheus-exporter"],"created_at":"2024-11-09T09:51:26.372Z","updated_at":"2025-10-13T23:36:47.022Z","avatar_url":"https://github.com/xh4n3.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unet_exporter\nPrometheus Exporter for UCloud ShareBandwidth Package\n\n### Dockerfile Usage\n```\nFROM xh4n3/unet_exporter\nCOPY config.yml config.yml\n```\n\n### Passing PRIVATE_KEY and PUBLIC_KEY via env\n\nPass PUBLIC_KEY and PUBLIC_KEY by `-e`, which will overrides keys in config file.\n\n### Prometheus\n```\nALERT ShareBandwidthTooHigh\n  IF 100 * total_bandwidth_usage / current_bandwidth \u003c 85\n  FOR 3m\n  ANNOTATIONS {\n    summary = \"ShareBandwidthTooHigh {{$labels.instance}} {{$labels.shareBandwidth}}\",\n    description = \"{{$labels.instance}} - {{$labels.shareBandwidth}} will decrease bandwidth.\",\n  }\n\nALERT ShareBandwidthTooLow\n  IF total_bandwidth_usage \u003e current_bandwidth\n  FOR 3m\n  ANNOTATIONS {\n    summary = \"ShareBandwidthTooLow {{$labels.shareBandwidth}} {{$labels.instance}}\",\n    description = \"{{$labels.instance}} - {{$labels.shareBandwidth}} will increase bandwidth.\",\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxh4n3%2Funet_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxh4n3%2Funet_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxh4n3%2Funet_exporter/lists"}