-
Notifications
You must be signed in to change notification settings - Fork 487
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
[Flow] Add new discovery.file component #4404
Conversation
…'discovery.file2'
# discovery.file | ||
|
||
> **NOTE:** In `v0.35.0` of the Grafana Agent, the `discovery.file` component was renamed to [local.file_match][]. From `v0.35.0` onwards, the `discovery.file` | ||
> component behaves as documented here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe specify here briefly what local.file_match does, and why they may want to go there instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me. I'd say wait for @clayton-cornell to weigh in on docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR Description
Adds the new
discovery.file
component, which implements Prometheus file-based SD.Note that there is a banner added to the new
discovery.file
reference docs. Let me know if the wording should be changed or it should be moved elsewhere.Closes #3346
PR Checklist