{"id":41348895,"url":"https://github.com/hdecarne-github/github-telegraf-plugin","last_synced_at":"2026-01-23T07:15:40.722Z","repository":{"id":53583270,"uuid":"492427241","full_name":"hdecarne-github/github-telegraf-plugin","owner":"hdecarne-github","description":"Simple Telegraf plugin to gather GitHub statistics","archived":false,"fork":false,"pushed_at":"2024-01-14T11:51:26.000Z","size":207,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-06-21T10:58:50.641Z","etag":null,"topics":["github","monitoring","telegraf"],"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/hdecarne-github.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-05-15T08:17:41.000Z","updated_at":"2023-03-15T06:00:44.000Z","dependencies_parsed_at":"2024-06-21T10:09:08.870Z","dependency_job_id":null,"html_url":"https://github.com/hdecarne-github/github-telegraf-plugin","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"3a18e3aa0185591a582ee6140be9cbd7cb484009"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hdecarne-github/github-telegraf-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdecarne-github%2Fgithub-telegraf-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdecarne-github%2Fgithub-telegraf-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdecarne-github%2Fgithub-telegraf-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdecarne-github%2Fgithub-telegraf-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hdecarne-github","download_url":"https://codeload.github.com/hdecarne-github/github-telegraf-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hdecarne-github%2Fgithub-telegraf-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28682704,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T05:48:07.525Z","status":"ssl_error","status_checked_at":"2026-01-23T05:48:07.129Z","response_time":59,"last_error":"SSL_read: 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":["github","monitoring","telegraf"],"created_at":"2026-01-23T07:15:40.034Z","updated_at":"2026-01-23T07:15:40.716Z","avatar_url":"https://github.com/hdecarne-github.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Downloads](https://img.shields.io/github/downloads/hdecarne-github/github-telegraf-plugin/total.svg)](https://github.com/hdecarne-github/github-telegraf-plugin/releases)\n[![Build](https://github.com/hdecarne-github/github-telegraf-plugin/actions/workflows/build.yml/badge.svg)](https://github.com/hdecarne-github/github-telegraf-plugin/actions/workflows/build.yml)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=hdecarne-github_github-telegraf-plugin\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=hdecarne-github_github-telegraf-plugin)\n\n## About github-telegraf-plugin\nThis [Telegraf](https://github.com/influxdata/telegraf) input plugin gathers repository stats from [GitHub](https://github.com/). It uses GitHub's [REST API](https://docs.github.com/en/rest) to retrieve the stats.\n\n### Installation\nTo install the plugin you have to download a suitable [release archive](https://github.com/hdecarne-github/github-telegraf-plugin/releases) and extract it or build it from source by cloning the repository and issueing a simple\n```\nmake\n```\nTo build the plugin, Go version 1.16 or higher is required. The resulting plugin binary will be written to **./build/bin**.\nCopy the either extracted or built plugin binary to a location of your choice (e.g. /usr/local/bin/telegraf/).\n\n### Configuration\nThis is an [external plugin](https://github.com/influxdata/telegraf/blob/master/docs/EXTERNAL_PLUGINS.md) which has to be integrated via Telegraf's [excecd plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/execd).\n\nTo use it you have to create a plugin specific config file (e.g. /etc/telegraf/github.conf) with following template content:\n```toml\n[[inputs.github]]\n  ## The repositories (\u003cowner\u003e/\u003crepo\u003e) to query\n  repos = [\"influxdata/telegraf\"]\n  ## The API base URL to use for API access (empty URL defaults to https://api.github.com/)\n  # api_base_url = \"\"\n  ## The Personal Access Token to use for API access\n  # access_token = \"\"\n  ## The http timeout to use (in seconds)\n  # timeout = 10\n  ## Enable debug output\n  # debug = false\n```\nThe most important setting is the **repos** line. It defines the repositories (\u003cowner\u003e/\u003cname\u003e) to query. At least one repository has to be defined.\n\nTo enable the plugin within your Telegraf instance, add the following section to your **telegraf.conf**\n```toml\n[[inputs.execd]]\n  command = [\"/usr/local/bin/telegraf/github-telegraf-plugin\", \"-config\", \"/etc/telegraf/github.conf\", \"-poll_interval\", \"3600s\"]\n  signal = \"none\"\n```\nMake sure to choose a high poll interval, to not waste your rate limit. As the github stats are low-traffic stats, there is furthermore no need to poll in high frequency mode.\n\n### License\nThis project is subject to the the MIT License.\nSee [LICENSE](./LICENSE) information for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdecarne-github%2Fgithub-telegraf-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhdecarne-github%2Fgithub-telegraf-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhdecarne-github%2Fgithub-telegraf-plugin/lists"}