This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
17 additions
and
9 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
4 changes: 4 additions & 0 deletions
4
...pt/vyatta/share/vyatta-cfg/templates/service/monitoring/node-exporter/log/format/node.def
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
type: txt | ||
help: Output format of log messages. One of: [logfmt, json] (default: logfmt) | ||
val_help: logfmt; Prometheus logging format (default) | ||
val_help: json; JSON | ||
allowed: echo "logfmt json" | ||
syntax:expression: exec "${vyos_libexec_dir}/validate-value --regex \'^(logfmt|json)$\' --value \'$VAR(@)\'"; "Invalid value" |
6 changes: 6 additions & 0 deletions
6
...opt/vyatta/share/vyatta-cfg/templates/service/monitoring/node-exporter/log/level/node.def
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 |
---|---|---|
@@ -1,2 +1,8 @@ | ||
type: txt | ||
help: Only log messages with the given severity or above. One of: [debug, info, warn, error] (default: info) | ||
val_help: debug; Debug | ||
val_help: info; Info (default) | ||
val_help: warn; Warning | ||
val_help: error; Error | ||
allowed: echo "debug info warn error" | ||
syntax:expression: exec "${vyos_libexec_dir}/validate-value --regex \'^(debug|info|warn|error)$\' --value \'$VAR(@)\'"; "Invalid value" |
4 changes: 2 additions & 2 deletions
4
...a/share/vyatta-cfg/templates/service/monitoring/node-exporter/web/telemetry-path/node.def
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
type: txt | ||
help: Path under which to expose metrics. | ||
default: "/metrics" | ||
help: Path under which to expose metrics. (default: "/metrics") | ||
syntax:expression: exec "${vyos_libexec_dir}/validate-value --regex \'^/.*$\' --value \'$VAR(@)\'"; "Invalid value" |