-
Notifications
You must be signed in to change notification settings - Fork 540
pipeline: input: add prometheus textfile plugin doc #2036
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
Conversation
Signed-off-by: Eduardo Silva <[email protected]>
|
|
||
| The plugin expects files to be in the standard Prometheus text exposition format. Here's an example of a valid `.prom` file: | ||
|
|
||
| ``` |
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.
[markdownlint] reported by reviewdog 🐶
MD040/fenced-code-language Fenced code blocks should have a language specified [Context: "```"]
| echo "app_requests_total{status=\"404\"} 23" >> /var/lib/prometheus/textfile/app.prom | ||
| ``` | ||
|
|
||
| ### Batch Job Metrics |
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.
[markdownlint] reported by reviewdog 🐶
MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "### Batch Job Metrics"]
| EOF | ||
| ``` | ||
|
|
||
| ### System Integration |
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.
[markdownlint] reported by reviewdog 🐶
MD022/blanks-around-headings Headings should be surrounded by blank lines [Expected: 1; Actual: 0; Below] [Context: "### System Integration"]
| ``` | ||
|
|
||
| ### Batch Job Metrics | ||
| Cron jobs or batch processes can write completion metrics: |
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.
[markdownlint-fix] reported by reviewdog 🐶
| Cron jobs or batch processes can write completion metrics: | |
| Cron jobs or batch processes can write completion metrics: |
| ``` | ||
|
|
||
| ### System Integration | ||
| External monitoring tools can write metrics that Fluent Bit will collect and forward. |
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.
[markdownlint-fix] reported by reviewdog 🐶
| External monitoring tools can write metrics that Fluent Bit will collect and forward. | |
| External monitoring tools can write metrics that Fluent Bit will collect and forward. |
Signed-off-by: Lynette Miles <[email protected]>
Signed-off-by: Lynette Miles <[email protected]>
Signed-off-by: Lynette Miles <[email protected]> Signed-off-by: Tom <[email protected]>
Signed-off-by: Lynette Miles <[email protected]> Signed-off-by: Tom <[email protected]>
No description provided.