-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Harvest should support multiple poller files to allow refactori…
…ng large `harvest.yml` files
- Loading branch information
Showing
10 changed files
with
291 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
Pollers: | ||
star: | ||
addr: localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Tools: | ||
grafana_api_token: token | ||
|
||
Poller_files: | ||
- testdata/pollerFiles/many/*.yml | ||
- testdata/pollerFiles/single.yml | ||
- testdata/pollerFiles/missing1.yml | ||
- testdata/pollerFiles/missing2.yml | ||
- testdata/pollerFiles/single.yml # will cause duplicate because it is listed twice | ||
- testdata/pollerFiles/dup.yml # will cause duplicate because it contains star again | ||
|
||
Pollers: | ||
star: | ||
addr: localhost | ||
collectors: | ||
- Simple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Pollers: | ||
netapp1: | ||
datacenter: rtp | ||
addr: 1.1.1.1 | ||
netapp2: | ||
datacenter: rtp | ||
addr: 1.1.1.2 | ||
netapp3: | ||
datacenter: rtp | ||
addr: 1.1.1.3 | ||
netapp4: | ||
datacenter: rtp | ||
addr: 1.1.1.4 | ||
|
||
Tools: | ||
grafana_api_token: ignore |
Oops, something went wrong.