Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Harvest should load templates from a set of conf directories #2329

Merged
merged 3 commits into from
Sep 4, 2023

Conversation

cgrinds
Copy link
Collaborator

@cgrinds cgrinds commented Aug 25, 2023

  • Add documentation
  • Docker Changes

@cla-bot cla-bot bot added the cla-signed label Aug 25, 2023
@cgrinds cgrinds linked an issue Aug 25, 2023 that may be closed by this pull request
2 tasks
cmd/poller/options/options.go Outdated Show resolved Hide resolved
cmd/collectors/rest/rest_test.go Show resolved Hide resolved
}
template, err := collector.ImportTemplate(confParent, "custom.yaml", flavor)
for _, confDir := range confPaths {
dir, err := os.ReadDir(confDir)
if err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continue if error?

@rahulguptajss rahulguptajss merged commit f81e16f into main Sep 4, 2023
9 checks passed
@rahulguptajss rahulguptajss deleted the cbg-conf-path branch September 4, 2023 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Harvest should load templates from a set of conf directories
2 participants