{"id":37107830,"url":"https://github.com/pdok/betterstack-exporter","last_synced_at":"2026-01-14T12:57:03.166Z","repository":{"id":295038573,"uuid":"988864108","full_name":"PDOK/betterstack-exporter","owner":"PDOK","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-23T08:51:37.000Z","size":8782,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-23T10:10:26.493Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/PDOK.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-23T07:33:34.000Z","updated_at":"2025-05-23T08:51:41.000Z","dependencies_parsed_at":"2025-05-23T10:10:42.778Z","dependency_job_id":"21a907dd-555f-4b27-8808-78ff2d1e3f6d","html_url":"https://github.com/PDOK/betterstack-exporter","commit_stats":null,"previous_names":["pdok/betterstack-exporter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PDOK/betterstack-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDOK%2Fbetterstack-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDOK%2Fbetterstack-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDOK%2Fbetterstack-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDOK%2Fbetterstack-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PDOK","download_url":"https://codeload.github.com/PDOK/betterstack-exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PDOK%2Fbetterstack-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420814,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"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":[],"created_at":"2026-01-14T12:57:02.340Z","updated_at":"2026-01-14T12:57:03.158Z","avatar_url":"https://github.com/PDOK.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Better Stack exporter\n\n[![Build](https://github.com/PDOK/betterstack-exporter/actions/workflows/build-and-publish-image.yaml/badge.svg)](https://github.com/PDOK/betterstack-exporter/actions/workflows/build-and-publish-image.yaml)\n[![Lint (go)](https://github.com/PDOK/betterstack-exporter/actions/workflows/lint-go.yml/badge.svg)](https://github.com/PDOK/betterstack-exporter/actions/workflows/lint-go.yml)\n[![Go Report Card](https://goreportcard.com/badge/github.com/PDOK/betterstack-exporter)](https://goreportcard.com/report/github.com/PDOK/betterstack-exporter)\n[![Coverage (go)](https://github.com/PDOK/betterstack-exporter/wiki/coverage.svg)](https://raw.githack.com/wiki/PDOK/betterstack-exporter/coverage.html)\n[![GitHub license](https://img.shields.io/github/license/PDOK/betterstack-exporter)](https://github.com/PDOK/betterstack-exporter/blob/master/LICENSE)\n[![Docker Pulls](https://img.shields.io/docker/pulls/pdok/betterstack-exporter.svg)](https://hub.docker.com/r/pdok/betterstack-exporter)\n\nThis Prometheus exporter exposes statistics about [Better Stack uptime monitoring](https://betterstack.com/uptime).\nThis data is collected and exposed as a Prometheus metrics endpoint. The goal is to expose stats regarding the status of each configured uptime monitor.\n\n## Example metrics output\n\n```text\n# HELP betterstack_monitor_status The current status of the check (0: down, 1: maintenance, 2: up, 3: paused, 4: pending, 5: validating)\n# TYPE betterstack_monitor_status gauge\nbetterstack_monitor_status{id=\"1\",pronounceable_name=\"Homepage\",url=\"https://example.com/\"} 2\nbetterstack_monitor_status{id=\"2\",pronounceable_name=\"API v2\",url=\"https://example.com/api/v2\"} 2\n# ...\n```\n\n## Build\n\n```shell\ndocker build .\n```\n\n## Run\n\n```text\nUSAGE:\n   betterstack-exporter [global options] command [command options] \n\nCOMMANDS:\n   help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --api-token value        The API token to authenticate with Better Stack. [$API_TOKEN]\n   --bind-address value     The TCP network address addr that is listened on. (default: \":8080\") [$BIND_ADDRESS]\n   --page-size value        The number of monitors to request per page (max 250). (default: 50) [$PAGE_SIZE]\n   --help, -h               show help\n```\n\n### Linting\n\nInstall [golangci-lint](https://golangci-lint.run/usage/install/) and run `golangci-lint run`\nfrom the root.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdok%2Fbetterstack-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdok%2Fbetterstack-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdok%2Fbetterstack-exporter/lists"}