diff --git a/plugins/inputs/github/README.md b/plugins/inputs/github/README.md index 7227b167d..65fda0301 100644 --- a/plugins/inputs/github/README.md +++ b/plugins/inputs/github/README.md @@ -10,11 +10,14 @@ alternative method for collecting repository information. ```toml [[inputs.github]] ## List of repositories to monitor - repositories = ["influxdata/telegraf"] + repositories = [ + "influxdata/telegraf", + "influxdata/influxdb" + ] ## Github API access token. Unauthenticated requests are limited to 60 per hour. # access_token = "" - + ## Github API enterprise url. Github Enterprise accounts must specify their base url. # enterprise_base_url = "" diff --git a/plugins/inputs/github/github.go b/plugins/inputs/github/github.go index 5c9682e4a..2f31a7268 100644 --- a/plugins/inputs/github/github.go +++ b/plugins/inputs/github/github.go @@ -33,11 +33,14 @@ type GitHub struct { const sampleConfig = ` ## List of repositories to monitor. - repositories = ["influxdata/telegraf"] + repositories = [ + "influxdata/telegraf", + "influxdata/influxdb" + ] ## Github API access token. Unauthenticated requests are limited to 60 per hour. # access_token = "" - + ## Github API enterprise url. Github Enterprise accounts must specify their base url. # enterprise_base_url = ""