Add multiple repository example to github input readme
This commit is contained in:
parent
47a41071df
commit
edb05b58a0
|
@ -10,7 +10,10 @@ alternative method for collecting repository information.
|
||||||
```toml
|
```toml
|
||||||
[[inputs.github]]
|
[[inputs.github]]
|
||||||
## List of repositories to monitor
|
## 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.
|
## Github API access token. Unauthenticated requests are limited to 60 per hour.
|
||||||
# access_token = ""
|
# access_token = ""
|
||||||
|
|
|
@ -33,7 +33,10 @@ type GitHub struct {
|
||||||
|
|
||||||
const sampleConfig = `
|
const sampleConfig = `
|
||||||
## List of repositories to monitor.
|
## 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.
|
## Github API access token. Unauthenticated requests are limited to 60 per hour.
|
||||||
# access_token = ""
|
# access_token = ""
|
||||||
|
|
Loading…
Reference in New Issue