{"id":16540143,"url":"https://github.com/rickstaa/livepeer-value-redeemed-publisher","last_synced_at":"2026-05-07T23:04:38.773Z","repository":{"id":212040580,"uuid":"730561033","full_name":"rickstaa/livepeer-value-redeemed-publisher","owner":"rickstaa","description":"A small Prometheus publisher that can be used to correct the `livepeer_value_redeemed` metric.","archived":false,"fork":false,"pushed_at":"2023-12-12T08:50:24.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T03:24:20.461Z","etag":null,"topics":["exporter","livepeer","prometheus"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rickstaa.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}},"created_at":"2023-12-12T07:35:09.000Z","updated_at":"2023-12-12T08:53:06.000Z","dependencies_parsed_at":"2024-01-02T11:15:14.202Z","dependency_job_id":null,"html_url":"https://github.com/rickstaa/livepeer-value-redeemed-publisher","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"334f5484a7e1860ca17f04c833263c10f4b49107"},"previous_names":["rickstaa/livepeer-value-redeemed-publisher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rickstaa/livepeer-value-redeemed-publisher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Flivepeer-value-redeemed-publisher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Flivepeer-value-redeemed-publisher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Flivepeer-value-redeemed-publisher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Flivepeer-value-redeemed-publisher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickstaa","download_url":"https://codeload.github.com/rickstaa/livepeer-value-redeemed-publisher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickstaa%2Flivepeer-value-redeemed-publisher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32759448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["exporter","livepeer","prometheus"],"created_at":"2024-10-11T18:51:40.564Z","updated_at":"2026-05-07T23:04:38.748Z","avatar_url":"https://github.com/rickstaa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Livepeer_value_redeemed publisher\n\nA simple Prometheus exporter that can be used to temporarily increment the `livepeer_value_redeemed` vector counter metric with a given value and publish it on http://localhost:7935/metrics. This can be used to correct the `livepeer_value_redeemed` metric due to a bug that was present in the `go-livepeer` binary before [go-livepeer/2916](https://github.com/livepeer/go-livepeer/pull/2916) was merged.\n\n## Usage\n\n### Build\n\n```bash\ngo build\n```\n\n### Run\n\n1. Run the [go-livepeer](https://github.com/livepeer/go-livepeer) binary without the `-monitor` flag.\n2. To increment the metric, Run the `livepeer_value_redeemed` binary with the `-value` and `-node_id` flags. The value should be in wei and represent the error in the `livepeer_value_redeemed` metric.\n\n   ```bash\n   ./livepeer_value_redeemed -value number -node_id string\n   ```\n\n3. Wait for the value to be published.\n4. Stop the `livepeer_value_redeemed` binary.\n5. Start the [go-livepeer](https://github.com/livepeer/go-livepeer) binary with the `-monitor` flag.\n\n\u003e [!NOTE]\\\n\u003e You can also change the `prometheus.yml` to listen for Livepeer metrics on a different port than the default `7935` port and then run the `livepeer_value_redeemed` binary with the `-port` flag.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickstaa%2Flivepeer-value-redeemed-publisher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickstaa%2Flivepeer-value-redeemed-publisher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickstaa%2Flivepeer-value-redeemed-publisher/lists"}