{"id":20126472,"url":"https://github.com/sovereigncloudstack/metering","last_synced_at":"2025-07-29T07:39:16.969Z","repository":{"id":182572373,"uuid":"668218984","full_name":"SovereignCloudStack/metering","owner":"SovereignCloudStack","description":"Metering for the purpose of billing","archived":false,"fork":false,"pushed_at":"2024-10-23T09:09:26.000Z","size":97,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-02T21:16:06.258Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://scs.community/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SovereignCloudStack.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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-19T09:48:39.000Z","updated_at":"2024-05-03T19:27:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"9993effd-0b93-4bf2-b3a2-fb2d1bcf7fad","html_url":"https://github.com/SovereignCloudStack/metering","commit_stats":null,"previous_names":["sovereigncloudstack/metering"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SovereignCloudStack/metering","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SovereignCloudStack%2Fmetering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SovereignCloudStack%2Fmetering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SovereignCloudStack%2Fmetering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SovereignCloudStack%2Fmetering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SovereignCloudStack","download_url":"https://codeload.github.com/SovereignCloudStack/metering/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SovereignCloudStack%2Fmetering/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267647721,"owners_count":24121339,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-13T20:16:15.611Z","updated_at":"2025-07-29T07:39:16.921Z","avatar_url":"https://github.com/SovereignCloudStack.png","language":"Python","readme":"# Metering Sink\n\nThis tool is a proof-of-concept for directly using Ceilometer HTTP/JSON\npublisher data to implement metering for the purposes of billing customers for\nresource usage.\n\nThe motivation is that many cloud service providers these days go beyond just\nIaaS (or IaaS may even just be a means to an end, e.g. for PaaS offerings on\ntop). This generally implies that built-in end-to-end mechanisms in OpenStack\nfor billing may not be adequate or there already exist platforms which handle\nthe billing process which must be integrated into OpenStack.\n\nThe OpenStack Ceilometer project collects resource usage information from event\nand polled data throughout OpenStack. It provides this usage data to a\n\"web hook\" (HTTP publisher) in realtime.\n\nThe tool in this repository uses this data to decompose and process it and\nwrite it into any of the pluggable backends.\n\n**Note:** This tool is in a proof-of-concept stage.\n\nCurrently, two plugins exist:\n\n* The odoo plugin which writes to an Odoo sales-order\n* A simple textfile output for debugging purposes.\n\n## Usage\n\nTo use the api just start it with\n```shell\n$ python -m metersink\n```\n\nFor usage please consult:\n\n```shell\n$ python -m metersink -h\nusage: __main__.py [-h] [--config CONFIG_FILE] [-v]\n\noptions:\n  -h, --help            show this help message and exit\n  --config CONFIG_FILE, -c CONFIG_FILE\n                        The config file to use\n  -v, --verbose         increase output verbosity\n\n```\n\n## Configuration\n\nRefer to `settings_template.conf` for additional documentation on the\nconfiguration. Copy the template and pass the path to the copy via the `-c`\ncommand line flag to use it.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsovereigncloudstack%2Fmetering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsovereigncloudstack%2Fmetering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsovereigncloudstack%2Fmetering/lists"}