{"id":15178869,"url":"https://github.com/containersolutions/pactbroker_exporter","last_synced_at":"2025-10-26T17:31:22.700Z","repository":{"id":39975361,"uuid":"199445643","full_name":"ContainerSolutions/pactbroker_exporter","owner":"ContainerSolutions","description":"A Pact Broker metrics exporter for Prometheus","archived":false,"fork":false,"pushed_at":"2023-09-18T04:56:35.000Z","size":13378,"stargazers_count":10,"open_issues_count":2,"forks_count":3,"subscribers_count":29,"default_branch":"main","last_synced_at":"2025-01-31T21:52:46.476Z","etag":null,"topics":["golang","grafana","pact-broker","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","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/ContainerSolutions.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2019-07-29T12:09:13.000Z","updated_at":"2023-08-29T11:33:24.000Z","dependencies_parsed_at":"2024-06-19T04:08:43.480Z","dependency_job_id":"c1832da5-6b09-4880-b15d-af0183def2c3","html_url":"https://github.com/ContainerSolutions/pactbroker_exporter","commit_stats":{"total_commits":33,"total_committers":5,"mean_commits":6.6,"dds":0.5151515151515151,"last_synced_commit":"efd8e3ea3c58ecb09c34ee798270742836e0e483"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fpactbroker_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fpactbroker_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fpactbroker_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fpactbroker_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ContainerSolutions","download_url":"https://codeload.github.com/ContainerSolutions/pactbroker_exporter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238375200,"owners_count":19461568,"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","grafana","pact-broker","prometheus-exporter"],"created_at":"2024-09-27T15:40:47.889Z","updated_at":"2025-10-26T17:31:17.415Z","avatar_url":"https://github.com/ContainerSolutions.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pact Broker Exporter\n\nPrometheus exporter for [Pact Broker](https://github.com/pact-foundation/pact_broker).\n\n[![Docker Pulls](https://img.shields.io/docker/pulls/containersol/pactbroker_exporter.svg)](https://hub.docker.com/r/containersol/pactbroker_exporter/tags)\n\n## Quick Start\n\nThis package is available for Docker:\n\n1. Example Pact Broker setup you can find in [pperzyna/pact-example](https://github.com/pperzyna/pact-example) repository.\n\n2. Run Pact Broker Exporter\n\n```bash\ndocker run --net=host -e PB_EXPORTER_PACTBROKER_URI=\"http://localhost:9292\" containersol/pactbroker_exporter\n```\n\n## Building and running\n\nThe default way to build is:\n\n```bash\ngo get github.com/ContainerSolutions/pactbroker_exporter\ncd ${GOPATH-$HOME/go}/src/github.com/ContainerSolutions/pactbroker_exporter/\ngo build -o pactbroker_exporter\nexport PB_EXPORTER_PACTBROKER_URI=\"http://localhost:9292\"\n./pactbroker_exporter \u003cflags\u003e\n```\n\n### Flags\n\n* `pactbroker.uri`\n  Address of Pact Broker. Default is `http://localhost:9292`.\n\n* `pactbroker.timeout`\n  Timeout request to Pact Broker. Default is `5s`.\n\n* `web.listen-address`\n  Address to listen on for web interface and telemetry. Default is `:9624`.\n\n* `web.telemetry-path`\n  Path under which to expose metrics. Default is `/metrics`.\n\n* `log.level`\n  Set logging level: one of `debug`, `info`, `warn`, `error`, `fatal`\n\n* `log.format`\n  Set the log output target and format. e.g. `logger:syslog?appname=bob\u0026local=7` or `logger:stdout?json=true`\n  Defaults to `logger:stderr`.\n\n### Environment Variables\n\nThe following environment variables configure the exporter:\n\n* `PB_EXPORTER_PACTBROKER_URI`\n  Address of Pact Broker. Default is `http://localhost:9292`.\n\n* `PB_EXPORTER_PACTBROKER_TIMEOUT`\n  Timeout reqeust to Pact Broker. Default is `5s`.\n\n* `PB_EXPORTER_WEB_LISTEN_ADDRESS`\n  Address to listen on for web interface and telemetry. Default is `:9624`.\n\n* `PB_EXPORTER_WEB_TELEMETRY_PATH`\n  Path under which to expose metrics. Default is `/metrics`.\n\nSettings set by environment variables starting with `PB_` will be overwritten by the corresponding CLI flag if given.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainersolutions%2Fpactbroker_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontainersolutions%2Fpactbroker_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainersolutions%2Fpactbroker_exporter/lists"}