{"id":20219791,"url":"https://github.com/jamesread/prometheus-gcal-exporter","last_synced_at":"2026-06-25T13:31:37.448Z","repository":{"id":67916053,"uuid":"341986807","full_name":"jamesread/prometheus-gcal-exporter","owner":"jamesread","description":"Checks Google calendar events and turns them into metrics.","archived":false,"fork":false,"pushed_at":"2025-04-16T21:55:10.000Z","size":70,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T14:24:37.280Z","etag":null,"topics":["maturity-prod","prometheus","prometheus-exporter","service"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jamesread.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":"2021-02-24T17:53:12.000Z","updated_at":"2025-05-20T11:44:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"86aa2354-926a-4256-9d49-0c755bf0995f","html_url":"https://github.com/jamesread/prometheus-gcal-exporter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jamesread/prometheus-gcal-exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesread%2Fprometheus-gcal-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesread%2Fprometheus-gcal-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesread%2Fprometheus-gcal-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesread%2Fprometheus-gcal-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesread","download_url":"https://codeload.github.com/jamesread/prometheus-gcal-exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesread%2Fprometheus-gcal-exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34778079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"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":["maturity-prod","prometheus","prometheus-exporter","service"],"created_at":"2024-11-14T06:43:49.604Z","updated_at":"2026-06-25T13:31:37.441Z","avatar_url":"https://github.com/jamesread.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prometheus-gcal-exporter\n\nScrapes Google calendar events, works out what is internal and what is\nexternal, and exposes them as Prometheus Metrics.\n\nThis makes it easy to use from stuff like Grafana, like so; \n\n![Grafana screenshot](grafanaScreenshot.png)\n\n## Installation\n\n```bash\ndocker create --name prometheus-gcal-exporter -p 8080:8080 ghcr.io/jamesread/prometheus-gcal-exporter:1.0.0\n```\n\n## Setup \n\nGet a client_secrets.json file .\n\n1. Go to https://console.developers.google.com/apis/credentials\n2. Setup a OAuth 2.0 Client ID.\n3. Create credentials. You need to setup the app as a \"desktop app\".\n\n## Config\n\nExample /etc/prometheus-gcal-exporter/config.ini:\n\n    clientSecretFile=/opt/client_secret.json\n    updateDelaySeconds=300\n    internalDomain=example.com\n\nThe container will run on port 8080/tcp by default. Metrics are available at\nthe standard /metrics prom endpoint.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesread%2Fprometheus-gcal-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesread%2Fprometheus-gcal-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesread%2Fprometheus-gcal-exporter/lists"}