-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Plugin configuration | ||
Check notice Code scanning / Remark-lint (reported by Codacy) Warn when a line feed at the end of a file is missing. Note documentation
[final-newline] Missing newline character at end of file
|
||
|
||
This page is under construction. | ||
|
||
## Disable Metrics (since v2.3.0) | ||
Check warning Code scanning / Markdownlint (reported by Codacy) Expected: 1; Actual: 0; Below Warning documentation
Expected: 1; Actual: 0; Below
|
||
Sometimes you don't need all metrics in your prometheus endpoint which this plugin provides. | ||
Check warning Code scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 93 Warning documentation
Expected: 80; Actual: 93
Check warning Code scanning / Markdownlint (reported by Codacy) Expected: 0 or 2; Actual: 1 Warning documentation
Expected: 0 or 2; Actual: 1
|
||
You can disable certain metrics. These metrics are not being collected by the plugin and therefore not added in the | ||
Check warning Code scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 116 Warning documentation
Expected: 80; Actual: 116
Check warning Code scanning / Markdownlint (reported by Codacy) Expected: 0 or 2; Actual: 1 Warning documentation
Expected: 0 or 2; Actual: 1
|
||
prometheus endpoint. | ||
|
||
![img.png](img/disabled_metrics.png) | ||
|
||
### Regex Entry | ||
Check warning Code scanning / Markdownlint (reported by Codacy) Expected: 1; Actual: 0; Below Warning documentation
Expected: 1; Actual: 0; Below
|
||
A Regex entry can be used to disable a group of metrics. E.g. if you want to disable everything with | ||
Check warning Code scanning / Markdownlint (reported by Codacy) Expected: 0 or 2; Actual: 1 Warning documentation
Expected: 0 or 2; Actual: 1
Check warning Code scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 101 Warning documentation
Expected: 80; Actual: 101
|
||
default_jenkins_disk.* | ||
|
||
### Fully qualified Name Entry | ||
Check warning Code scanning / Markdownlint (reported by Codacy) Expected: 1; Actual: 0; Below Warning documentation
Expected: 1; Actual: 0; Below
|
||
If you want to disable certain individual entries you can do it with this entry. The value should be the same | ||
Check warning Code scanning / Markdownlint (reported by Codacy) Expected: 80; Actual: 109 Warning documentation
Expected: 80; Actual: 109
|
||
as you can see it in the prometheus endpoint. It's case-insensitive. | ||
Check warning Code scanning / Markdownlint (reported by Codacy) Files should end with a single newline character Warning documentation
Files should end with a single newline character
Check warning Code scanning / Markdownlint (reported by Codacy) Expected: 0 or 2; Actual: 1 Warning documentation
Expected: 0 or 2; Actual: 1
|