Add multiple repository example to github input readme

This commit is contained in:
Daniel Nelson 2019-08-19 19:08:38 -07:00
parent 47a41071df
commit edb05b58a0
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
2 changed files with 10 additions and 4 deletions

View File

@ -10,7 +10,10 @@ 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 = ""

View File

@ -33,7 +33,10 @@ 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 = ""