Add multiple repository example to github input readme
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
|
||||
@@ -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 = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user